1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxObject swig_types[83]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPanel swig_types[91]
2558 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2559 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2560 #define SWIGTYPE_p_wxPoint swig_types[94]
2561 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2562 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2565 #define SWIGTYPE_p_wxPrintData swig_types[99]
2566 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2569 #define SWIGTYPE_p_wxPrinter swig_types[103]
2570 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPyApp swig_types[105]
2572 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2575 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2577 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2578 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2580 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2582 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2585 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2586 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2588 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2589 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2590 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2591 #define SWIGTYPE_p_wxRect swig_types[125]
2592 #define SWIGTYPE_p_wxRegion swig_types[126]
2593 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2595 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2596 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2597 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxString swig_types[147]
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2620 #define SWIGTYPE_p_wxToolBar swig_types[154]
2621 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2623 #define SWIGTYPE_p_wxValidator swig_types[157]
2624 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2625 #define SWIGTYPE_p_wxWindow swig_types[159]
2626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629 static swig_type_info
*swig_types
[164];
2630 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2631 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634 /* -------- TYPES TABLE (END) -------- */
2636 #if (PY_VERSION_HEX <= 0x02000000)
2637 # if !defined(SWIG_PYTHON_CLASSIC)
2638 # error "This python version requires to use swig with the '-classic' option"
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodern' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 /*-----------------------------------------------
2652 @(target):= _windows_.so
2653 ------------------------------------------------*/
2654 #define SWIG_init init_windows_
2656 #define SWIG_name "_windows_"
2658 #define SWIGVERSION 0x010329
2661 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665 #include <stdexcept>
2669 class PyObject_ptr
{
2674 PyObject_ptr() :_obj(0)
2678 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2683 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2685 if (initial_ref
) Py_XINCREF(_obj
);
2688 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2690 Py_XINCREF(item
._obj
);
2701 operator PyObject
*() const
2706 PyObject
*operator->() const
2715 struct PyObject_var
: PyObject_ptr
{
2716 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2718 PyObject_var
& operator = (PyObject
* obj
)
2728 #include "wx/wxPython/wxPython.h"
2729 #include "wx/wxPython/pyclasses.h"
2732 static const wxString
wxPyEmptyString(wxEmptyString
);
2733 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2739 # define LLONG_MIN LONG_LONG_MIN
2742 # define LLONG_MAX LONG_LONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2750 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2752 if (PyNumber_Check(obj
)) {
2753 if (val
) *val
= PyInt_AsLong(obj
);
2756 return SWIG_TypeError
;
2761 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2764 int res
= SWIG_AsVal_long (obj
, &v
);
2765 if (SWIG_IsOK(res
)) {
2766 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2767 return SWIG_OverflowError
;
2769 if (val
) *val
= static_cast< int >(v
);
2777 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2779 if (obj
== Py_True
) {
2780 if (val
) *val
= true;
2782 } else if (obj
== Py_False
) {
2783 if (val
) *val
= false;
2787 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2788 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2794 #define SWIG_From_long PyInt_FromLong
2797 SWIGINTERNINLINE PyObject
*
2798 SWIG_From_int (int value
)
2800 return SWIG_From_long (value
);
2805 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2807 if (PyNumber_Check(obj
)) {
2808 if (val
) *val
= PyFloat_AsDouble(obj
);
2811 return SWIG_TypeError
;
2815 #define SWIG_From_double PyFloat_FromDouble
2817 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2818 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2819 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2820 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2821 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2822 int style
= self
->GetExtraStyle();
2824 style
|= wxFRAME_EX_METAL
;
2826 style
&= ~wxFRAME_EX_METAL
;
2827 self
->SetExtraStyle(style
);
2831 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2833 self
->GetFieldRect(i
, r
);
2836 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2840 #include <wx/popupwin.h>
2843 class wxPopupWindow
: public wxWindow
{
2845 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2846 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2849 class wxPyPopupTransientWindow
: public wxPopupWindow
2852 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2853 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2857 #include <wx/tipwin.h>
2859 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2860 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2863 #include <wx/tipwin.h>
2866 #include <wx/vscroll.h>
2869 class wxPyVScrolledWindow
: public wxVScrolledWindow
2871 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2873 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2875 wxPyVScrolledWindow(wxWindow
*parent
,
2876 wxWindowID id
= wxID_ANY
,
2877 const wxPoint
& pos
= wxDefaultPosition
,
2878 const wxSize
& size
= wxDefaultSize
,
2880 const wxString
& name
= wxPyPanelNameStr
)
2881 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2884 // Overridable virtuals
2886 // this function must be overridden in the derived class and it should
2887 // return the height of the given line in pixels
2888 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2891 // this function doesn't have to be overridden but it may be useful to do
2892 // it if calculating the lines heights is a relatively expensive operation
2893 // as it gives the user code a possibility to calculate several of them at
2896 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2897 // shouldn't rely on the latter being called for all lines in the interval
2898 // specified here. It is also possible that OnGetLineHeight() will be
2899 // called for the lines outside of this interval, so this is really just a
2900 // hint, not a promise.
2902 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2904 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2907 // when the number of lines changes, we try to estimate the total height
2908 // of all lines which is a rather expensive operation in terms of lines
2909 // access, so if the user code may estimate the average height
2910 // better/faster than we do, it should override this function to implement
2913 // this function should return the best guess for the total height it may
2915 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2918 // Also expose some other interesting protected methods
2921 // find the index of the line we need to show at the top of the window such
2922 // that the last (fully or partially) visible line is the given one
2923 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2924 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2926 // get the total height of the lines between lineMin (inclusive) and
2927 // lineMax (exclusive)
2928 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2929 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2931 // update the thumb size shown by the scrollbar
2932 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2934 // remove the scrollbar completely because we don't need it
2935 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2940 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2942 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2943 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2944 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2948 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2951 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2952 return SWIG_TypeError
;
2955 *val
= (unsigned long)v
;
2960 SWIGINTERNINLINE
int
2961 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2964 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2965 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2970 SWIGINTERNINLINE PyObject
*
2971 SWIG_From_unsigned_SS_long (unsigned long value
)
2973 return (value
> LONG_MAX
) ?
2974 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2978 SWIGINTERNINLINE PyObject
*
2979 SWIG_From_size_t (size_t value
)
2981 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2985 #include <wx/vlbox.h>
2987 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2989 class wxPyVListBox
: public wxVListBox
2991 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2993 wxPyVListBox() : wxVListBox() {}
2995 wxPyVListBox(wxWindow
*parent
,
2996 wxWindowID id
= wxID_ANY
,
2997 const wxPoint
& pos
= wxDefaultPosition
,
2998 const wxSize
& size
= wxDefaultSize
,
3000 const wxString
& name
= wxPyVListBoxNameStr
)
3001 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3004 // Overridable virtuals
3006 // the derived class must implement this function to actually draw the item
3007 // with the given index on the provided DC
3008 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3009 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3012 // the derived class must implement this method to return the height of the
3014 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3015 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3018 // this method may be used to draw separators between the lines; note that
3019 // the rectangle may be modified, typically to deflate it a bit before
3020 // passing to OnDrawItem()
3022 // the base class version doesn't do anything
3023 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3024 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3027 // this method is used to draw the items background and, maybe, a border
3030 // the base class version implements a reasonable default behaviour which
3031 // consists in drawing the selected item with the standard background
3032 // colour and drawing a border around the item if it is either selected or
3034 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3035 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3041 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3043 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3044 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3045 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3046 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3049 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3050 unsigned long cookie
= 0;
3051 int selected
= self
->GetFirstSelected(cookie
);
3052 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3053 PyObject
* tup
= PyTuple_New(2);
3054 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3055 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3056 wxPyEndBlockThreads(blocked
);
3059 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3060 int selected
= self
->GetNextSelected(cookie
);
3061 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3062 PyObject
* tup
= PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3064 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3065 wxPyEndBlockThreads(blocked
);
3069 #include <wx/htmllbox.h>
3072 class wxPyHtmlListBox
: public wxHtmlListBox
3074 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3076 wxPyHtmlListBox() : wxHtmlListBox() {}
3078 wxPyHtmlListBox(wxWindow
*parent
,
3079 wxWindowID id
= wxID_ANY
,
3080 const wxPoint
& pos
= wxDefaultPosition
,
3081 const wxSize
& size
= wxDefaultSize
,
3083 const wxString
& name
= wxPyVListBoxNameStr
)
3084 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3087 // Overridable virtuals
3089 // this method must be implemented in the derived class and should return
3090 // the body (i.e. without <html>) of the HTML for the given item
3091 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3093 // this function may be overridden to decorate HTML returned by OnGetItem()
3094 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3096 // These are from wxVListBox
3097 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3098 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3101 // // this method allows to customize the selection appearance: it may be used
3102 // // to specify the colour of the text which normally has the given colour
3103 // // colFg when it is inside the selection
3105 // // by default, the original colour is not used at all and all text has the
3106 // // same (default for this system) colour inside selection
3107 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3109 // // this is the same as GetSelectedTextColour() but allows to customize the
3110 // // background colour -- this is even more rarely used as you can change it
3111 // // globally using SetSelectionBackground()
3112 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3115 // This method may be overriden to handle clicking on a link in
3116 // the listbox. By default, clicking links is ignored.
3117 virtual void OnLinkClicked(size_t n
,
3118 const wxHtmlLinkInfo
& link
);
3124 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3126 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3127 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3128 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3129 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3132 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3133 const wxHtmlLinkInfo
& link
) {
3135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3136 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3137 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3138 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3141 wxPyEndBlockThreads(blocked
);
3143 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3150 #ifndef wxHAS_TASK_BAR_ICON
3151 // implement dummy classes for platforms that don't have it
3153 class wxTaskBarIcon
: public wxEvtHandler
3156 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3160 class wxTaskBarIconEvent
: public wxEvent
3163 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3164 { wxPyRaiseNotImplemented(); }
3165 virtual wxEvent
* Clone() const { return NULL
; }
3166 bool IsOk() const { return false; }
3167 bool IsIconInstalled() const { return false; }
3168 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3169 bool RemoveIcon() { return false; }
3170 bool PopupMenu(wxMenu
*menu
) { return false; }
3174 wxEVT_TASKBAR_MOVE
= 0,
3175 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3176 wxEVT_TASKBAR_LEFT_UP
= 0,
3177 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3178 wxEVT_TASKBAR_RIGHT_UP
= 0,
3179 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3180 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3185 // Otherwise make a class that can virtualize CreatePopupMenu
3186 class wxPyTaskBarIcon
: public wxTaskBarIcon
3188 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3190 wxPyTaskBarIcon() : wxTaskBarIcon()
3193 wxMenu
* CreatePopupMenu() {
3194 wxMenu
*rval
= NULL
;
3196 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3197 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3200 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3202 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3207 wxPyEndBlockThreads(blocked
);
3209 rval
= wxTaskBarIcon::CreatePopupMenu();
3216 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3220 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3224 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3225 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3226 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3227 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3228 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3229 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3231 // for compatibility only
3232 #define wxHIDE_READONLY 0
3234 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3236 self
->GetFilenames(arr
);
3237 return wxArrayString2PyList_helper(arr
);
3239 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3241 self
->GetPaths(arr
);
3242 return wxArrayString2PyList_helper(arr
);
3244 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3245 return wxArrayInt2PyList_helper(self
->GetSelections());
3247 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
){
3248 return new wxSingleChoiceDialog(parent
, message
, caption
,
3249 choices
, choices_array
, NULL
, style
, pos
);
3251 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3253 SWIGINTERNINLINE PyObject
*
3254 SWIG_From_bool (bool value
)
3256 return PyBool_FromLong(value
? 1 : 0);
3262 // C++ version of Python aware wxWindow
3263 class wxPyWindow
: public wxWindow
3265 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3267 wxPyWindow() : wxWindow() {}
3268 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3269 const wxPoint
& pos
= wxDefaultPosition
,
3270 const wxSize
& size
= wxDefaultSize
,
3272 const wxString
& name
= wxPyPanelNameStr
)
3273 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3275 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3277 bool DoEraseBackground(wxDC
* dc
) {
3279 return wxWindow::DoEraseBackground(dc
->GetHDC());
3281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3299 DEC_PYCALLBACK__(InitDialog
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3302 DEC_PYCALLBACK_BOOL_(Validate
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3323 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3335 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3342 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3347 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3352 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3354 // C++ version of Python aware wxPanel
3355 class wxPyPanel
: public wxPanel
3357 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3359 wxPyPanel() : wxPanel() {}
3360 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3361 const wxPoint
& pos
= wxDefaultPosition
,
3362 const wxSize
& size
= wxDefaultSize
,
3364 const wxString
& name
= wxPyPanelNameStr
)
3365 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3367 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3368 bool DoEraseBackground(wxDC
* dc
) {
3370 return wxWindow::DoEraseBackground(dc
->GetHDC());
3372 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3391 DEC_PYCALLBACK__(InitDialog
);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3394 DEC_PYCALLBACK_BOOL_(Validate
);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3427 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3444 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow
: public wxScrolledWindow
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3453 const wxPoint
& pos
= wxDefaultPosition
,
3454 const wxSize
& size
= wxDefaultSize
,
3456 const wxString
& name
= wxPyPanelNameStr
)
3457 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3459 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3460 bool DoEraseBackground(wxDC
* dc
) {
3462 return wxWindow::DoEraseBackground(dc
->GetHDC());
3464 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3471 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3482 DEC_PYCALLBACK__(InitDialog
);
3483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3485 DEC_PYCALLBACK_BOOL_(Validate
);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3489 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3499 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3518 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3538 #include "wx/wxPython/printfw.h"
3541 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3542 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3543 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3545 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3546 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3547 self
->GetPrivDataLen());
3548 wxPyEndBlockThreads(blocked
);
3551 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3552 if (! PyString_Check(data
)) {
3553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3554 "Expected string object"));
3558 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3559 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3560 wxPyEndBlockThreads(blocked
);
3564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3566 // Since this one would be tough and ugly to do with the Macros...
3567 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3568 bool hadErr
= false;
3571 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3572 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3573 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3574 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3577 val
= PyTuple_GetItem(result
, 0);
3578 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3581 val
= PyTuple_GetItem(result
, 1);
3582 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3585 val
= PyTuple_GetItem(result
, 2);
3586 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3589 val
= PyTuple_GetItem(result
, 3);
3590 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3597 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3602 wxPyEndBlockThreads(blocked
);
3604 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3631 PyObject* win = wxPyMake_wxObject(a,false); \
3632 PyObject* dc = wxPyMake_wxObject(&b,false); \
3633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3637 wxPyEndBlockThreads(blocked); \
3639 rval = PCLASS::CBNAME(a, b); \
3646 class wxPyPrintPreview
: public wxPrintPreview
3648 DECLARE_CLASS(wxPyPrintPreview
)
3650 wxPyPrintPreview(wxPyPrintout
* printout
,
3651 wxPyPrintout
* printoutForPrinting
,
3652 wxPrintDialogData
* data
=NULL
)
3653 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3655 wxPyPrintPreview(wxPyPrintout
* printout
,
3656 wxPyPrintout
* printoutForPrinting
,
3658 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3664 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3665 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3666 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3667 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3672 // Stupid renamed classes... Fix this in 2.5...
3673 #if defined(__WXMSW__)
3674 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3675 #elif defined(__WXMAC__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3690 class wxPyPreviewFrame
: public wxPreviewFrame
3692 DECLARE_CLASS(wxPyPreviewFrame
)
3694 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3695 const wxString
& title
,
3696 const wxPoint
& pos
= wxDefaultPosition
,
3697 const wxSize
& size
= wxDefaultSize
,
3698 long style
= wxDEFAULT_FRAME_STYLE
,
3699 const wxString
& name
= wxPyFrameNameStr
)
3700 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3703 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3704 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3706 DEC_PYCALLBACK_VOID_(Initialize
);
3707 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3708 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3713 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3720 class wxPyPreviewControlBar
: public wxPreviewControlBar
3722 DECLARE_CLASS(wxPyPreviewControlBar
)
3724 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3727 const wxPoint
& pos
= wxDefaultPosition
,
3728 const wxSize
& size
= wxDefaultSize
,
3730 const wxString
& name
= wxPyPanelNameStr
)
3731 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3734 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3736 DEC_PYCALLBACK_VOID_(CreateButtons
);
3737 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3742 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3749 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
= 0;
3751 wxWindow
*arg1
= (wxWindow
*) 0 ;
3752 int arg2
= (int) (int)-1 ;
3753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3757 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3758 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3760 wxPanel
*result
= 0 ;
3769 bool temp6
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 char * kwnames
[] = {
3777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3782 if (!SWIG_IsOK(res1
)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3788 if (!SWIG_IsOK(ecode2
)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 arg2
= static_cast< int >(val2
);
3796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3806 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3807 if (!SWIG_IsOK(ecode5
)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 arg5
= static_cast< long >(val5
);
3814 arg6
= wxString_in_helper(obj5
);
3815 if (arg6
== NULL
) SWIG_fail
;
3820 if (!wxPyCheckForApp()) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3841 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3842 PyObject
*resultobj
= 0;
3843 wxPanel
*result
= 0 ;
3845 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3847 if (!wxPyCheckForApp()) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (wxPanel
*)new wxPanel();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3860 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
= 0;
3862 wxPanel
*arg1
= (wxPanel
*) 0 ;
3863 wxWindow
*arg2
= (wxWindow
*) 0 ;
3864 int arg3
= (int) (int)-1 ;
3865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3869 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3870 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3883 bool temp7
= false ;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3886 PyObject
* obj2
= 0 ;
3887 PyObject
* obj3
= 0 ;
3888 PyObject
* obj4
= 0 ;
3889 PyObject
* obj5
= 0 ;
3890 PyObject
* obj6
= 0 ;
3891 char * kwnames
[] = {
3892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3897 if (!SWIG_IsOK(res1
)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3902 if (!SWIG_IsOK(res2
)) {
3903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3908 if (!SWIG_IsOK(ecode3
)) {
3909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 arg3
= static_cast< int >(val3
);
3916 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3922 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3926 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3927 if (!SWIG_IsOK(ecode6
)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 arg6
= static_cast< long >(val6
);
3934 arg7
= wxString_in_helper(obj6
);
3935 if (arg7
== NULL
) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3962 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3963 PyObject
*resultobj
= 0;
3964 wxPanel
*arg1
= (wxPanel
*) 0 ;
3967 PyObject
*swig_obj
[1] ;
3969 if (!args
) SWIG_fail
;
3971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3972 if (!SWIG_IsOK(res1
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->SetFocusIgnoringChildren();
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_Py_Void();
3989 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
= 0;
3991 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3992 SwigValueWrapper
<wxVisualAttributes
> result
;
3995 PyObject
* obj0
= 0 ;
3996 char * kwnames
[] = {
3997 (char *) "variant", NULL
4000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4003 if (!SWIG_IsOK(ecode1
)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 arg1
= static_cast< wxWindowVariant
>(val1
);
4009 if (!wxPyCheckForApp()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4022 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4026 return SWIG_Py_Void();
4029 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4030 return SWIG_Python_InitShadowInstance(args
);
4033 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
= 0;
4035 wxWindow
*arg1
= (wxWindow
*) 0 ;
4036 int arg2
= (int) (int)-1 ;
4037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4041 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4042 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4043 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4044 wxScrolledWindow
*result
= 0 ;
4053 bool temp6
= false ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj2
= 0 ;
4057 PyObject
* obj3
= 0 ;
4058 PyObject
* obj4
= 0 ;
4059 PyObject
* obj5
= 0 ;
4060 char * kwnames
[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4066 if (!SWIG_IsOK(res1
)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4072 if (!SWIG_IsOK(ecode2
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 arg2
= static_cast< int >(val2
);
4080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4086 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4090 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4091 if (!SWIG_IsOK(ecode5
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 arg5
= static_cast< long >(val5
);
4098 arg6
= wxString_in_helper(obj5
);
4099 if (arg6
== NULL
) SWIG_fail
;
4104 if (!wxPyCheckForApp()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4125 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxScrolledWindow
*result
= 0 ;
4129 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4131 if (!wxPyCheckForApp()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4144 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
= 0;
4146 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4147 wxWindow
*arg2
= (wxWindow
*) 0 ;
4148 int arg3
= (int) (int)-1 ;
4149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4153 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4154 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4167 bool temp7
= false ;
4168 PyObject
* obj0
= 0 ;
4169 PyObject
* obj1
= 0 ;
4170 PyObject
* obj2
= 0 ;
4171 PyObject
* obj3
= 0 ;
4172 PyObject
* obj4
= 0 ;
4173 PyObject
* obj5
= 0 ;
4174 PyObject
* obj6
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4186 if (!SWIG_IsOK(res2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4192 if (!SWIG_IsOK(ecode3
)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 arg3
= static_cast< int >(val3
);
4200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4210 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4211 if (!SWIG_IsOK(ecode6
)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 arg6
= static_cast< long >(val6
);
4218 arg7
= wxString_in_helper(obj6
);
4219 if (arg7
== NULL
) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
= 0;
4248 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4253 int arg6
= (int) 0 ;
4254 int arg7
= (int) 0 ;
4255 bool arg8
= (bool) false ;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4274 PyObject
* obj2
= 0 ;
4275 PyObject
* obj3
= 0 ;
4276 PyObject
* obj4
= 0 ;
4277 PyObject
* obj5
= 0 ;
4278 PyObject
* obj6
= 0 ;
4279 PyObject
* obj7
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4291 if (!SWIG_IsOK(ecode2
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 arg2
= static_cast< int >(val2
);
4295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4296 if (!SWIG_IsOK(ecode3
)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 arg3
= static_cast< int >(val3
);
4300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4301 if (!SWIG_IsOK(ecode4
)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 arg4
= static_cast< int >(val4
);
4305 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4306 if (!SWIG_IsOK(ecode5
)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 arg5
= static_cast< int >(val5
);
4311 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4312 if (!SWIG_IsOK(ecode6
)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 arg6
= static_cast< int >(val6
);
4318 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4319 if (!SWIG_IsOK(ecode7
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 arg7
= static_cast< int >(val7
);
4325 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4326 if (!SWIG_IsOK(ecode8
)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 arg8
= static_cast< bool >(val8
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4357 PyObject
* obj2
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "x",(char *) "y", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4369 if (!SWIG_IsOK(ecode2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 arg2
= static_cast< int >(val2
);
4373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4374 if (!SWIG_IsOK(ecode3
)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 arg3
= static_cast< int >(val3
);
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 (arg1
)->Scroll(arg2
,arg3
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= SWIG_Py_Void();
4391 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
= 0;
4393 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 char * kwnames
[] = {
4403 (char *) "self",(char *) "orient", NULL
4406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4413 if (!SWIG_IsOK(ecode2
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 arg2
= static_cast< int >(val2
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int(static_cast< int >(result
));
4430 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
= 0;
4432 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj2
= 0 ;
4444 char * kwnames
[] = {
4445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4450 if (!SWIG_IsOK(res1
)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4455 if (!SWIG_IsOK(ecode2
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4458 arg2
= static_cast< int >(val2
);
4459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4460 if (!SWIG_IsOK(ecode3
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 arg3
= static_cast< int >(val3
);
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_Py_Void();
4477 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
= 0;
4479 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4490 PyObject
* obj2
= 0 ;
4491 char * kwnames
[] = {
4492 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4497 if (!SWIG_IsOK(res1
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4502 if (!SWIG_IsOK(ecode2
)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 arg2
= static_cast< int >(val2
);
4506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4507 if (!SWIG_IsOK(ecode3
)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 arg3
= static_cast< int >(val3
);
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 (arg1
)->SetScrollRate(arg2
,arg3
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_Py_Void();
4524 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4525 PyObject
*resultobj
= 0;
4526 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4527 int *arg2
= (int *) 0 ;
4528 int *arg3
= (int *) 0 ;
4532 int res2
= SWIG_TMPOBJ
;
4534 int res3
= SWIG_TMPOBJ
;
4535 PyObject
*swig_obj
[1] ;
4539 if (!args
) SWIG_fail
;
4541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4542 if (!SWIG_IsOK(res1
)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_Py_Void();
4553 if (SWIG_IsTmpObj(res2
)) {
4554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4556 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4559 if (SWIG_IsTmpObj(res3
)) {
4560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4562 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4571 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
= 0;
4573 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4584 PyObject
* obj2
= 0 ;
4585 char * kwnames
[] = {
4586 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4591 if (!SWIG_IsOK(res1
)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4595 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4596 if (!SWIG_IsOK(ecode2
)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 arg2
= static_cast< bool >(val2
);
4600 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4601 if (!SWIG_IsOK(ecode3
)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 arg3
= static_cast< bool >(val3
);
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 (arg1
)->EnableScrolling(arg2
,arg3
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_Py_Void();
4618 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4619 PyObject
*resultobj
= 0;
4620 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4621 int *arg2
= (int *) 0 ;
4622 int *arg3
= (int *) 0 ;
4626 int res2
= SWIG_TMPOBJ
;
4628 int res3
= SWIG_TMPOBJ
;
4629 PyObject
*swig_obj
[1] ;
4633 if (!args
) SWIG_fail
;
4635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4636 if (!SWIG_IsOK(res1
)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= SWIG_Py_Void();
4647 if (SWIG_IsTmpObj(res2
)) {
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4650 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4653 if (SWIG_IsTmpObj(res3
)) {
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4665 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4689 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4690 if (!SWIG_IsOK(ecode2
)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 arg2
= static_cast< double >(val2
);
4694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4695 if (!SWIG_IsOK(ecode3
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 arg3
= static_cast< double >(val3
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->SetScale(arg2
,arg3
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_Py_Void();
4712 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4714 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_From_double(static_cast< double >(result
));
4740 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4742 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4746 PyObject
*swig_obj
[1] ;
4748 if (!args
) SWIG_fail
;
4750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4751 if (!SWIG_IsOK(res1
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_double(static_cast< double >(result
));
4768 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4769 PyObject
*resultobj
= 0;
4770 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4777 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4779 if (!SWIG_IsOK(res1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4785 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4800 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4801 PyObject
*resultobj
= 0;
4802 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4805 int *arg4
= (int *) 0 ;
4806 int *arg5
= (int *) 0 ;
4814 int res4
= SWIG_TMPOBJ
;
4816 int res5
= SWIG_TMPOBJ
;
4820 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4826 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4827 if (!SWIG_IsOK(ecode2
)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 arg2
= static_cast< int >(val2
);
4831 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4832 if (!SWIG_IsOK(ecode3
)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 arg3
= static_cast< int >(val3
);
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_Py_Void();
4843 if (SWIG_IsTmpObj(res4
)) {
4844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4846 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4849 if (SWIG_IsTmpObj(res5
)) {
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4852 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4861 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4868 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4875 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4880 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4881 PyObject
*resultobj
= 0;
4882 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4889 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4891 if (!SWIG_IsOK(res1
)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4897 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4912 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4913 PyObject
*resultobj
= 0;
4914 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4917 int *arg4
= (int *) 0 ;
4918 int *arg5
= (int *) 0 ;
4926 int res4
= SWIG_TMPOBJ
;
4928 int res5
= SWIG_TMPOBJ
;
4932 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4934 if (!SWIG_IsOK(res1
)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4938 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4939 if (!SWIG_IsOK(ecode2
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 arg2
= static_cast< int >(val2
);
4943 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4944 if (!SWIG_IsOK(ecode3
)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 arg3
= static_cast< int >(val3
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_Py_Void();
4955 if (SWIG_IsTmpObj(res4
)) {
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4958 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4961 if (SWIG_IsTmpObj(res5
)) {
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4964 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4973 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4977 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4980 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4987 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4992 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 (arg1
)->AdjustScrollbars();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_Py_Void();
5019 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
= 0;
5021 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5022 wxScrollWinEvent
*arg2
= 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 char * kwnames
[] = {
5031 (char *) "self",(char *) "event", NULL
5034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5036 if (!SWIG_IsOK(res1
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5041 if (!SWIG_IsOK(res2
)) {
5042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_From_int(static_cast< int >(result
));
5061 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5064 wxWindow
*arg2
= (wxWindow
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5071 char * kwnames
[] = {
5072 (char *) "self",(char *) "target", NULL
5075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5077 if (!SWIG_IsOK(res1
)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5082 if (!SWIG_IsOK(res2
)) {
5083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 (arg1
)->SetTargetWindow(arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_Py_Void();
5099 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5100 PyObject
*resultobj
= 0;
5101 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5102 wxWindow
*result
= 0 ;
5105 PyObject
*swig_obj
[1] ;
5107 if (!args
) SWIG_fail
;
5109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5110 if (!SWIG_IsOK(res1
)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= wxPyMake_wxObject(result
, 0);
5129 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
= 0;
5131 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 char * kwnames
[] = {
5139 (char *) "self",(char *) "rect", NULL
5142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_Py_Void();
5165 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5166 PyObject
*resultobj
= 0;
5167 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5171 PyObject
*swig_obj
[1] ;
5173 if (!args
) SWIG_fail
;
5175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5176 if (!SWIG_IsOK(res1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5179 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5193 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
= 0;
5195 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5203 char * kwnames
[] = {
5204 (char *) "self",(char *) "dc", NULL
5207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5209 if (!SWIG_IsOK(res1
)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5212 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5214 if (!SWIG_IsOK(res2
)) {
5215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5220 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 (arg1
)->DoPrepareDC(*arg2
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= SWIG_Py_Void();
5234 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
= 0;
5236 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5237 SwigValueWrapper
<wxVisualAttributes
> result
;
5240 PyObject
* obj0
= 0 ;
5241 char * kwnames
[] = {
5242 (char *) "variant", NULL
5245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5248 if (!SWIG_IsOK(ecode1
)) {
5249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5251 arg1
= static_cast< wxWindowVariant
>(val1
);
5254 if (!wxPyCheckForApp()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5267 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5270 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5271 return SWIG_Py_Void();
5274 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5275 return SWIG_Python_InitShadowInstance(args
);
5278 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5279 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5284 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5285 PyObject
*pyobj
= 0;
5289 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5291 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5298 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5299 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5304 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5305 PyObject
*pyobj
= 0;
5309 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5311 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5318 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5319 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5324 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5325 PyObject
*pyobj
= 0;
5329 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5331 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5338 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5339 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5344 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5345 PyObject
*pyobj
= 0;
5349 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5351 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5358 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
= 0;
5360 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5361 bool arg2
= (bool) true ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5368 char * kwnames
[] = {
5369 (char *) "self",(char *) "maximize", NULL
5372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5374 if (!SWIG_IsOK(res1
)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5377 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5379 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5380 if (!SWIG_IsOK(ecode2
)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5383 arg2
= static_cast< bool >(val2
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->Maximize(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_Py_Void();
5398 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5399 PyObject
*resultobj
= 0;
5400 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5403 PyObject
*swig_obj
[1] ;
5405 if (!args
) SWIG_fail
;
5407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5408 if (!SWIG_IsOK(res1
)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5411 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_Py_Void();
5425 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5427 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5428 bool arg2
= (bool) true ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "self",(char *) "iconize", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5441 if (!SWIG_IsOK(res1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5444 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5447 if (!SWIG_IsOK(ecode2
)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5450 arg2
= static_cast< bool >(val2
);
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->Iconize(arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 resultobj
= SWIG_Py_Void();
5465 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5466 PyObject
*resultobj
= 0;
5467 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5471 PyObject
*swig_obj
[1] ;
5473 if (!args
) SWIG_fail
;
5475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5476 if (!SWIG_IsOK(res1
)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5479 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5495 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5496 PyObject
*resultobj
= 0;
5497 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5501 PyObject
*swig_obj
[1] ;
5503 if (!args
) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5509 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5525 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5526 PyObject
*resultobj
= 0;
5527 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5531 PyObject
*swig_obj
[1] ;
5533 if (!args
) SWIG_fail
;
5535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5536 if (!SWIG_IsOK(res1
)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5539 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5555 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5556 PyObject
*resultobj
= 0;
5557 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5561 PyObject
*swig_obj
[1] ;
5563 if (!args
) SWIG_fail
;
5565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5566 if (!SWIG_IsOK(res1
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5569 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5583 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
= 0;
5585 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5593 char * kwnames
[] = {
5594 (char *) "self",(char *) "icon", NULL
5597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5599 if (!SWIG_IsOK(res1
)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5602 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5604 if (!SWIG_IsOK(res2
)) {
5605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5610 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_Py_Void();
5624 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
= 0;
5626 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5627 wxIconBundle
*arg2
= 0 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5634 char * kwnames
[] = {
5635 (char *) "self",(char *) "icons", NULL
5638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5640 if (!SWIG_IsOK(res1
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5643 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5645 if (!SWIG_IsOK(res2
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5651 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_Py_Void();
5665 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
= 0;
5667 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5669 long arg3
= (long) wxFULLSCREEN_ALL
;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 PyObject
* obj2
= 0 ;
5680 char * kwnames
[] = {
5681 (char *) "self",(char *) "show",(char *) "style", NULL
5684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5690 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5691 if (!SWIG_IsOK(ecode2
)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5694 arg2
= static_cast< bool >(val2
);
5696 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5697 if (!SWIG_IsOK(ecode3
)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5700 arg3
= static_cast< long >(val3
);
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5717 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5718 PyObject
*resultobj
= 0;
5719 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5723 PyObject
*swig_obj
[1] ;
5725 if (!args
) SWIG_fail
;
5727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5728 if (!SWIG_IsOK(res1
)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5747 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
= 0;
5749 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5750 wxString
*arg2
= 0 ;
5753 bool temp2
= false ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5756 char * kwnames
[] = {
5757 (char *) "self",(char *) "title", NULL
5760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5762 if (!SWIG_IsOK(res1
)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5765 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5767 arg2
= wxString_in_helper(obj1
);
5768 if (arg2
== NULL
) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 (arg1
)->SetTitle((wxString
const &)*arg2
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= SWIG_Py_Void();
5792 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5793 PyObject
*resultobj
= 0;
5794 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5798 PyObject
*swig_obj
[1] ;
5800 if (!args
) SWIG_fail
;
5802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5803 if (!SWIG_IsOK(res1
)) {
5804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5806 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5826 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
= 0;
5828 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5829 wxRegion
*arg2
= 0 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 char * kwnames
[] = {
5838 (char *) "self",(char *) "region", NULL
5841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5846 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5848 if (!SWIG_IsOK(res2
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5854 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5870 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5872 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5873 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 char * kwnames
[] = {
5881 (char *) "self",(char *) "flags", NULL
5884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5889 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5892 if (!SWIG_IsOK(ecode2
)) {
5893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5895 arg2
= static_cast< int >(val2
);
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 (arg1
)->RequestUserAttention(arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= SWIG_Py_Void();
5910 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5911 PyObject
*resultobj
= 0;
5912 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5916 PyObject
*swig_obj
[1] ;
5918 if (!args
) SWIG_fail
;
5920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5921 if (!SWIG_IsOK(res1
)) {
5922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5924 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (bool)(arg1
)->IsActive();
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5940 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
= 0;
5942 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5950 char * kwnames
[] = {
5951 (char *) "self",(char *) "on", NULL
5954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5956 if (!SWIG_IsOK(res1
)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5959 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5960 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5961 if (!SWIG_IsOK(ecode2
)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5964 arg2
= static_cast< bool >(val2
);
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= SWIG_Py_Void();
5978 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5979 PyObject
*resultobj
= 0;
5980 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5984 PyObject
*swig_obj
[1] ;
5986 if (!args
) SWIG_fail
;
5988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5989 if (!SWIG_IsOK(res1
)) {
5990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5992 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6008 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
= 0;
6010 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6011 int arg2
= (int) wxBOTH
;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 char * kwnames
[] = {
6019 (char *) "self",(char *) "dir", NULL
6022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6024 if (!SWIG_IsOK(res1
)) {
6025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6027 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6030 if (!SWIG_IsOK(ecode2
)) {
6031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6033 arg2
= static_cast< int >(val2
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 (arg1
)->CenterOnScreen(arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_Py_Void();
6048 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6051 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6052 return SWIG_Py_Void();
6055 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
= 0;
6057 wxWindow
*arg1
= (wxWindow
*) 0 ;
6058 int arg2
= (int) (int)-1 ;
6059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6065 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6066 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6067 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6068 wxFrame
*result
= 0 ;
6073 bool temp3
= false ;
6078 bool temp7
= false ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6081 PyObject
* obj2
= 0 ;
6082 PyObject
* obj3
= 0 ;
6083 PyObject
* obj4
= 0 ;
6084 PyObject
* obj5
= 0 ;
6085 PyObject
* obj6
= 0 ;
6086 char * kwnames
[] = {
6087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6092 if (!SWIG_IsOK(res1
)) {
6093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6098 if (!SWIG_IsOK(ecode2
)) {
6099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6101 arg2
= static_cast< int >(val2
);
6105 arg3
= wxString_in_helper(obj2
);
6106 if (arg3
== NULL
) SWIG_fail
;
6113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6123 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6124 if (!SWIG_IsOK(ecode6
)) {
6125 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6127 arg6
= static_cast< long >(val6
);
6131 arg7
= wxString_in_helper(obj6
);
6132 if (arg7
== NULL
) SWIG_fail
;
6137 if (!wxPyCheckForApp()) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6166 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6167 PyObject
*resultobj
= 0;
6168 wxFrame
*result
= 0 ;
6170 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6172 if (!wxPyCheckForApp()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (wxFrame
*)new wxFrame();
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6185 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
= 0;
6187 wxFrame
*arg1
= (wxFrame
*) 0 ;
6188 wxWindow
*arg2
= (wxWindow
*) 0 ;
6189 int arg3
= (int) (int)-1 ;
6190 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6191 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6192 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6193 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6194 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6195 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6196 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6197 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6198 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6206 bool temp4
= false ;
6211 bool temp8
= false ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6214 PyObject
* obj2
= 0 ;
6215 PyObject
* obj3
= 0 ;
6216 PyObject
* obj4
= 0 ;
6217 PyObject
* obj5
= 0 ;
6218 PyObject
* obj6
= 0 ;
6219 PyObject
* obj7
= 0 ;
6220 char * kwnames
[] = {
6221 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6226 if (!SWIG_IsOK(res1
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6229 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6231 if (!SWIG_IsOK(res2
)) {
6232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6237 if (!SWIG_IsOK(ecode3
)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6240 arg3
= static_cast< int >(val3
);
6244 arg4
= wxString_in_helper(obj3
);
6245 if (arg4
== NULL
) SWIG_fail
;
6252 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6258 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6262 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6263 if (!SWIG_IsOK(ecode7
)) {
6264 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6266 arg7
= static_cast< long >(val7
);
6270 arg8
= wxString_in_helper(obj7
);
6271 if (arg8
== NULL
) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6306 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6307 PyObject
*resultobj
= 0;
6308 wxFrame
*arg1
= (wxFrame
*) 0 ;
6311 PyObject
*swig_obj
[1] ;
6313 if (!args
) SWIG_fail
;
6315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6316 if (!SWIG_IsOK(res1
)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6319 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 (arg1
)->SendSizeEvent();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_Py_Void();
6333 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
= 0;
6335 wxFrame
*arg1
= (wxFrame
*) 0 ;
6336 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 char * kwnames
[] = {
6344 (char *) "self",(char *) "menubar", NULL
6347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6349 if (!SWIG_IsOK(res1
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6352 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6354 if (!SWIG_IsOK(res2
)) {
6355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6357 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 (arg1
)->SetMenuBar(arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= SWIG_Py_Void();
6371 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6372 PyObject
*resultobj
= 0;
6373 wxFrame
*arg1
= (wxFrame
*) 0 ;
6374 wxMenuBar
*result
= 0 ;
6377 PyObject
*swig_obj
[1] ;
6379 if (!args
) SWIG_fail
;
6381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6382 if (!SWIG_IsOK(res1
)) {
6383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6385 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= wxPyMake_wxObject(result
, 0);
6401 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxFrame
*arg1
= (wxFrame
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6412 char * kwnames
[] = {
6413 (char *) "self",(char *) "winid", NULL
6416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6418 if (!SWIG_IsOK(res1
)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6421 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6423 if (!SWIG_IsOK(ecode2
)) {
6424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6426 arg2
= static_cast< int >(val2
);
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6442 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
= 0;
6444 wxFrame
*arg1
= (wxFrame
*) 0 ;
6445 int arg2
= (int) 1 ;
6446 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6447 int arg4
= (int) 0 ;
6448 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6449 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6450 wxStatusBar
*result
= 0 ;
6459 bool temp5
= false ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6463 PyObject
* obj3
= 0 ;
6464 PyObject
* obj4
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6474 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6477 if (!SWIG_IsOK(ecode2
)) {
6478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6480 arg2
= static_cast< int >(val2
);
6483 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6484 if (!SWIG_IsOK(ecode3
)) {
6485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6487 arg3
= static_cast< long >(val3
);
6490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6491 if (!SWIG_IsOK(ecode4
)) {
6492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6494 arg4
= static_cast< int >(val4
);
6498 arg5
= wxString_in_helper(obj4
);
6499 if (arg5
== NULL
) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6526 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6527 PyObject
*resultobj
= 0;
6528 wxFrame
*arg1
= (wxFrame
*) 0 ;
6529 wxStatusBar
*result
= 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6540 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6556 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
= 0;
6558 wxFrame
*arg1
= (wxFrame
*) 0 ;
6559 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6566 char * kwnames
[] = {
6567 (char *) "self",(char *) "statBar", NULL
6570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6575 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6577 if (!SWIG_IsOK(res2
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6580 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 (arg1
)->SetStatusBar(arg2
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= SWIG_Py_Void();
6594 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
= 0;
6596 wxFrame
*arg1
= (wxFrame
*) 0 ;
6597 wxString
*arg2
= 0 ;
6598 int arg3
= (int) 0 ;
6601 bool temp2
= false ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6606 PyObject
* obj2
= 0 ;
6607 char * kwnames
[] = {
6608 (char *) "self",(char *) "text",(char *) "number", NULL
6611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6613 if (!SWIG_IsOK(res1
)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6616 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6618 arg2
= wxString_in_helper(obj1
);
6619 if (arg2
== NULL
) SWIG_fail
;
6623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6624 if (!SWIG_IsOK(ecode3
)) {
6625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6627 arg3
= static_cast< int >(val3
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= SWIG_Py_Void();
6650 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxFrame
*arg1
= (wxFrame
*) 0 ;
6654 int *arg3
= (int *) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 char * kwnames
[] = {
6660 (char *) "self",(char *) "widths", NULL
6663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6668 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6670 arg2
= PyList_Size(obj1
);
6671 arg3
= int_LIST_helper(obj1
);
6672 if (arg3
== NULL
) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_Py_Void();
6682 if (arg3
) delete [] arg3
;
6687 if (arg3
) delete [] arg3
;
6693 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
= 0;
6695 wxFrame
*arg1
= (wxFrame
*) 0 ;
6696 wxString
*arg2
= 0 ;
6697 int arg3
= (int) 0 ;
6700 bool temp2
= false ;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6705 PyObject
* obj2
= 0 ;
6706 char * kwnames
[] = {
6707 (char *) "self",(char *) "text",(char *) "number", NULL
6710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6712 if (!SWIG_IsOK(res1
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6715 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6717 arg2
= wxString_in_helper(obj1
);
6718 if (arg2
== NULL
) SWIG_fail
;
6722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6723 if (!SWIG_IsOK(ecode3
)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6726 arg3
= static_cast< int >(val3
);
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_Py_Void();
6749 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
= 0;
6751 wxFrame
*arg1
= (wxFrame
*) 0 ;
6752 int arg2
= (int) 0 ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6759 char * kwnames
[] = {
6760 (char *) "self",(char *) "number", NULL
6763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6765 if (!SWIG_IsOK(res1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6768 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6771 if (!SWIG_IsOK(ecode2
)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6774 arg2
= static_cast< int >(val2
);
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 (arg1
)->PopStatusText(arg2
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_Py_Void();
6789 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
= 0;
6791 wxFrame
*arg1
= (wxFrame
*) 0 ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6799 char * kwnames
[] = {
6800 (char *) "self",(char *) "n", NULL
6803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6805 if (!SWIG_IsOK(res1
)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6808 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6810 if (!SWIG_IsOK(ecode2
)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6813 arg2
= static_cast< int >(val2
);
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetStatusBarPane(arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_Py_Void();
6827 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6828 PyObject
*resultobj
= 0;
6829 wxFrame
*arg1
= (wxFrame
*) 0 ;
6833 PyObject
*swig_obj
[1] ;
6835 if (!args
) SWIG_fail
;
6837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6838 if (!SWIG_IsOK(res1
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6841 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_From_int(static_cast< int >(result
));
6855 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= 0;
6857 wxFrame
*arg1
= (wxFrame
*) 0 ;
6858 long arg2
= (long) -1 ;
6859 int arg3
= (int) -1 ;
6860 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6861 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6862 wxToolBar
*result
= 0 ;
6869 bool temp4
= false ;
6870 PyObject
* obj0
= 0 ;
6871 PyObject
* obj1
= 0 ;
6872 PyObject
* obj2
= 0 ;
6873 PyObject
* obj3
= 0 ;
6874 char * kwnames
[] = {
6875 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6880 if (!SWIG_IsOK(res1
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6883 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6886 if (!SWIG_IsOK(ecode2
)) {
6887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6889 arg2
= static_cast< long >(val2
);
6892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6893 if (!SWIG_IsOK(ecode3
)) {
6894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6896 arg3
= static_cast< int >(val3
);
6900 arg4
= wxString_in_helper(obj3
);
6901 if (arg4
== NULL
) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6928 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6929 PyObject
*resultobj
= 0;
6930 wxFrame
*arg1
= (wxFrame
*) 0 ;
6931 wxToolBar
*result
= 0 ;
6934 PyObject
*swig_obj
[1] ;
6936 if (!args
) SWIG_fail
;
6938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6939 if (!SWIG_IsOK(res1
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6942 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6958 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
= 0;
6960 wxFrame
*arg1
= (wxFrame
*) 0 ;
6961 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6968 char * kwnames
[] = {
6969 (char *) "self",(char *) "toolbar", NULL
6972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6974 if (!SWIG_IsOK(res1
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6977 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6979 if (!SWIG_IsOK(res2
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6982 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 (arg1
)->SetToolBar(arg2
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_Py_Void();
6996 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
= 0;
6998 wxFrame
*arg1
= (wxFrame
*) 0 ;
6999 wxString
*arg2
= 0 ;
7003 bool temp2
= false ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 PyObject
* obj2
= 0 ;
7009 char * kwnames
[] = {
7010 (char *) "self",(char *) "text",(char *) "show", NULL
7013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7015 if (!SWIG_IsOK(res1
)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7018 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7020 arg2
= wxString_in_helper(obj1
);
7021 if (arg2
== NULL
) SWIG_fail
;
7024 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7025 if (!SWIG_IsOK(ecode3
)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7028 arg3
= static_cast< bool >(val3
);
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_Py_Void();
7050 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
= 0;
7052 wxFrame
*arg1
= (wxFrame
*) 0 ;
7053 wxMenu
*arg2
= (wxMenu
*) NULL
;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7060 char * kwnames
[] = {
7061 (char *) "self",(char *) "menu", NULL
7064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7069 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7072 if (!SWIG_IsOK(res2
)) {
7073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7075 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->DoMenuUpdates(arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_Py_Void();
7090 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
= 0;
7092 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7093 SwigValueWrapper
<wxVisualAttributes
> result
;
7096 PyObject
* obj0
= 0 ;
7097 char * kwnames
[] = {
7098 (char *) "variant", NULL
7101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7103 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7104 if (!SWIG_IsOK(ecode1
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7107 arg1
= static_cast< wxWindowVariant
>(val1
);
7110 if (!wxPyCheckForApp()) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7123 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7126 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7127 return SWIG_Py_Void();
7130 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7131 return SWIG_Python_InitShadowInstance(args
);
7134 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
= 0;
7136 wxWindow
*arg1
= (wxWindow
*) 0 ;
7137 int arg2
= (int) (int)-1 ;
7138 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7139 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7144 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7145 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7147 wxDialog
*result
= 0 ;
7152 bool temp3
= false ;
7157 bool temp7
= false ;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7160 PyObject
* obj2
= 0 ;
7161 PyObject
* obj3
= 0 ;
7162 PyObject
* obj4
= 0 ;
7163 PyObject
* obj5
= 0 ;
7164 PyObject
* obj6
= 0 ;
7165 char * kwnames
[] = {
7166 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7171 if (!SWIG_IsOK(res1
)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7177 if (!SWIG_IsOK(ecode2
)) {
7178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7180 arg2
= static_cast< int >(val2
);
7184 arg3
= wxString_in_helper(obj2
);
7185 if (arg3
== NULL
) SWIG_fail
;
7192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7202 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7203 if (!SWIG_IsOK(ecode6
)) {
7204 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7206 arg6
= static_cast< long >(val6
);
7210 arg7
= wxString_in_helper(obj6
);
7211 if (arg7
== NULL
) SWIG_fail
;
7216 if (!wxPyCheckForApp()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7245 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7246 PyObject
*resultobj
= 0;
7247 wxDialog
*result
= 0 ;
7249 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7251 if (!wxPyCheckForApp()) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 result
= (wxDialog
*)new wxDialog();
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7264 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
= 0;
7266 wxDialog
*arg1
= (wxDialog
*) 0 ;
7267 wxWindow
*arg2
= (wxWindow
*) 0 ;
7268 int arg3
= (int) (int)-1 ;
7269 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7270 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7271 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7272 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7273 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7274 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7275 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7276 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7285 bool temp4
= false ;
7290 bool temp8
= false ;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7293 PyObject
* obj2
= 0 ;
7294 PyObject
* obj3
= 0 ;
7295 PyObject
* obj4
= 0 ;
7296 PyObject
* obj5
= 0 ;
7297 PyObject
* obj6
= 0 ;
7298 PyObject
* obj7
= 0 ;
7299 char * kwnames
[] = {
7300 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7305 if (!SWIG_IsOK(res1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7308 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7310 if (!SWIG_IsOK(res2
)) {
7311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7316 if (!SWIG_IsOK(ecode3
)) {
7317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7319 arg3
= static_cast< int >(val3
);
7323 arg4
= wxString_in_helper(obj3
);
7324 if (arg4
== NULL
) SWIG_fail
;
7331 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7337 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7341 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7342 if (!SWIG_IsOK(ecode7
)) {
7343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7345 arg7
= static_cast< long >(val7
);
7349 arg8
= wxString_in_helper(obj7
);
7350 if (arg8
== NULL
) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7385 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
= 0;
7387 wxDialog
*arg1
= (wxDialog
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7394 PyObject
* obj1
= 0 ;
7395 char * kwnames
[] = {
7396 (char *) "self",(char *) "returnCode", NULL
7399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7401 if (!SWIG_IsOK(res1
)) {
7402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7404 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7406 if (!SWIG_IsOK(ecode2
)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7409 arg2
= static_cast< int >(val2
);
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 (arg1
)->SetReturnCode(arg2
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_Py_Void();
7423 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7424 PyObject
*resultobj
= 0;
7425 wxDialog
*arg1
= (wxDialog
*) 0 ;
7429 PyObject
*swig_obj
[1] ;
7431 if (!args
) SWIG_fail
;
7433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7434 if (!SWIG_IsOK(res1
)) {
7435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7437 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= SWIG_From_int(static_cast< int >(result
));
7451 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
= 0;
7453 wxDialog
*arg1
= (wxDialog
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 char * kwnames
[] = {
7462 (char *) "self",(char *) "affirmativeId", NULL
7465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7467 if (!SWIG_IsOK(res1
)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7470 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7472 if (!SWIG_IsOK(ecode2
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7475 arg2
= static_cast< int >(val2
);
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 (arg1
)->SetAffirmativeId(arg2
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= SWIG_Py_Void();
7489 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7490 PyObject
*resultobj
= 0;
7491 wxDialog
*arg1
= (wxDialog
*) 0 ;
7495 PyObject
*swig_obj
[1] ;
7497 if (!args
) SWIG_fail
;
7499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7500 if (!SWIG_IsOK(res1
)) {
7501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7503 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_From_int(static_cast< int >(result
));
7517 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
= 0;
7519 wxDialog
*arg1
= (wxDialog
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7527 char * kwnames
[] = {
7528 (char *) "self",(char *) "escapeId", NULL
7531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7533 if (!SWIG_IsOK(res1
)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7536 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7538 if (!SWIG_IsOK(ecode2
)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7541 arg2
= static_cast< int >(val2
);
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 (arg1
)->SetEscapeId(arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_Py_Void();
7555 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7556 PyObject
*resultobj
= 0;
7557 wxDialog
*arg1
= (wxDialog
*) 0 ;
7561 PyObject
*swig_obj
[1] ;
7563 if (!args
) SWIG_fail
;
7565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7566 if (!SWIG_IsOK(res1
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7569 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_From_int(static_cast< int >(result
));
7583 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= 0;
7585 wxDialog
*arg1
= (wxDialog
*) 0 ;
7586 wxString
*arg2
= 0 ;
7587 wxSizer
*result
= 0 ;
7590 bool temp2
= false ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7593 char * kwnames
[] = {
7594 (char *) "self",(char *) "message", NULL
7597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7602 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7604 arg2
= wxString_in_helper(obj1
);
7605 if (arg2
== NULL
) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7631 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
= 0;
7633 wxDialog
*arg1
= (wxDialog
*) 0 ;
7635 bool arg3
= (bool) false ;
7636 int arg4
= (int) 0 ;
7637 wxSizer
*result
= 0 ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7648 PyObject
* obj2
= 0 ;
7649 PyObject
* obj3
= 0 ;
7650 char * kwnames
[] = {
7651 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7656 if (!SWIG_IsOK(res1
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7660 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7661 if (!SWIG_IsOK(ecode2
)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7664 arg2
= static_cast< long >(val2
);
7666 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7667 if (!SWIG_IsOK(ecode3
)) {
7668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7670 arg3
= static_cast< bool >(val3
);
7673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7674 if (!SWIG_IsOK(ecode4
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7677 arg4
= static_cast< int >(val4
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7694 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
= 0;
7696 wxDialog
*arg1
= (wxDialog
*) 0 ;
7698 wxStdDialogButtonSizer
*result
= 0 ;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7705 char * kwnames
[] = {
7706 (char *) "self",(char *) "flags", NULL
7709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7711 if (!SWIG_IsOK(res1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7714 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7715 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7716 if (!SWIG_IsOK(ecode2
)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7719 arg2
= static_cast< long >(val2
);
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7733 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 PyObject
*resultobj
= 0;
7735 wxDialog
*arg1
= (wxDialog
*) 0 ;
7739 PyObject
*swig_obj
[1] ;
7741 if (!args
) SWIG_fail
;
7743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7744 if (!SWIG_IsOK(res1
)) {
7745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7747 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7763 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7764 PyObject
*resultobj
= 0;
7765 wxDialog
*arg1
= (wxDialog
*) 0 ;
7769 PyObject
*swig_obj
[1] ;
7771 if (!args
) SWIG_fail
;
7773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7774 if (!SWIG_IsOK(res1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7777 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 result
= (int)(arg1
)->ShowModal();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_From_int(static_cast< int >(result
));
7791 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
= 0;
7793 wxDialog
*arg1
= (wxDialog
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 char * kwnames
[] = {
7802 (char *) "self",(char *) "retCode", NULL
7805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7810 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7812 if (!SWIG_IsOK(ecode2
)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7815 arg2
= static_cast< int >(val2
);
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 (arg1
)->EndModal(arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_Py_Void();
7829 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
= 0;
7831 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7832 SwigValueWrapper
<wxVisualAttributes
> result
;
7835 PyObject
* obj0
= 0 ;
7836 char * kwnames
[] = {
7837 (char *) "variant", NULL
7840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7842 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7843 if (!SWIG_IsOK(ecode1
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7846 arg1
= static_cast< wxWindowVariant
>(val1
);
7849 if (!wxPyCheckForApp()) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7862 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7865 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7866 return SWIG_Py_Void();
7869 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7870 return SWIG_Python_InitShadowInstance(args
);
7873 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
= 0;
7875 wxWindow
*arg1
= (wxWindow
*) 0 ;
7876 int arg2
= (int) (int)-1 ;
7877 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7878 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7879 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7880 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7881 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7882 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7883 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7884 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7885 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7886 wxMiniFrame
*result
= 0 ;
7891 bool temp3
= false ;
7896 bool temp7
= false ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7899 PyObject
* obj2
= 0 ;
7900 PyObject
* obj3
= 0 ;
7901 PyObject
* obj4
= 0 ;
7902 PyObject
* obj5
= 0 ;
7903 PyObject
* obj6
= 0 ;
7904 char * kwnames
[] = {
7905 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7913 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7916 if (!SWIG_IsOK(ecode2
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7919 arg2
= static_cast< int >(val2
);
7923 arg3
= wxString_in_helper(obj2
);
7924 if (arg3
== NULL
) SWIG_fail
;
7931 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7937 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7941 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7942 if (!SWIG_IsOK(ecode6
)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7945 arg6
= static_cast< long >(val6
);
7949 arg7
= wxString_in_helper(obj6
);
7950 if (arg7
== NULL
) SWIG_fail
;
7955 if (!wxPyCheckForApp()) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7984 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7985 PyObject
*resultobj
= 0;
7986 wxMiniFrame
*result
= 0 ;
7988 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7990 if (!wxPyCheckForApp()) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (wxMiniFrame
*)new wxMiniFrame();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8003 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
= 0;
8005 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8006 wxWindow
*arg2
= (wxWindow
*) 0 ;
8007 int arg3
= (int) (int)-1 ;
8008 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8009 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8010 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8011 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8012 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8013 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8014 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8015 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8016 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8024 bool temp4
= false ;
8029 bool temp8
= false ;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8032 PyObject
* obj2
= 0 ;
8033 PyObject
* obj3
= 0 ;
8034 PyObject
* obj4
= 0 ;
8035 PyObject
* obj5
= 0 ;
8036 PyObject
* obj6
= 0 ;
8037 PyObject
* obj7
= 0 ;
8038 char * kwnames
[] = {
8039 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8044 if (!SWIG_IsOK(res1
)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8047 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8048 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8049 if (!SWIG_IsOK(res2
)) {
8050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8052 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8055 if (!SWIG_IsOK(ecode3
)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8058 arg3
= static_cast< int >(val3
);
8062 arg4
= wxString_in_helper(obj3
);
8063 if (arg4
== NULL
) SWIG_fail
;
8070 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8076 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8080 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8081 if (!SWIG_IsOK(ecode7
)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8084 arg7
= static_cast< long >(val7
);
8088 arg8
= wxString_in_helper(obj7
);
8089 if (arg8
== NULL
) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8124 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8127 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8128 return SWIG_Py_Void();
8131 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8132 return SWIG_Python_InitShadowInstance(args
);
8135 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
= 0;
8137 wxBitmap
*arg1
= 0 ;
8138 wxWindow
*arg2
= (wxWindow
*) 0 ;
8140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8144 long arg6
= (long) wxNO_BORDER
;
8145 wxSplashScreenWindow
*result
= 0 ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8158 PyObject
* obj2
= 0 ;
8159 PyObject
* obj3
= 0 ;
8160 PyObject
* obj4
= 0 ;
8161 PyObject
* obj5
= 0 ;
8162 char * kwnames
[] = {
8163 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8167 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8168 if (!SWIG_IsOK(res1
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8174 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8176 if (!SWIG_IsOK(res2
)) {
8177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8181 if (!SWIG_IsOK(ecode3
)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8184 arg3
= static_cast< int >(val3
);
8188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8198 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8199 if (!SWIG_IsOK(ecode6
)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8202 arg6
= static_cast< long >(val6
);
8205 if (!wxPyCheckForApp()) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8218 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
= 0;
8220 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8221 wxBitmap
*arg2
= 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 char * kwnames
[] = {
8229 (char *) "self",(char *) "bitmap", NULL
8232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8237 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8239 if (!SWIG_IsOK(res2
)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8245 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 resultobj
= SWIG_Py_Void();
8259 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8260 PyObject
*resultobj
= 0;
8261 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8262 wxBitmap
*result
= 0 ;
8265 PyObject
*swig_obj
[1] ;
8267 if (!args
) SWIG_fail
;
8269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8270 if (!SWIG_IsOK(res1
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8273 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8278 result
= (wxBitmap
*) &_result_ref
;
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 wxBitmap
* resultptr
= new wxBitmap(*result
);
8285 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8293 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8296 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8297 return SWIG_Py_Void();
8300 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8301 return SWIG_Python_InitShadowInstance(args
);
8304 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
= 0;
8306 wxBitmap
*arg1
= 0 ;
8309 wxWindow
*arg4
= (wxWindow
*) 0 ;
8310 int arg5
= (int) -1 ;
8311 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8312 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8313 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8314 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8315 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8316 wxSplashScreen
*result
= 0 ;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8333 PyObject
* obj2
= 0 ;
8334 PyObject
* obj3
= 0 ;
8335 PyObject
* obj4
= 0 ;
8336 PyObject
* obj5
= 0 ;
8337 PyObject
* obj6
= 0 ;
8338 PyObject
* obj7
= 0 ;
8339 char * kwnames
[] = {
8340 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8344 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8345 if (!SWIG_IsOK(res1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8351 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8352 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8353 if (!SWIG_IsOK(ecode2
)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8356 arg2
= static_cast< long >(val2
);
8357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8358 if (!SWIG_IsOK(ecode3
)) {
8359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8361 arg3
= static_cast< int >(val3
);
8362 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8363 if (!SWIG_IsOK(res4
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8366 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8368 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8369 if (!SWIG_IsOK(ecode5
)) {
8370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8372 arg5
= static_cast< int >(val5
);
8377 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8383 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8387 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8388 if (!SWIG_IsOK(ecode8
)) {
8389 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8391 arg8
= static_cast< long >(val8
);
8394 if (!wxPyCheckForApp()) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8407 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8408 PyObject
*resultobj
= 0;
8409 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8413 PyObject
*swig_obj
[1] ;
8415 if (!args
) SWIG_fail
;
8417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8418 if (!SWIG_IsOK(res1
)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8421 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_From_long(static_cast< long >(result
));
8435 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8436 PyObject
*resultobj
= 0;
8437 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8438 wxSplashScreenWindow
*result
= 0 ;
8441 PyObject
*swig_obj
[1] ;
8443 if (!args
) SWIG_fail
;
8445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8446 if (!SWIG_IsOK(res1
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8449 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8463 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8464 PyObject
*resultobj
= 0;
8465 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8469 PyObject
*swig_obj
[1] ;
8471 if (!args
) SWIG_fail
;
8473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8474 if (!SWIG_IsOK(res1
)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8477 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_From_int(static_cast< int >(result
));
8491 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8495 return SWIG_Py_Void();
8498 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 return SWIG_Python_InitShadowInstance(args
);
8502 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= 0;
8504 wxWindow
*arg1
= (wxWindow
*) 0 ;
8505 int arg2
= (int) -1 ;
8506 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8507 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8508 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8509 wxStatusBar
*result
= 0 ;
8516 bool temp4
= false ;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8519 PyObject
* obj2
= 0 ;
8520 PyObject
* obj3
= 0 ;
8521 char * kwnames
[] = {
8522 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8527 if (!SWIG_IsOK(res1
)) {
8528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8533 if (!SWIG_IsOK(ecode2
)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8536 arg2
= static_cast< int >(val2
);
8539 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8540 if (!SWIG_IsOK(ecode3
)) {
8541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8543 arg3
= static_cast< long >(val3
);
8547 arg4
= wxString_in_helper(obj3
);
8548 if (arg4
== NULL
) SWIG_fail
;
8553 if (!wxPyCheckForApp()) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8574 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8575 PyObject
*resultobj
= 0;
8576 wxStatusBar
*result
= 0 ;
8578 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8580 if (!wxPyCheckForApp()) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (wxStatusBar
*)new wxStatusBar();
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8593 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= 0;
8595 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8596 wxWindow
*arg2
= (wxWindow
*) 0 ;
8597 int arg3
= (int) -1 ;
8598 long arg4
= (long) wxST_SIZEGRIP
;
8599 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8600 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8610 bool temp5
= false ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8613 PyObject
* obj2
= 0 ;
8614 PyObject
* obj3
= 0 ;
8615 PyObject
* obj4
= 0 ;
8616 char * kwnames
[] = {
8617 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8625 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8627 if (!SWIG_IsOK(res2
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8633 if (!SWIG_IsOK(ecode3
)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8636 arg3
= static_cast< int >(val3
);
8639 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8640 if (!SWIG_IsOK(ecode4
)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8643 arg4
= static_cast< long >(val4
);
8647 arg5
= wxString_in_helper(obj4
);
8648 if (arg5
== NULL
) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8675 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
= 0;
8677 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8678 int arg2
= (int) 1 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 char * kwnames
[] = {
8686 (char *) "self",(char *) "number", NULL
8689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8691 if (!SWIG_IsOK(res1
)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8694 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8697 if (!SWIG_IsOK(ecode2
)) {
8698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8700 arg2
= static_cast< int >(val2
);
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 (arg1
)->SetFieldsCount(arg2
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_Py_Void();
8715 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8716 PyObject
*resultobj
= 0;
8717 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8721 PyObject
*swig_obj
[1] ;
8723 if (!args
) SWIG_fail
;
8725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8726 if (!SWIG_IsOK(res1
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8729 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_From_int(static_cast< int >(result
));
8743 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
= 0;
8745 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8746 wxString
*arg2
= 0 ;
8747 int arg3
= (int) 0 ;
8750 bool temp2
= false ;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8755 PyObject
* obj2
= 0 ;
8756 char * kwnames
[] = {
8757 (char *) "self",(char *) "text",(char *) "number", NULL
8760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8762 if (!SWIG_IsOK(res1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8765 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8767 arg2
= wxString_in_helper(obj1
);
8768 if (arg2
== NULL
) SWIG_fail
;
8772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8773 if (!SWIG_IsOK(ecode3
)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8776 arg3
= static_cast< int >(val3
);
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_Py_Void();
8799 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
= 0;
8801 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8802 int arg2
= (int) 0 ;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8810 char * kwnames
[] = {
8811 (char *) "self",(char *) "number", NULL
8814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8816 if (!SWIG_IsOK(res1
)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8819 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8822 if (!SWIG_IsOK(ecode2
)) {
8823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8825 arg2
= static_cast< int >(val2
);
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8846 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
= 0;
8848 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8849 wxString
*arg2
= 0 ;
8850 int arg3
= (int) 0 ;
8853 bool temp2
= false ;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8858 PyObject
* obj2
= 0 ;
8859 char * kwnames
[] = {
8860 (char *) "self",(char *) "text",(char *) "number", NULL
8863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8865 if (!SWIG_IsOK(res1
)) {
8866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8868 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8870 arg2
= wxString_in_helper(obj1
);
8871 if (arg2
== NULL
) SWIG_fail
;
8875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8876 if (!SWIG_IsOK(ecode3
)) {
8877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8879 arg3
= static_cast< int >(val3
);
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= SWIG_Py_Void();
8902 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
= 0;
8904 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8905 int arg2
= (int) 0 ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 char * kwnames
[] = {
8913 (char *) "self",(char *) "number", NULL
8916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8918 if (!SWIG_IsOK(res1
)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8921 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8924 if (!SWIG_IsOK(ecode2
)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8927 arg2
= static_cast< int >(val2
);
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->PopStatusText(arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_Py_Void();
8942 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
= 0;
8944 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8946 int *arg3
= (int *) 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8951 char * kwnames
[] = {
8952 (char *) "self",(char *) "widths", NULL
8955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8957 if (!SWIG_IsOK(res1
)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8960 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8962 arg2
= PyList_Size(obj1
);
8963 arg3
= int_LIST_helper(obj1
);
8964 if (arg3
== NULL
) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= SWIG_Py_Void();
8974 if (arg3
) delete [] arg3
;
8979 if (arg3
) delete [] arg3
;
8985 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
= 0;
8987 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8989 int *arg3
= (int *) 0 ;
8992 PyObject
* obj0
= 0 ;
8993 PyObject
* obj1
= 0 ;
8994 char * kwnames
[] = {
8995 (char *) "self",(char *) "styles", NULL
8998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9003 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9005 arg2
= PyList_Size(obj1
);
9006 arg3
= int_LIST_helper(obj1
);
9007 if (arg3
== NULL
) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_Py_Void();
9017 if (arg3
) delete [] arg3
;
9022 if (arg3
) delete [] arg3
;
9028 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
= 0;
9030 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 char * kwnames
[] = {
9040 (char *) "self",(char *) "i", NULL
9043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9048 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9050 if (!SWIG_IsOK(ecode2
)) {
9051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9053 arg2
= static_cast< int >(val2
);
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9067 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
= 0;
9069 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 char * kwnames
[] = {
9078 (char *) "self",(char *) "height", NULL
9081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9086 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9088 if (!SWIG_IsOK(ecode2
)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9091 arg2
= static_cast< int >(val2
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->SetMinHeight(arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_Py_Void();
9105 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9106 PyObject
*resultobj
= 0;
9107 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9111 PyObject
*swig_obj
[1] ;
9113 if (!args
) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9119 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_From_int(static_cast< int >(result
));
9133 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9134 PyObject
*resultobj
= 0;
9135 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9139 PyObject
*swig_obj
[1] ;
9141 if (!args
) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9147 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_From_int(static_cast< int >(result
));
9161 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9164 SwigValueWrapper
<wxVisualAttributes
> result
;
9167 PyObject
* obj0
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "variant", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9175 if (!SWIG_IsOK(ecode1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9178 arg1
= static_cast< wxWindowVariant
>(val1
);
9181 if (!wxPyCheckForApp()) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9194 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9197 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9198 return SWIG_Py_Void();
9201 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9202 return SWIG_Python_InitShadowInstance(args
);
9205 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9206 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9211 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9212 PyObject
*pyobj
= 0;
9216 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9218 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9225 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
= 0;
9227 wxWindow
*arg1
= (wxWindow
*) 0 ;
9228 int arg2
= (int) -1 ;
9229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9233 long arg5
= (long) wxSP_3D
;
9234 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9236 wxSplitterWindow
*result
= 0 ;
9245 bool temp6
= false ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 PyObject
* obj2
= 0 ;
9249 PyObject
* obj3
= 0 ;
9250 PyObject
* obj4
= 0 ;
9251 PyObject
* obj5
= 0 ;
9252 char * kwnames
[] = {
9253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9258 if (!SWIG_IsOK(res1
)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9261 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9264 if (!SWIG_IsOK(ecode2
)) {
9265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9267 arg2
= static_cast< int >(val2
);
9272 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9278 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9282 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9283 if (!SWIG_IsOK(ecode5
)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9286 arg5
= static_cast< long >(val5
);
9290 arg6
= wxString_in_helper(obj5
);
9291 if (arg6
== NULL
) SWIG_fail
;
9296 if (!wxPyCheckForApp()) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9317 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9318 PyObject
*resultobj
= 0;
9319 wxSplitterWindow
*result
= 0 ;
9321 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9323 if (!wxPyCheckForApp()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9336 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
= 0;
9338 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9339 wxWindow
*arg2
= (wxWindow
*) 0 ;
9340 int arg3
= (int) -1 ;
9341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9345 long arg6
= (long) wxSP_3D
;
9346 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9347 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9359 bool temp7
= false ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 PyObject
* obj2
= 0 ;
9363 PyObject
* obj3
= 0 ;
9364 PyObject
* obj4
= 0 ;
9365 PyObject
* obj5
= 0 ;
9366 PyObject
* obj6
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9373 if (!SWIG_IsOK(res1
)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9376 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9378 if (!SWIG_IsOK(res2
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9384 if (!SWIG_IsOK(ecode3
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9387 arg3
= static_cast< int >(val3
);
9392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9398 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9402 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9403 if (!SWIG_IsOK(ecode6
)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9406 arg6
= static_cast< long >(val6
);
9410 arg7
= wxString_in_helper(obj6
);
9411 if (arg7
== NULL
) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9439 PyObject
*resultobj
= 0;
9440 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9441 wxWindow
*result
= 0 ;
9444 PyObject
*swig_obj
[1] ;
9446 if (!args
) SWIG_fail
;
9448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9449 if (!SWIG_IsOK(res1
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9452 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= wxPyMake_wxObject(result
, 0);
9468 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9469 PyObject
*resultobj
= 0;
9470 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9471 wxWindow
*result
= 0 ;
9474 PyObject
*swig_obj
[1] ;
9476 if (!args
) SWIG_fail
;
9478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9479 if (!SWIG_IsOK(res1
)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9482 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= wxPyMake_wxObject(result
, 0);
9498 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "self",(char *) "mode", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9514 if (!SWIG_IsOK(res1
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9517 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9519 if (!SWIG_IsOK(ecode2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9522 arg2
= static_cast< int >(val2
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 (arg1
)->SetSplitMode(arg2
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_Py_Void();
9536 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9550 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_From_int(static_cast< int >(result
));
9564 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9567 wxWindow
*arg2
= (wxWindow
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "window", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9583 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9585 if (!SWIG_IsOK(res2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9588 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->Initialize(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
= 0;
9604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9605 wxWindow
*arg2
= (wxWindow
*) 0 ;
9606 wxWindow
*arg3
= (wxWindow
*) 0 ;
9607 int arg4
= (int) 0 ;
9617 PyObject
* obj0
= 0 ;
9618 PyObject
* obj1
= 0 ;
9619 PyObject
* obj2
= 0 ;
9620 PyObject
* obj3
= 0 ;
9621 char * kwnames
[] = {
9622 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9627 if (!SWIG_IsOK(res1
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9630 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9632 if (!SWIG_IsOK(res2
)) {
9633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9635 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9636 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9637 if (!SWIG_IsOK(res3
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9640 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9643 if (!SWIG_IsOK(ecode4
)) {
9644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9646 arg4
= static_cast< int >(val4
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9663 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9666 wxWindow
*arg2
= (wxWindow
*) 0 ;
9667 wxWindow
*arg3
= (wxWindow
*) 0 ;
9668 int arg4
= (int) 0 ;
9678 PyObject
* obj0
= 0 ;
9679 PyObject
* obj1
= 0 ;
9680 PyObject
* obj2
= 0 ;
9681 PyObject
* obj3
= 0 ;
9682 char * kwnames
[] = {
9683 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9691 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9693 if (!SWIG_IsOK(res2
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9697 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9698 if (!SWIG_IsOK(res3
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9701 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9704 if (!SWIG_IsOK(ecode4
)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9707 arg4
= static_cast< int >(val4
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9724 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
= 0;
9726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9727 wxWindow
*arg2
= (wxWindow
*) NULL
;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 char * kwnames
[] = {
9736 (char *) "self",(char *) "toRemove", NULL
9739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9744 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9747 if (!SWIG_IsOK(res2
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9750 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (bool)(arg1
)->Unsplit(arg2
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9767 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= 0;
9769 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9770 wxWindow
*arg2
= (wxWindow
*) 0 ;
9771 wxWindow
*arg3
= (wxWindow
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 char * kwnames
[] = {
9783 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9791 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9793 if (!SWIG_IsOK(res2
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9796 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9797 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9798 if (!SWIG_IsOK(res3
)) {
9799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9801 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9817 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9818 PyObject
*resultobj
= 0;
9819 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9822 PyObject
*swig_obj
[1] ;
9824 if (!args
) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9830 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->UpdateSize();
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_Py_Void();
9844 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9845 PyObject
*resultobj
= 0;
9846 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9850 PyObject
*swig_obj
[1] ;
9852 if (!args
) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9858 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9874 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
= 0;
9876 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9884 char * kwnames
[] = {
9885 (char *) "self",(char *) "width", NULL
9888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9890 if (!SWIG_IsOK(res1
)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9893 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9895 if (!SWIG_IsOK(ecode2
)) {
9896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9898 arg2
= static_cast< int >(val2
);
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 (arg1
)->SetSashSize(arg2
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_Py_Void();
9912 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
= 0;
9914 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9922 char * kwnames
[] = {
9923 (char *) "self",(char *) "width", NULL
9926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9931 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9933 if (!SWIG_IsOK(ecode2
)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9936 arg2
= static_cast< int >(val2
);
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 (arg1
)->SetBorderSize(arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= SWIG_Py_Void();
9950 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9951 PyObject
*resultobj
= 0;
9952 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9956 PyObject
*swig_obj
[1] ;
9958 if (!args
) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9964 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_From_int(static_cast< int >(result
));
9978 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9979 PyObject
*resultobj
= 0;
9980 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9984 PyObject
*swig_obj
[1] ;
9986 if (!args
) SWIG_fail
;
9988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9989 if (!SWIG_IsOK(res1
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9992 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_From_int(static_cast< int >(result
));
10006 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
= 0;
10008 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10010 bool arg3
= (bool) true ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 PyObject
* obj2
= 0 ;
10020 char * kwnames
[] = {
10021 (char *) "self",(char *) "position",(char *) "redraw", NULL
10024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10031 if (!SWIG_IsOK(ecode2
)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10034 arg2
= static_cast< int >(val2
);
10036 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10037 if (!SWIG_IsOK(ecode3
)) {
10038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10040 arg3
= static_cast< bool >(val3
);
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 (arg1
)->SetSashPosition(arg2
,arg3
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_Py_Void();
10055 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10056 PyObject
*resultobj
= 0;
10057 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10061 PyObject
*swig_obj
[1] ;
10063 if (!args
) SWIG_fail
;
10064 swig_obj
[0] = args
;
10065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10066 if (!SWIG_IsOK(res1
)) {
10067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10069 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_From_int(static_cast< int >(result
));
10083 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
= 0;
10085 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char * kwnames
[] = {
10094 (char *) "self",(char *) "gravity", NULL
10097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10099 if (!SWIG_IsOK(res1
)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10103 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10104 if (!SWIG_IsOK(ecode2
)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10107 arg2
= static_cast< double >(val2
);
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 (arg1
)->SetSashGravity(arg2
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_Py_Void();
10121 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10122 PyObject
*resultobj
= 0;
10123 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10127 PyObject
*swig_obj
[1] ;
10129 if (!args
) SWIG_fail
;
10130 swig_obj
[0] = args
;
10131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10132 if (!SWIG_IsOK(res1
)) {
10133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10135 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_From_double(static_cast< double >(result
));
10149 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
= 0;
10151 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 char * kwnames
[] = {
10160 (char *) "self",(char *) "min", NULL
10163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10168 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10170 if (!SWIG_IsOK(ecode2
)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10173 arg2
= static_cast< int >(val2
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->SetMinimumPaneSize(arg2
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_Py_Void();
10187 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10188 PyObject
*resultobj
= 0;
10189 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10193 PyObject
*swig_obj
[1] ;
10195 if (!args
) SWIG_fail
;
10196 swig_obj
[0] = args
;
10197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10201 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_From_int(static_cast< int >(result
));
10215 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10220 int arg4
= (int) 5 ;
10230 PyObject
* obj0
= 0 ;
10231 PyObject
* obj1
= 0 ;
10232 PyObject
* obj2
= 0 ;
10233 PyObject
* obj3
= 0 ;
10234 char * kwnames
[] = {
10235 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10240 if (!SWIG_IsOK(res1
)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10243 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10245 if (!SWIG_IsOK(ecode2
)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10248 arg2
= static_cast< int >(val2
);
10249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10250 if (!SWIG_IsOK(ecode3
)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10253 arg3
= static_cast< int >(val3
);
10255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10256 if (!SWIG_IsOK(ecode4
)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10259 arg4
= static_cast< int >(val4
);
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10277 PyObject
*resultobj
= 0;
10278 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10281 PyObject
*swig_obj
[1] ;
10283 if (!args
) SWIG_fail
;
10284 swig_obj
[0] = args
;
10285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10286 if (!SWIG_IsOK(res1
)) {
10287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10289 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->SizeWindows();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= SWIG_Py_Void();
10303 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
= 0;
10305 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "self",(char *) "needUpdating", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10319 if (!SWIG_IsOK(res1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10322 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10323 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10324 if (!SWIG_IsOK(ecode2
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10327 arg2
= static_cast< bool >(val2
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->SetNeedUpdating(arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_Py_Void();
10341 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10342 PyObject
*resultobj
= 0;
10343 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10347 PyObject
*swig_obj
[1] ;
10349 if (!args
) SWIG_fail
;
10350 swig_obj
[0] = args
;
10351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10352 if (!SWIG_IsOK(res1
)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10355 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10371 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
= 0;
10373 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10374 SwigValueWrapper
<wxVisualAttributes
> result
;
10377 PyObject
* obj0
= 0 ;
10378 char * kwnames
[] = {
10379 (char *) "variant", NULL
10382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10385 if (!SWIG_IsOK(ecode1
)) {
10386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10388 arg1
= static_cast< wxWindowVariant
>(val1
);
10391 if (!wxPyCheckForApp()) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10404 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10407 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10408 return SWIG_Py_Void();
10411 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10412 return SWIG_Python_InitShadowInstance(args
);
10415 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
= 0;
10417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10418 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10419 wxSplitterEvent
*result
= 0 ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 char * kwnames
[] = {
10427 (char *) "type",(char *) "splitter", NULL
10430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10433 if (!SWIG_IsOK(ecode1
)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10436 arg1
= static_cast< wxEventType
>(val1
);
10439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10440 if (!SWIG_IsOK(res2
)) {
10441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10443 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10458 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
= 0;
10460 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 char * kwnames
[] = {
10469 (char *) "self",(char *) "pos", NULL
10472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10474 if (!SWIG_IsOK(res1
)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10477 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10479 if (!SWIG_IsOK(ecode2
)) {
10480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10482 arg2
= static_cast< int >(val2
);
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->SetSashPosition(arg2
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 resultobj
= SWIG_Py_Void();
10496 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10497 PyObject
*resultobj
= 0;
10498 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10502 PyObject
*swig_obj
[1] ;
10504 if (!args
) SWIG_fail
;
10505 swig_obj
[0] = args
;
10506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10507 if (!SWIG_IsOK(res1
)) {
10508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10510 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_From_int(static_cast< int >(result
));
10524 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10525 PyObject
*resultobj
= 0;
10526 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10527 wxWindow
*result
= 0 ;
10530 PyObject
*swig_obj
[1] ;
10532 if (!args
) SWIG_fail
;
10533 swig_obj
[0] = args
;
10534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10535 if (!SWIG_IsOK(res1
)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10538 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= wxPyMake_wxObject(result
, 0);
10554 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10555 PyObject
*resultobj
= 0;
10556 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10560 PyObject
*swig_obj
[1] ;
10562 if (!args
) SWIG_fail
;
10563 swig_obj
[0] = args
;
10564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10565 if (!SWIG_IsOK(res1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10568 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_From_int(static_cast< int >(result
));
10582 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10583 PyObject
*resultobj
= 0;
10584 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10588 PyObject
*swig_obj
[1] ;
10590 if (!args
) SWIG_fail
;
10591 swig_obj
[0] = args
;
10592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10596 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= SWIG_From_int(static_cast< int >(result
));
10610 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10613 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10614 return SWIG_Py_Void();
10617 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10618 return SWIG_Python_InitShadowInstance(args
);
10621 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10622 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10627 SWIGINTERN PyObject
*SashNameStr_get(void) {
10628 PyObject
*pyobj
= 0;
10632 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10634 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10641 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10642 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10647 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10648 PyObject
*pyobj
= 0;
10652 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10654 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10661 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
= 0;
10663 wxWindow
*arg1
= (wxWindow
*) 0 ;
10664 int arg2
= (int) -1 ;
10665 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10666 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10667 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10668 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10669 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10670 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10671 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10672 wxSashWindow
*result
= 0 ;
10681 bool temp6
= false ;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 PyObject
* obj2
= 0 ;
10685 PyObject
* obj3
= 0 ;
10686 PyObject
* obj4
= 0 ;
10687 PyObject
* obj5
= 0 ;
10688 char * kwnames
[] = {
10689 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10700 if (!SWIG_IsOK(ecode2
)) {
10701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10703 arg2
= static_cast< int >(val2
);
10708 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10714 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10718 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10719 if (!SWIG_IsOK(ecode5
)) {
10720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10722 arg5
= static_cast< long >(val5
);
10726 arg6
= wxString_in_helper(obj5
);
10727 if (arg6
== NULL
) SWIG_fail
;
10732 if (!wxPyCheckForApp()) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10753 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10754 PyObject
*resultobj
= 0;
10755 wxSashWindow
*result
= 0 ;
10757 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10759 if (!wxPyCheckForApp()) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (wxSashWindow
*)new wxSashWindow();
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10772 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
= 0;
10774 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10775 wxWindow
*arg2
= (wxWindow
*) 0 ;
10776 int arg3
= (int) -1 ;
10777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10781 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10782 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10795 bool temp7
= false ;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 PyObject
* obj2
= 0 ;
10799 PyObject
* obj3
= 0 ;
10800 PyObject
* obj4
= 0 ;
10801 PyObject
* obj5
= 0 ;
10802 PyObject
* obj6
= 0 ;
10803 char * kwnames
[] = {
10804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10809 if (!SWIG_IsOK(res1
)) {
10810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10812 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10814 if (!SWIG_IsOK(res2
)) {
10815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10820 if (!SWIG_IsOK(ecode3
)) {
10821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10823 arg3
= static_cast< int >(val3
);
10828 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10834 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10838 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10839 if (!SWIG_IsOK(ecode6
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10842 arg6
= static_cast< long >(val6
);
10846 arg7
= wxString_in_helper(obj6
);
10847 if (arg7
== NULL
) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10874 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
= 0;
10876 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10877 wxSashEdgePosition arg2
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 char * kwnames
[] = {
10889 (char *) "self",(char *) "edge",(char *) "sash", NULL
10892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10897 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10899 if (!SWIG_IsOK(ecode2
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10902 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10903 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10904 if (!SWIG_IsOK(ecode3
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10907 arg3
= static_cast< bool >(val3
);
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 (arg1
)->SetSashVisible(arg2
,arg3
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_Py_Void();
10921 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10924 wxSashEdgePosition arg2
;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char * kwnames
[] = {
10933 (char *) "self",(char *) "edge", NULL
10936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10938 if (!SWIG_IsOK(res1
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10941 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10943 if (!SWIG_IsOK(ecode2
)) {
10944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10946 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10962 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
*resultobj
= 0;
10964 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10965 wxSashEdgePosition arg2
;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj2
= 0 ;
10976 char * kwnames
[] = {
10977 (char *) "self",(char *) "edge",(char *) "border", NULL
10980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10982 if (!SWIG_IsOK(res1
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10985 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10987 if (!SWIG_IsOK(ecode2
)) {
10988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10990 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10991 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10992 if (!SWIG_IsOK(ecode3
)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10995 arg3
= static_cast< bool >(val3
);
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->SetSashBorder(arg2
,arg3
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_Py_Void();
11009 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
= 0;
11011 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11012 wxSashEdgePosition arg2
;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char * kwnames
[] = {
11021 (char *) "self",(char *) "edge", NULL
11024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11029 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11031 if (!SWIG_IsOK(ecode2
)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11034 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11050 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
= 0;
11052 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11053 wxSashEdgePosition arg2
;
11059 PyObject
* obj0
= 0 ;
11060 PyObject
* obj1
= 0 ;
11061 char * kwnames
[] = {
11062 (char *) "self",(char *) "edge", NULL
11065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11070 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11072 if (!SWIG_IsOK(ecode2
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11075 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= SWIG_From_int(static_cast< int >(result
));
11089 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
= 0;
11091 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char * kwnames
[] = {
11100 (char *) "self",(char *) "width", NULL
11103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11105 if (!SWIG_IsOK(res1
)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11108 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11110 if (!SWIG_IsOK(ecode2
)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11113 arg2
= static_cast< int >(val2
);
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 (arg1
)->SetDefaultBorderSize(arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= SWIG_Py_Void();
11127 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11128 PyObject
*resultobj
= 0;
11129 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11133 PyObject
*swig_obj
[1] ;
11135 if (!args
) SWIG_fail
;
11136 swig_obj
[0] = args
;
11137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11141 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= SWIG_From_int(static_cast< int >(result
));
11155 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
= 0;
11157 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "self",(char *) "width", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11174 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11176 if (!SWIG_IsOK(ecode2
)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11179 arg2
= static_cast< int >(val2
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 (arg1
)->SetExtraBorderSize(arg2
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= SWIG_Py_Void();
11193 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11194 PyObject
*resultobj
= 0;
11195 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11199 PyObject
*swig_obj
[1] ;
11201 if (!args
) SWIG_fail
;
11202 swig_obj
[0] = args
;
11203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11207 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_From_int(static_cast< int >(result
));
11221 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
= 0;
11223 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char * kwnames
[] = {
11232 (char *) "self",(char *) "min", NULL
11235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11237 if (!SWIG_IsOK(res1
)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11240 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11242 if (!SWIG_IsOK(ecode2
)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11245 arg2
= static_cast< int >(val2
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 (arg1
)->SetMinimumSizeX(arg2
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_Py_Void();
11259 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= 0;
11261 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 char * kwnames
[] = {
11270 (char *) "self",(char *) "min", NULL
11273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11275 if (!SWIG_IsOK(res1
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11278 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11280 if (!SWIG_IsOK(ecode2
)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11283 arg2
= static_cast< int >(val2
);
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 (arg1
)->SetMinimumSizeY(arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_Py_Void();
11297 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11298 PyObject
*resultobj
= 0;
11299 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11303 PyObject
*swig_obj
[1] ;
11305 if (!args
) SWIG_fail
;
11306 swig_obj
[0] = args
;
11307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11311 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_From_int(static_cast< int >(result
));
11325 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int(static_cast< int >(result
));
11353 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char * kwnames
[] = {
11364 (char *) "self",(char *) "max", NULL
11367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11372 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11374 if (!SWIG_IsOK(ecode2
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11377 arg2
= static_cast< int >(val2
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 (arg1
)->SetMaximumSizeX(arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_Py_Void();
11391 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
= 0;
11393 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 char * kwnames
[] = {
11402 (char *) "self",(char *) "max", NULL
11405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11407 if (!SWIG_IsOK(res1
)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11410 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11412 if (!SWIG_IsOK(ecode2
)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11415 arg2
= static_cast< int >(val2
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->SetMaximumSizeY(arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_Py_Void();
11429 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11443 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_int(static_cast< int >(result
));
11457 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11471 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_int(static_cast< int >(result
));
11485 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
= 0;
11487 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11490 int arg4
= (int) 2 ;
11491 wxSashEdgePosition result
;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 PyObject
* obj2
= 0 ;
11503 PyObject
* obj3
= 0 ;
11504 char * kwnames
[] = {
11505 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11513 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11515 if (!SWIG_IsOK(ecode2
)) {
11516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11518 arg2
= static_cast< int >(val2
);
11519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11520 if (!SWIG_IsOK(ecode3
)) {
11521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11523 arg3
= static_cast< int >(val3
);
11525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11526 if (!SWIG_IsOK(ecode4
)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11529 arg4
= static_cast< int >(val4
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_From_int(static_cast< int >(result
));
11544 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 PyObject
*resultobj
= 0;
11546 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11549 PyObject
*swig_obj
[1] ;
11551 if (!args
) SWIG_fail
;
11552 swig_obj
[0] = args
;
11553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11554 if (!SWIG_IsOK(res1
)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11557 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 (arg1
)->SizeWindows();
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 resultobj
= SWIG_Py_Void();
11571 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11574 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11575 return SWIG_Py_Void();
11578 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11579 return SWIG_Python_InitShadowInstance(args
);
11582 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
= 0;
11584 int arg1
= (int) 0 ;
11585 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11586 wxSashEvent
*result
= 0 ;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 char * kwnames
[] = {
11594 (char *) "id",(char *) "edge", NULL
11597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11599 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11600 if (!SWIG_IsOK(ecode1
)) {
11601 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11603 arg1
= static_cast< int >(val1
);
11606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11607 if (!SWIG_IsOK(ecode2
)) {
11608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11610 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11625 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
= 0;
11627 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11628 wxSashEdgePosition arg2
;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 char * kwnames
[] = {
11636 (char *) "self",(char *) "edge", NULL
11639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11644 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11646 if (!SWIG_IsOK(ecode2
)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11649 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 (arg1
)->SetEdge(arg2
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_Py_Void();
11663 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 PyObject
*resultobj
= 0;
11665 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11666 wxSashEdgePosition result
;
11669 PyObject
*swig_obj
[1] ;
11671 if (!args
) SWIG_fail
;
11672 swig_obj
[0] = args
;
11673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11677 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_From_int(static_cast< int >(result
));
11691 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
= 0;
11693 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 char * kwnames
[] = {
11701 (char *) "self",(char *) "rect", NULL
11704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11706 if (!SWIG_IsOK(res1
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11709 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11712 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_Py_Void();
11727 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11728 PyObject
*resultobj
= 0;
11729 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11733 PyObject
*swig_obj
[1] ;
11735 if (!args
) SWIG_fail
;
11736 swig_obj
[0] = args
;
11737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11741 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11755 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
= 0;
11757 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11758 wxSashDragStatus arg2
;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "self",(char *) "status", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11774 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11776 if (!SWIG_IsOK(ecode2
)) {
11777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11779 arg2
= static_cast< wxSashDragStatus
>(val2
);
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 (arg1
)->SetDragStatus(arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= SWIG_Py_Void();
11793 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11794 PyObject
*resultobj
= 0;
11795 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11796 wxSashDragStatus result
;
11799 PyObject
*swig_obj
[1] ;
11801 if (!args
) SWIG_fail
;
11802 swig_obj
[0] = args
;
11803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11804 if (!SWIG_IsOK(res1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11807 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_From_int(static_cast< int >(result
));
11821 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11825 return SWIG_Py_Void();
11828 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11829 return SWIG_Python_InitShadowInstance(args
);
11832 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
= 0;
11834 int arg1
= (int) 0 ;
11835 wxQueryLayoutInfoEvent
*result
= 0 ;
11838 PyObject
* obj0
= 0 ;
11839 char * kwnames
[] = {
11840 (char *) "id", NULL
11843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11845 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11846 if (!SWIG_IsOK(ecode1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11849 arg1
= static_cast< int >(val1
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11864 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 char * kwnames
[] = {
11875 (char *) "self",(char *) "length", NULL
11878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11880 if (!SWIG_IsOK(res1
)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11883 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11885 if (!SWIG_IsOK(ecode2
)) {
11886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11888 arg2
= static_cast< int >(val2
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 (arg1
)->SetRequestedLength(arg2
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_Py_Void();
11902 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11903 PyObject
*resultobj
= 0;
11904 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11908 PyObject
*swig_obj
[1] ;
11910 if (!args
) SWIG_fail
;
11911 swig_obj
[0] = args
;
11912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11916 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_From_int(static_cast< int >(result
));
11930 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
= 0;
11932 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 char * kwnames
[] = {
11941 (char *) "self",(char *) "flags", NULL
11944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11949 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11951 if (!SWIG_IsOK(ecode2
)) {
11952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11954 arg2
= static_cast< int >(val2
);
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->SetFlags(arg2
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_Py_Void();
11968 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 PyObject
*resultobj
= 0;
11970 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11974 PyObject
*swig_obj
[1] ;
11976 if (!args
) SWIG_fail
;
11977 swig_obj
[0] = args
;
11978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11982 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_From_int(static_cast< int >(result
));
11996 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
= 0;
11998 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "size", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12014 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->SetSize((wxSize
const &)*arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_Py_Void();
12032 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 PyObject
*resultobj
= 0;
12034 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12038 PyObject
*swig_obj
[1] ;
12040 if (!args
) SWIG_fail
;
12041 swig_obj
[0] = args
;
12042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12043 if (!SWIG_IsOK(res1
)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12046 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12060 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12063 wxLayoutOrientation arg2
;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char * kwnames
[] = {
12071 (char *) "self",(char *) "orient", NULL
12074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12079 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12081 if (!SWIG_IsOK(ecode2
)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12084 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->SetOrientation(arg2
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_Py_Void();
12098 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12099 PyObject
*resultobj
= 0;
12100 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12101 wxLayoutOrientation result
;
12104 PyObject
*swig_obj
[1] ;
12106 if (!args
) SWIG_fail
;
12107 swig_obj
[0] = args
;
12108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12109 if (!SWIG_IsOK(res1
)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12112 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_From_int(static_cast< int >(result
));
12126 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
= 0;
12128 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12129 wxLayoutAlignment arg2
;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 char * kwnames
[] = {
12137 (char *) "self",(char *) "align", NULL
12140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12142 if (!SWIG_IsOK(res1
)) {
12143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12145 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12147 if (!SWIG_IsOK(ecode2
)) {
12148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12150 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->SetAlignment(arg2
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_Py_Void();
12164 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12165 PyObject
*resultobj
= 0;
12166 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12167 wxLayoutAlignment result
;
12170 PyObject
*swig_obj
[1] ;
12172 if (!args
) SWIG_fail
;
12173 swig_obj
[0] = args
;
12174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12175 if (!SWIG_IsOK(res1
)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12178 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_From_int(static_cast< int >(result
));
12192 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12195 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12196 return SWIG_Py_Void();
12199 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 return SWIG_Python_InitShadowInstance(args
);
12203 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
= 0;
12205 int arg1
= (int) 0 ;
12206 wxCalculateLayoutEvent
*result
= 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char * kwnames
[] = {
12211 (char *) "id", NULL
12214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12217 if (!SWIG_IsOK(ecode1
)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12220 arg1
= static_cast< int >(val1
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12235 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
= 0;
12237 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 char * kwnames
[] = {
12246 (char *) "self",(char *) "flags", NULL
12249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12251 if (!SWIG_IsOK(res1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12254 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12256 if (!SWIG_IsOK(ecode2
)) {
12257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12259 arg2
= static_cast< int >(val2
);
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 (arg1
)->SetFlags(arg2
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_Py_Void();
12273 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12287 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_From_int(static_cast< int >(result
));
12301 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
= 0;
12303 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 char * kwnames
[] = {
12311 (char *) "self",(char *) "rect", NULL
12314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12319 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12322 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 (arg1
)->SetRect((wxRect
const &)*arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_Py_Void();
12337 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12338 PyObject
*resultobj
= 0;
12339 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12343 PyObject
*swig_obj
[1] ;
12345 if (!args
) SWIG_fail
;
12346 swig_obj
[0] = args
;
12347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12348 if (!SWIG_IsOK(res1
)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12351 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12365 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12368 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12369 return SWIG_Py_Void();
12372 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12373 return SWIG_Python_InitShadowInstance(args
);
12376 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
= 0;
12378 wxWindow
*arg1
= (wxWindow
*) 0 ;
12379 int arg2
= (int) -1 ;
12380 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12381 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12382 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12383 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12384 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12385 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12386 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12387 wxSashLayoutWindow
*result
= 0 ;
12396 bool temp6
= false ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 PyObject
* obj3
= 0 ;
12401 PyObject
* obj4
= 0 ;
12402 PyObject
* obj5
= 0 ;
12403 char * kwnames
[] = {
12404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12409 if (!SWIG_IsOK(res1
)) {
12410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12415 if (!SWIG_IsOK(ecode2
)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12418 arg2
= static_cast< int >(val2
);
12423 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12429 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12433 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12434 if (!SWIG_IsOK(ecode5
)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12437 arg5
= static_cast< long >(val5
);
12441 arg6
= wxString_in_helper(obj5
);
12442 if (arg6
== NULL
) SWIG_fail
;
12447 if (!wxPyCheckForApp()) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12468 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 PyObject
*resultobj
= 0;
12470 wxSashLayoutWindow
*result
= 0 ;
12472 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12474 if (!wxPyCheckForApp()) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12487 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
= 0;
12489 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12490 wxWindow
*arg2
= (wxWindow
*) 0 ;
12491 int arg3
= (int) -1 ;
12492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12496 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12497 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12510 bool temp7
= false ;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 PyObject
* obj2
= 0 ;
12514 PyObject
* obj3
= 0 ;
12515 PyObject
* obj4
= 0 ;
12516 PyObject
* obj5
= 0 ;
12517 PyObject
* obj6
= 0 ;
12518 char * kwnames
[] = {
12519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12524 if (!SWIG_IsOK(res1
)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12527 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12529 if (!SWIG_IsOK(res2
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12532 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12535 if (!SWIG_IsOK(ecode3
)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12538 arg3
= static_cast< int >(val3
);
12543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12549 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12553 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12554 if (!SWIG_IsOK(ecode6
)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12557 arg6
= static_cast< long >(val6
);
12561 arg7
= wxString_in_helper(obj6
);
12562 if (arg7
== NULL
) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12589 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12590 PyObject
*resultobj
= 0;
12591 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12592 wxLayoutAlignment result
;
12595 PyObject
*swig_obj
[1] ;
12597 if (!args
) SWIG_fail
;
12598 swig_obj
[0] = args
;
12599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12600 if (!SWIG_IsOK(res1
)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12603 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= SWIG_From_int(static_cast< int >(result
));
12617 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12618 PyObject
*resultobj
= 0;
12619 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12620 wxLayoutOrientation result
;
12623 PyObject
*swig_obj
[1] ;
12625 if (!args
) SWIG_fail
;
12626 swig_obj
[0] = args
;
12627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12628 if (!SWIG_IsOK(res1
)) {
12629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12631 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_From_int(static_cast< int >(result
));
12645 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
= 0;
12647 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12648 wxLayoutAlignment arg2
;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "alignment", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12666 if (!SWIG_IsOK(ecode2
)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12669 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetAlignment(arg2
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
= 0;
12685 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "self",(char *) "size", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12701 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12704 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_Py_Void();
12719 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
= 0;
12721 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12722 wxLayoutOrientation arg2
;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "self",(char *) "orientation", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12738 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12740 if (!SWIG_IsOK(ecode2
)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12743 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 (arg1
)->SetOrientation(arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_Py_Void();
12757 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12760 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12761 return SWIG_Py_Void();
12764 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12765 return SWIG_Python_InitShadowInstance(args
);
12768 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12769 PyObject
*resultobj
= 0;
12770 wxLayoutAlgorithm
*result
= 0 ;
12772 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12786 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12787 PyObject
*resultobj
= 0;
12788 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12791 PyObject
*swig_obj
[1] ;
12793 if (!args
) SWIG_fail
;
12794 swig_obj
[0] = args
;
12795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12796 if (!SWIG_IsOK(res1
)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12799 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_Py_Void();
12814 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
= 0;
12816 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12817 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12818 wxRect
*arg3
= (wxRect
*) NULL
;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 PyObject
* obj2
= 0 ;
12829 char * kwnames
[] = {
12830 (char *) "self",(char *) "frame",(char *) "rect", NULL
12833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12835 if (!SWIG_IsOK(res1
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12838 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12840 if (!SWIG_IsOK(res2
)) {
12841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12843 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12845 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12846 if (!SWIG_IsOK(res3
)) {
12847 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12849 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12866 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
= 0;
12868 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12869 wxFrame
*arg2
= (wxFrame
*) 0 ;
12870 wxWindow
*arg3
= (wxWindow
*) NULL
;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 char * kwnames
[] = {
12882 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12887 if (!SWIG_IsOK(res1
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12890 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12892 if (!SWIG_IsOK(res2
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12895 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12897 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12898 if (!SWIG_IsOK(res3
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12901 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12918 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12921 wxWindow
*arg2
= (wxWindow
*) 0 ;
12922 wxWindow
*arg3
= (wxWindow
*) NULL
;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 PyObject
* obj2
= 0 ;
12933 char * kwnames
[] = {
12934 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12939 if (!SWIG_IsOK(res1
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12942 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12943 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12944 if (!SWIG_IsOK(res2
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12947 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12949 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12950 if (!SWIG_IsOK(res3
)) {
12951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12953 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12970 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12973 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12974 return SWIG_Py_Void();
12977 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12978 return SWIG_Python_InitShadowInstance(args
);
12981 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
= 0;
12983 wxWindow
*arg1
= (wxWindow
*) 0 ;
12984 int arg2
= (int) wxBORDER_NONE
;
12985 wxPopupWindow
*result
= 0 ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char * kwnames
[] = {
12993 (char *) "parent",(char *) "flags", NULL
12996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12998 if (!SWIG_IsOK(res1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13001 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13004 if (!SWIG_IsOK(ecode2
)) {
13005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13007 arg2
= static_cast< int >(val2
);
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13022 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13023 PyObject
*resultobj
= 0;
13024 wxPopupWindow
*result
= 0 ;
13026 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (wxPopupWindow
*)new wxPopupWindow();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13040 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13044 return SWIG_Py_Void();
13047 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13048 return SWIG_Python_InitShadowInstance(args
);
13051 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= 0;
13053 wxWindow
*arg1
= (wxWindow
*) 0 ;
13054 int arg2
= (int) wxBORDER_NONE
;
13055 wxPyPopupTransientWindow
*result
= 0 ;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 char * kwnames
[] = {
13063 (char *) "parent",(char *) "style", NULL
13066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13068 if (!SWIG_IsOK(res1
)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13074 if (!SWIG_IsOK(ecode2
)) {
13075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13077 arg2
= static_cast< int >(val2
);
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13092 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13093 PyObject
*resultobj
= 0;
13094 wxPyPopupTransientWindow
*result
= 0 ;
13096 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13110 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13114 return SWIG_Py_Void();
13117 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13118 return SWIG_Python_InitShadowInstance(args
);
13121 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
= 0;
13123 wxWindow
*arg1
= (wxWindow
*) 0 ;
13124 wxString
*arg2
= 0 ;
13125 int arg3
= (int) 100 ;
13126 wxRect
*arg4
= (wxRect
*) NULL
;
13127 wxTipWindow
*result
= 0 ;
13130 bool temp2
= false ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 PyObject
* obj2
= 0 ;
13138 PyObject
* obj3
= 0 ;
13139 char * kwnames
[] = {
13140 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13150 arg2
= wxString_in_helper(obj1
);
13151 if (arg2
== NULL
) SWIG_fail
;
13155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13156 if (!SWIG_IsOK(ecode3
)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13159 arg3
= static_cast< int >(val3
);
13162 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13163 if (!SWIG_IsOK(res4
)) {
13164 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13166 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13169 if (!wxPyCheckForApp()) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13190 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
= 0;
13192 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "rectBound", NULL
13203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13208 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13211 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_Py_Void();
13226 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13227 PyObject
*resultobj
= 0;
13228 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13231 PyObject
*swig_obj
[1] ;
13233 if (!args
) SWIG_fail
;
13234 swig_obj
[0] = args
;
13235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13236 if (!SWIG_IsOK(res1
)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13239 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= SWIG_Py_Void();
13253 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13256 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13257 return SWIG_Py_Void();
13260 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13261 return SWIG_Python_InitShadowInstance(args
);
13264 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
= 0;
13266 wxWindow
*arg1
= (wxWindow
*) 0 ;
13267 int arg2
= (int) wxID_ANY
;
13268 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13269 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13270 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13271 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13272 long arg5
= (long) 0 ;
13273 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13274 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13275 wxPyVScrolledWindow
*result
= 0 ;
13284 bool temp6
= false ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 PyObject
* obj2
= 0 ;
13288 PyObject
* obj3
= 0 ;
13289 PyObject
* obj4
= 0 ;
13290 PyObject
* obj5
= 0 ;
13291 char * kwnames
[] = {
13292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13297 if (!SWIG_IsOK(res1
)) {
13298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13303 if (!SWIG_IsOK(ecode2
)) {
13304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13306 arg2
= static_cast< int >(val2
);
13311 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13317 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13321 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13322 if (!SWIG_IsOK(ecode5
)) {
13323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13325 arg5
= static_cast< long >(val5
);
13329 arg6
= wxString_in_helper(obj5
);
13330 if (arg6
== NULL
) SWIG_fail
;
13335 if (!wxPyCheckForApp()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13356 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxPyVScrolledWindow
*result
= 0 ;
13360 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13362 if (!wxPyCheckForApp()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13375 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
= 0;
13377 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13378 PyObject
*arg2
= (PyObject
*) 0 ;
13379 PyObject
*arg3
= (PyObject
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 PyObject
* obj2
= 0 ;
13385 char * kwnames
[] = {
13386 (char *) "self",(char *) "self",(char *) "_class", NULL
13389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13391 if (!SWIG_IsOK(res1
)) {
13392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13394 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_Py_Void();
13410 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
= 0;
13412 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13413 wxWindow
*arg2
= (wxWindow
*) 0 ;
13414 int arg3
= (int) wxID_ANY
;
13415 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13416 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13417 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13418 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13419 long arg6
= (long) 0 ;
13420 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13421 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13433 bool temp7
= false ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 PyObject
* obj2
= 0 ;
13437 PyObject
* obj3
= 0 ;
13438 PyObject
* obj4
= 0 ;
13439 PyObject
* obj5
= 0 ;
13440 PyObject
* obj6
= 0 ;
13441 char * kwnames
[] = {
13442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13447 if (!SWIG_IsOK(res1
)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13450 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13452 if (!SWIG_IsOK(res2
)) {
13453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13455 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13458 if (!SWIG_IsOK(ecode3
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13461 arg3
= static_cast< int >(val3
);
13466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13476 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13477 if (!SWIG_IsOK(ecode6
)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13480 arg6
= static_cast< long >(val6
);
13484 arg7
= wxString_in_helper(obj6
);
13485 if (arg7
== NULL
) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "self",(char *) "count", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13528 if (!SWIG_IsOK(res1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13531 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13532 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13533 if (!SWIG_IsOK(ecode2
)) {
13534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13536 arg2
= static_cast< size_t >(val2
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->SetLineCount(arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_Py_Void();
13550 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
= 0;
13552 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char * kwnames
[] = {
13562 (char *) "self",(char *) "line", NULL
13565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13570 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13571 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13572 if (!SWIG_IsOK(ecode2
)) {
13573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13575 arg2
= static_cast< size_t >(val2
);
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13591 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
= 0;
13593 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char * kwnames
[] = {
13602 (char *) "self",(char *) "line", NULL
13605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13607 if (!SWIG_IsOK(res1
)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13610 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13611 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13612 if (!SWIG_IsOK(ecode2
)) {
13613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13615 arg2
= static_cast< size_t >(val2
);
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 (arg1
)->RefreshLine(arg2
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= SWIG_Py_Void();
13629 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
= 0;
13631 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 PyObject
* obj2
= 0 ;
13643 char * kwnames
[] = {
13644 (char *) "self",(char *) "from",(char *) "to", NULL
13647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13652 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13653 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13654 if (!SWIG_IsOK(ecode2
)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13657 arg2
= static_cast< size_t >(val2
);
13658 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13659 if (!SWIG_IsOK(ecode3
)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13662 arg3
= static_cast< size_t >(val3
);
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->RefreshLines(arg2
,arg3
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_Py_Void();
13676 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
= 0;
13678 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 PyObject
* obj2
= 0 ;
13691 char * kwnames
[] = {
13692 (char *) "self",(char *) "x",(char *) "y", NULL
13695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13700 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13702 if (!SWIG_IsOK(ecode2
)) {
13703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13705 arg2
= static_cast< int >(val2
);
13706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13707 if (!SWIG_IsOK(ecode3
)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13710 arg3
= static_cast< int >(val3
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_From_int(static_cast< int >(result
));
13724 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
= 0;
13726 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13727 wxPoint
*arg2
= 0 ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char * kwnames
[] = {
13735 (char *) "self",(char *) "pt", NULL
13738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13740 if (!SWIG_IsOK(res1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13743 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_From_int(static_cast< int >(result
));
13761 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13762 PyObject
*resultobj
= 0;
13763 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13766 PyObject
*swig_obj
[1] ;
13768 if (!args
) SWIG_fail
;
13769 swig_obj
[0] = args
;
13770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13771 if (!SWIG_IsOK(res1
)) {
13772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13774 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 (arg1
)->RefreshAll();
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= SWIG_Py_Void();
13788 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13789 PyObject
*resultobj
= 0;
13790 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13794 PyObject
*swig_obj
[1] ;
13796 if (!args
) SWIG_fail
;
13797 swig_obj
[0] = args
;
13798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13799 if (!SWIG_IsOK(res1
)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13802 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13816 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13817 PyObject
*resultobj
= 0;
13818 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13822 PyObject
*swig_obj
[1] ;
13824 if (!args
) SWIG_fail
;
13825 swig_obj
[0] = args
;
13826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13827 if (!SWIG_IsOK(res1
)) {
13828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13830 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13844 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13845 PyObject
*resultobj
= 0;
13846 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13850 PyObject
*swig_obj
[1] ;
13852 if (!args
) SWIG_fail
;
13853 swig_obj
[0] = args
;
13854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13855 if (!SWIG_IsOK(res1
)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13858 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13872 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
= 0;
13874 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 char * kwnames
[] = {
13884 (char *) "self",(char *) "line", NULL
13887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13889 if (!SWIG_IsOK(res1
)) {
13890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13892 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13893 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13894 if (!SWIG_IsOK(ecode2
)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13897 arg2
= static_cast< size_t >(val2
);
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13914 PyObject
*resultobj
= 0;
13915 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13919 PyObject
*swig_obj
[1] ;
13921 if (!args
) SWIG_fail
;
13922 swig_obj
[0] = args
;
13923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13924 if (!SWIG_IsOK(res1
)) {
13925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13927 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13941 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13942 PyObject
*resultobj
= 0;
13943 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13947 PyObject
*swig_obj
[1] ;
13949 if (!args
) SWIG_fail
;
13950 swig_obj
[0] = args
;
13951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13955 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13969 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
= 0;
13971 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13973 bool arg3
= (bool) false ;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 PyObject
* obj2
= 0 ;
13984 char * kwnames
[] = {
13985 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13990 if (!SWIG_IsOK(res1
)) {
13991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13993 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13994 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13995 if (!SWIG_IsOK(ecode2
)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13998 arg2
= static_cast< size_t >(val2
);
14000 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14001 if (!SWIG_IsOK(ecode3
)) {
14002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14004 arg3
= static_cast< bool >(val3
);
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14019 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
= 0;
14021 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 PyObject
* obj2
= 0 ;
14034 char * kwnames
[] = {
14035 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14043 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14044 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14045 if (!SWIG_IsOK(ecode2
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14048 arg2
= static_cast< size_t >(val2
);
14049 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14050 if (!SWIG_IsOK(ecode3
)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14053 arg3
= static_cast< size_t >(val3
);
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_From_int(static_cast< int >(result
));
14067 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14070 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14071 return SWIG_Py_Void();
14074 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14075 return SWIG_Python_InitShadowInstance(args
);
14078 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14079 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14084 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14085 PyObject
*pyobj
= 0;
14089 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14091 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14098 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
= 0;
14100 wxWindow
*arg1
= (wxWindow
*) 0 ;
14101 int arg2
= (int) wxID_ANY
;
14102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14106 long arg5
= (long) 0 ;
14107 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14109 wxPyVListBox
*result
= 0 ;
14118 bool temp6
= false ;
14119 PyObject
* obj0
= 0 ;
14120 PyObject
* obj1
= 0 ;
14121 PyObject
* obj2
= 0 ;
14122 PyObject
* obj3
= 0 ;
14123 PyObject
* obj4
= 0 ;
14124 PyObject
* obj5
= 0 ;
14125 char * kwnames
[] = {
14126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14131 if (!SWIG_IsOK(res1
)) {
14132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14137 if (!SWIG_IsOK(ecode2
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14140 arg2
= static_cast< int >(val2
);
14145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14155 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14156 if (!SWIG_IsOK(ecode5
)) {
14157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14159 arg5
= static_cast< long >(val5
);
14163 arg6
= wxString_in_helper(obj5
);
14164 if (arg6
== NULL
) SWIG_fail
;
14169 if (!wxPyCheckForApp()) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14190 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxPyVListBox
*result
= 0 ;
14194 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14196 if (!wxPyCheckForApp()) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (wxPyVListBox
*)new wxPyVListBox();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14209 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
= 0;
14211 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14212 PyObject
*arg2
= (PyObject
*) 0 ;
14213 PyObject
*arg3
= (PyObject
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 char * kwnames
[] = {
14220 (char *) "self",(char *) "self",(char *) "_class", NULL
14223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14225 if (!SWIG_IsOK(res1
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14228 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_Py_Void();
14244 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
= 0;
14246 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14247 wxWindow
*arg2
= (wxWindow
*) 0 ;
14248 int arg3
= (int) wxID_ANY
;
14249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14253 long arg6
= (long) 0 ;
14254 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14255 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14267 bool temp7
= false ;
14268 PyObject
* obj0
= 0 ;
14269 PyObject
* obj1
= 0 ;
14270 PyObject
* obj2
= 0 ;
14271 PyObject
* obj3
= 0 ;
14272 PyObject
* obj4
= 0 ;
14273 PyObject
* obj5
= 0 ;
14274 PyObject
* obj6
= 0 ;
14275 char * kwnames
[] = {
14276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14281 if (!SWIG_IsOK(res1
)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14284 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14286 if (!SWIG_IsOK(res2
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14289 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14292 if (!SWIG_IsOK(ecode3
)) {
14293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14295 arg3
= static_cast< int >(val3
);
14300 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14306 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14310 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14311 if (!SWIG_IsOK(ecode6
)) {
14312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14314 arg6
= static_cast< long >(val6
);
14318 arg7
= wxString_in_helper(obj6
);
14319 if (arg7
== NULL
) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14346 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14352 PyObject
*swig_obj
[1] ;
14354 if (!args
) SWIG_fail
;
14355 swig_obj
[0] = args
;
14356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14360 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14374 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14375 PyObject
*resultobj
= 0;
14376 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14380 PyObject
*swig_obj
[1] ;
14382 if (!args
) SWIG_fail
;
14383 swig_obj
[0] = args
;
14384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14388 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14405 PyObject
*resultobj
= 0;
14406 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14410 PyObject
*swig_obj
[1] ;
14412 if (!args
) SWIG_fail
;
14413 swig_obj
[0] = args
;
14414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14415 if (!SWIG_IsOK(res1
)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14418 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_From_int(static_cast< int >(result
));
14432 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
= 0;
14434 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 char * kwnames
[] = {
14444 (char *) "self",(char *) "item", NULL
14447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14449 if (!SWIG_IsOK(res1
)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14452 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14453 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14454 if (!SWIG_IsOK(ecode2
)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14457 arg2
= static_cast< size_t >(val2
);
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14473 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
= 0;
14475 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 char * kwnames
[] = {
14485 (char *) "self",(char *) "item", NULL
14488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14493 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14494 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14495 if (!SWIG_IsOK(ecode2
)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14498 arg2
= static_cast< size_t >(val2
);
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14514 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14515 PyObject
*resultobj
= 0;
14516 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14520 PyObject
*swig_obj
[1] ;
14522 if (!args
) SWIG_fail
;
14523 swig_obj
[0] = args
;
14524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14525 if (!SWIG_IsOK(res1
)) {
14526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14528 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14542 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14543 PyObject
*resultobj
= 0;
14544 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14545 PyObject
*result
= 0 ;
14548 PyObject
*swig_obj
[1] ;
14550 if (!args
) SWIG_fail
;
14551 swig_obj
[0] = args
;
14552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14556 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= result
;
14570 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
= 0;
14572 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14573 unsigned long arg2
;
14574 PyObject
*result
= 0 ;
14577 unsigned long val2
;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 char * kwnames
[] = {
14582 (char *) "self",(char *) "cookie", NULL
14585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14590 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14591 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14592 if (!SWIG_IsOK(ecode2
)) {
14593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14595 arg2
= static_cast< unsigned long >(val2
);
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
;
14609 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14610 PyObject
*resultobj
= 0;
14611 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14615 PyObject
*swig_obj
[1] ;
14617 if (!args
) SWIG_fail
;
14618 swig_obj
[0] = args
;
14619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14620 if (!SWIG_IsOK(res1
)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14623 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14637 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14638 PyObject
*resultobj
= 0;
14639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14640 wxColour
*result
= 0 ;
14643 PyObject
*swig_obj
[1] ;
14645 if (!args
) SWIG_fail
;
14646 swig_obj
[0] = args
;
14647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14648 if (!SWIG_IsOK(res1
)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14651 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14656 result
= (wxColour
*) &_result_ref
;
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14668 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
= 0;
14670 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 char * kwnames
[] = {
14679 (char *) "self",(char *) "count", NULL
14682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14684 if (!SWIG_IsOK(res1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14687 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14688 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14689 if (!SWIG_IsOK(ecode2
)) {
14690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14692 arg2
= static_cast< size_t >(val2
);
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 (arg1
)->SetItemCount(arg2
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_Py_Void();
14706 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14707 PyObject
*resultobj
= 0;
14708 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14711 PyObject
*swig_obj
[1] ;
14713 if (!args
) SWIG_fail
;
14714 swig_obj
[0] = args
;
14715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14716 if (!SWIG_IsOK(res1
)) {
14717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14719 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_Py_Void();
14733 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
= 0;
14735 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char * kwnames
[] = {
14744 (char *) "self",(char *) "selection", NULL
14747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14749 if (!SWIG_IsOK(res1
)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14752 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14754 if (!SWIG_IsOK(ecode2
)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14757 arg2
= static_cast< int >(val2
);
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->SetSelection(arg2
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_Py_Void();
14771 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
= 0;
14773 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14775 bool arg3
= (bool) true ;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 PyObject
* obj2
= 0 ;
14786 char * kwnames
[] = {
14787 (char *) "self",(char *) "item",(char *) "select", NULL
14790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14795 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14796 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14797 if (!SWIG_IsOK(ecode2
)) {
14798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14800 arg2
= static_cast< size_t >(val2
);
14802 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14803 if (!SWIG_IsOK(ecode3
)) {
14804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14806 arg3
= static_cast< bool >(val3
);
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14823 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
= 0;
14825 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 PyObject
* obj2
= 0 ;
14838 char * kwnames
[] = {
14839 (char *) "self",(char *) "from",(char *) "to", NULL
14842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14847 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14848 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14849 if (!SWIG_IsOK(ecode2
)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14852 arg2
= static_cast< size_t >(val2
);
14853 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14854 if (!SWIG_IsOK(ecode3
)) {
14855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14857 arg3
= static_cast< size_t >(val3
);
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14873 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
= 0;
14875 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 PyObject
* obj1
= 0 ;
14883 char * kwnames
[] = {
14884 (char *) "self",(char *) "item", NULL
14887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14889 if (!SWIG_IsOK(res1
)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14892 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14893 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14894 if (!SWIG_IsOK(ecode2
)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14897 arg2
= static_cast< size_t >(val2
);
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 (arg1
)->Toggle(arg2
);
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 resultobj
= SWIG_Py_Void();
14911 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14912 PyObject
*resultobj
= 0;
14913 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14917 PyObject
*swig_obj
[1] ;
14919 if (!args
) SWIG_fail
;
14920 swig_obj
[0] = args
;
14921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14922 if (!SWIG_IsOK(res1
)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14925 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (bool)(arg1
)->SelectAll();
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14941 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14942 PyObject
*resultobj
= 0;
14943 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14947 PyObject
*swig_obj
[1] ;
14949 if (!args
) SWIG_fail
;
14950 swig_obj
[0] = args
;
14951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14952 if (!SWIG_IsOK(res1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14955 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (bool)(arg1
)->DeselectAll();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14971 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
= 0;
14973 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14974 wxPoint
*arg2
= 0 ;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 char * kwnames
[] = {
14981 (char *) "self",(char *) "pt", NULL
14984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14986 if (!SWIG_IsOK(res1
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14989 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= SWIG_Py_Void();
15007 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
= 0;
15009 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 PyObject
* obj1
= 0 ;
15020 PyObject
* obj2
= 0 ;
15021 char * kwnames
[] = {
15022 (char *) "self",(char *) "x",(char *) "y", NULL
15025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15027 if (!SWIG_IsOK(res1
)) {
15028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15030 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15032 if (!SWIG_IsOK(ecode2
)) {
15033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15035 arg2
= static_cast< int >(val2
);
15036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15037 if (!SWIG_IsOK(ecode3
)) {
15038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15040 arg3
= static_cast< int >(val3
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 (arg1
)->SetMargins(arg2
,arg3
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_Py_Void();
15054 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
= 0;
15056 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15057 wxColour
*arg2
= 0 ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 char * kwnames
[] = {
15064 (char *) "self",(char *) "col", NULL
15067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15069 if (!SWIG_IsOK(res1
)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15072 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= SWIG_Py_Void();
15090 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
= 0;
15092 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 PyObject
* obj2
= 0 ;
15106 PyObject
* obj3
= 0 ;
15107 char * kwnames
[] = {
15108 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15113 if (!SWIG_IsOK(res1
)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15116 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15118 if (!SWIG_IsOK(res2
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15124 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15127 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15129 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15130 if (!SWIG_IsOK(ecode4
)) {
15131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15133 arg4
= static_cast< size_t >(val4
);
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_Py_Void();
15147 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
= 0;
15149 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15160 PyObject
* obj0
= 0 ;
15161 PyObject
* obj1
= 0 ;
15162 PyObject
* obj2
= 0 ;
15163 PyObject
* obj3
= 0 ;
15164 char * kwnames
[] = {
15165 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15170 if (!SWIG_IsOK(res1
)) {
15171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15173 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15175 if (!SWIG_IsOK(res2
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15181 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15184 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15186 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15187 if (!SWIG_IsOK(ecode4
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15190 arg4
= static_cast< size_t >(val4
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_Py_Void();
15204 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15207 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15208 return SWIG_Py_Void();
15211 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15212 return SWIG_Python_InitShadowInstance(args
);
15215 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
= 0;
15217 wxWindow
*arg1
= (wxWindow
*) 0 ;
15218 int arg2
= (int) wxID_ANY
;
15219 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15220 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15221 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15222 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15223 long arg5
= (long) 0 ;
15224 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15225 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15226 wxPyHtmlListBox
*result
= 0 ;
15235 bool temp6
= false ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 PyObject
* obj2
= 0 ;
15239 PyObject
* obj3
= 0 ;
15240 PyObject
* obj4
= 0 ;
15241 PyObject
* obj5
= 0 ;
15242 char * kwnames
[] = {
15243 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15248 if (!SWIG_IsOK(res1
)) {
15249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15251 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15254 if (!SWIG_IsOK(ecode2
)) {
15255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15257 arg2
= static_cast< int >(val2
);
15262 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15268 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15272 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15273 if (!SWIG_IsOK(ecode5
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15276 arg5
= static_cast< long >(val5
);
15280 arg6
= wxString_in_helper(obj5
);
15281 if (arg6
== NULL
) SWIG_fail
;
15286 if (!wxPyCheckForApp()) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15307 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15308 PyObject
*resultobj
= 0;
15309 wxPyHtmlListBox
*result
= 0 ;
15311 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15313 if (!wxPyCheckForApp()) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15326 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
= 0;
15328 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15329 PyObject
*arg2
= (PyObject
*) 0 ;
15330 PyObject
*arg3
= (PyObject
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 PyObject
* obj2
= 0 ;
15336 char * kwnames
[] = {
15337 (char *) "self",(char *) "self",(char *) "_class", NULL
15340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15342 if (!SWIG_IsOK(res1
)) {
15343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15345 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= SWIG_Py_Void();
15361 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
= 0;
15363 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15364 wxWindow
*arg2
= (wxWindow
*) 0 ;
15365 int arg3
= (int) wxID_ANY
;
15366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15370 long arg6
= (long) 0 ;
15371 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15384 bool temp7
= false ;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 PyObject
* obj2
= 0 ;
15388 PyObject
* obj3
= 0 ;
15389 PyObject
* obj4
= 0 ;
15390 PyObject
* obj5
= 0 ;
15391 PyObject
* obj6
= 0 ;
15392 char * kwnames
[] = {
15393 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15398 if (!SWIG_IsOK(res1
)) {
15399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15401 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15403 if (!SWIG_IsOK(res2
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15409 if (!SWIG_IsOK(ecode3
)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15412 arg3
= static_cast< int >(val3
);
15417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15427 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15428 if (!SWIG_IsOK(ecode6
)) {
15429 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15431 arg6
= static_cast< long >(val6
);
15435 arg7
= wxString_in_helper(obj6
);
15436 if (arg7
== NULL
) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15463 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
= 0;
15465 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 char * kwnames
[] = {
15474 (char *) "self",(char *) "count", NULL
15477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15482 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15483 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15484 if (!SWIG_IsOK(ecode2
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15487 arg2
= static_cast< size_t >(val2
);
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 (arg1
)->SetItemCount(arg2
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= SWIG_Py_Void();
15501 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15502 PyObject
*resultobj
= 0;
15503 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15504 wxFileSystem
*result
= 0 ;
15507 PyObject
*swig_obj
[1] ;
15509 if (!args
) SWIG_fail
;
15510 swig_obj
[0] = args
;
15511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15512 if (!SWIG_IsOK(res1
)) {
15513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15515 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15520 result
= (wxFileSystem
*) &_result_ref
;
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15532 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
= 0;
15534 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15536 wxHtmlLinkInfo
*arg3
= 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 PyObject
* obj2
= 0 ;
15546 char * kwnames
[] = {
15547 (char *) "self",(char *) "n",(char *) "link", NULL
15550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15552 if (!SWIG_IsOK(res1
)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15555 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15556 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15557 if (!SWIG_IsOK(ecode2
)) {
15558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15560 arg2
= static_cast< size_t >(val2
);
15561 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15562 if (!SWIG_IsOK(res3
)) {
15563 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15568 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_Py_Void();
15582 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15586 return SWIG_Py_Void();
15589 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15590 return SWIG_Python_InitShadowInstance(args
);
15593 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15594 PyObject
*resultobj
= 0;
15595 wxPyTaskBarIcon
*result
= 0 ;
15597 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15599 if (!wxPyCheckForApp()) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15612 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 PyObject
*resultobj
= 0;
15614 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15617 PyObject
*swig_obj
[1] ;
15619 if (!args
) SWIG_fail
;
15620 swig_obj
[0] = args
;
15621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15622 if (!SWIG_IsOK(res1
)) {
15623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15625 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_Py_Void();
15640 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
= 0;
15642 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15643 PyObject
*arg2
= (PyObject
*) 0 ;
15644 PyObject
*arg3
= (PyObject
*) 0 ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 PyObject
* obj2
= 0 ;
15653 PyObject
* obj3
= 0 ;
15654 char * kwnames
[] = {
15655 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15660 if (!SWIG_IsOK(res1
)) {
15661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15663 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15667 if (!SWIG_IsOK(ecode4
)) {
15668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15670 arg4
= static_cast< int >(val4
);
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 resultobj
= SWIG_Py_Void();
15684 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15685 PyObject
*resultobj
= 0;
15686 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15689 PyObject
*swig_obj
[1] ;
15691 if (!args
) SWIG_fail
;
15692 swig_obj
[0] = args
;
15693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15697 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 wxPyTaskBarIcon_Destroy(arg1
);
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_Py_Void();
15711 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 PyObject
*resultobj
= 0;
15713 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15725 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15741 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15742 PyObject
*resultobj
= 0;
15743 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15747 PyObject
*swig_obj
[1] ;
15749 if (!args
) SWIG_fail
;
15750 swig_obj
[0] = args
;
15751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15752 if (!SWIG_IsOK(res1
)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15755 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15771 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
= 0;
15773 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15775 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15776 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15782 bool temp3
= false ;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 PyObject
* obj2
= 0 ;
15786 char * kwnames
[] = {
15787 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15792 if (!SWIG_IsOK(res1
)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15795 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15797 if (!SWIG_IsOK(res2
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15803 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15806 arg3
= wxString_in_helper(obj2
);
15807 if (arg3
== NULL
) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15834 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15835 PyObject
*resultobj
= 0;
15836 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15840 PyObject
*swig_obj
[1] ;
15842 if (!args
) SWIG_fail
;
15843 swig_obj
[0] = args
;
15844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15848 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)(arg1
)->RemoveIcon();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15864 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15867 wxMenu
*arg2
= (wxMenu
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char * kwnames
[] = {
15876 (char *) "self",(char *) "menu", NULL
15879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15884 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15886 if (!SWIG_IsOK(res2
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15889 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (bool)(arg1
)->PopupMenu(arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15905 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15909 return SWIG_Py_Void();
15912 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15913 return SWIG_Python_InitShadowInstance(args
);
15916 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
= 0;
15919 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15920 wxTaskBarIconEvent
*result
= 0 ;
15925 PyObject
* obj0
= 0 ;
15926 PyObject
* obj1
= 0 ;
15927 char * kwnames
[] = {
15928 (char *) "evtType",(char *) "tbIcon", NULL
15931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15933 if (!SWIG_IsOK(ecode1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15936 arg1
= static_cast< wxEventType
>(val1
);
15937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15938 if (!SWIG_IsOK(res2
)) {
15939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15941 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15955 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15958 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15959 return SWIG_Py_Void();
15962 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15963 return SWIG_Python_InitShadowInstance(args
);
15966 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15967 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15972 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15973 PyObject
*pyobj
= 0;
15977 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15979 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15986 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15987 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15992 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15993 PyObject
*pyobj
= 0;
15997 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15999 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16006 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16007 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16012 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16013 PyObject
*pyobj
= 0;
16017 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16019 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16026 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16027 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16032 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16033 PyObject
*pyobj
= 0;
16037 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16039 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16046 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16047 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16052 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16053 PyObject
*pyobj
= 0;
16057 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16059 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16066 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16067 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16072 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16073 PyObject
*pyobj
= 0;
16077 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16079 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16086 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16087 PyObject
*resultobj
= 0;
16088 wxColourData
*result
= 0 ;
16090 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (wxColourData
*)new wxColourData();
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16104 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16105 PyObject
*resultobj
= 0;
16106 wxColourData
*arg1
= (wxColourData
*) 0 ;
16109 PyObject
*swig_obj
[1] ;
16111 if (!args
) SWIG_fail
;
16112 swig_obj
[0] = args
;
16113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16114 if (!SWIG_IsOK(res1
)) {
16115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16117 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_Py_Void();
16132 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16133 PyObject
*resultobj
= 0;
16134 wxColourData
*arg1
= (wxColourData
*) 0 ;
16138 PyObject
*swig_obj
[1] ;
16140 if (!args
) SWIG_fail
;
16141 swig_obj
[0] = args
;
16142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16143 if (!SWIG_IsOK(res1
)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16146 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (bool)(arg1
)->GetChooseFull();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16162 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16163 PyObject
*resultobj
= 0;
16164 wxColourData
*arg1
= (wxColourData
*) 0 ;
16168 PyObject
*swig_obj
[1] ;
16170 if (!args
) SWIG_fail
;
16171 swig_obj
[0] = args
;
16172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16173 if (!SWIG_IsOK(res1
)) {
16174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16176 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= (arg1
)->GetColour();
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16190 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= 0;
16192 wxColourData
*arg1
= (wxColourData
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 char * kwnames
[] = {
16202 (char *) "self",(char *) "i", NULL
16205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16210 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16212 if (!SWIG_IsOK(ecode2
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16215 arg2
= static_cast< int >(val2
);
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (arg1
)->GetCustomColour(arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16229 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
= 0;
16231 wxColourData
*arg1
= (wxColourData
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 char * kwnames
[] = {
16240 (char *) "self",(char *) "flag", NULL
16243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16245 if (!SWIG_IsOK(res1
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16248 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16250 if (!SWIG_IsOK(ecode2
)) {
16251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16253 arg2
= static_cast< int >(val2
);
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 (arg1
)->SetChooseFull(arg2
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_Py_Void();
16267 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
= 0;
16269 wxColourData
*arg1
= (wxColourData
*) 0 ;
16270 wxColour
*arg2
= 0 ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 char * kwnames
[] = {
16277 (char *) "self",(char *) "colour", NULL
16280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16282 if (!SWIG_IsOK(res1
)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16285 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16288 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 (arg1
)->SetColour((wxColour
const &)*arg2
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_Py_Void();
16303 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
= 0;
16305 wxColourData
*arg1
= (wxColourData
*) 0 ;
16307 wxColour
*arg3
= 0 ;
16313 PyObject
* obj0
= 0 ;
16314 PyObject
* obj1
= 0 ;
16315 PyObject
* obj2
= 0 ;
16316 char * kwnames
[] = {
16317 (char *) "self",(char *) "i",(char *) "colour", NULL
16320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16322 if (!SWIG_IsOK(res1
)) {
16323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16325 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16327 if (!SWIG_IsOK(ecode2
)) {
16328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16330 arg2
= static_cast< int >(val2
);
16333 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= SWIG_Py_Void();
16348 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16351 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16352 return SWIG_Py_Void();
16355 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16356 return SWIG_Python_InitShadowInstance(args
);
16359 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
= 0;
16361 wxWindow
*arg1
= (wxWindow
*) 0 ;
16362 wxColourData
*arg2
= (wxColourData
*) NULL
;
16363 wxColourDialog
*result
= 0 ;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char * kwnames
[] = {
16371 (char *) "parent",(char *) "data", NULL
16374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16376 if (!SWIG_IsOK(res1
)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16379 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16382 if (!SWIG_IsOK(res2
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16385 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16388 if (!wxPyCheckForApp()) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16401 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16402 PyObject
*resultobj
= 0;
16403 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16404 wxColourData
*result
= 0 ;
16407 PyObject
*swig_obj
[1] ;
16409 if (!args
) SWIG_fail
;
16410 swig_obj
[0] = args
;
16411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16415 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16420 result
= (wxColourData
*) &_result_ref
;
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16432 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16435 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16436 return SWIG_Py_Void();
16439 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16440 return SWIG_Python_InitShadowInstance(args
);
16443 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
= 0;
16445 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16446 wxColour
const &arg2_defvalue
= wxNullColour
;
16447 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16448 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16449 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16454 bool temp3
= false ;
16455 PyObject
* obj0
= 0 ;
16456 PyObject
* obj1
= 0 ;
16457 PyObject
* obj2
= 0 ;
16458 char * kwnames
[] = {
16459 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16465 if (!SWIG_IsOK(res1
)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16468 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16478 arg3
= wxString_in_helper(obj2
);
16479 if (arg3
== NULL
) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16504 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
= 0;
16506 wxWindow
*arg1
= (wxWindow
*) 0 ;
16507 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16511 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16512 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16513 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16514 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16515 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16516 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16517 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16518 wxDirDialog
*result
= 0 ;
16521 bool temp2
= false ;
16522 bool temp3
= false ;
16527 bool temp7
= false ;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 PyObject
* obj2
= 0 ;
16531 PyObject
* obj3
= 0 ;
16532 PyObject
* obj4
= 0 ;
16533 PyObject
* obj5
= 0 ;
16534 PyObject
* obj6
= 0 ;
16535 char * kwnames
[] = {
16536 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16541 if (!SWIG_IsOK(res1
)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16547 arg2
= wxString_in_helper(obj1
);
16548 if (arg2
== NULL
) SWIG_fail
;
16554 arg3
= wxString_in_helper(obj2
);
16555 if (arg3
== NULL
) SWIG_fail
;
16560 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16561 if (!SWIG_IsOK(ecode4
)) {
16562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16564 arg4
= static_cast< long >(val4
);
16569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16580 arg7
= wxString_in_helper(obj6
);
16581 if (arg7
== NULL
) SWIG_fail
;
16586 if (!wxPyCheckForApp()) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16623 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16624 PyObject
*resultobj
= 0;
16625 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16629 PyObject
*swig_obj
[1] ;
16631 if (!args
) SWIG_fail
;
16632 swig_obj
[0] = args
;
16633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16634 if (!SWIG_IsOK(res1
)) {
16635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16637 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (arg1
)->GetPath();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16657 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16658 PyObject
*resultobj
= 0;
16659 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16663 PyObject
*swig_obj
[1] ;
16665 if (!args
) SWIG_fail
;
16666 swig_obj
[0] = args
;
16667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16671 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (arg1
)->GetMessage();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16691 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
= 0;
16693 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16694 wxString
*arg2
= 0 ;
16697 bool temp2
= false ;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 char * kwnames
[] = {
16701 (char *) "self",(char *) "message", NULL
16704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16706 if (!SWIG_IsOK(res1
)) {
16707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16709 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16711 arg2
= wxString_in_helper(obj1
);
16712 if (arg2
== NULL
) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 (arg1
)->SetMessage((wxString
const &)*arg2
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= SWIG_Py_Void();
16736 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
= 0;
16738 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16739 wxString
*arg2
= 0 ;
16742 bool temp2
= false ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 char * kwnames
[] = {
16746 (char *) "self",(char *) "path", NULL
16749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16751 if (!SWIG_IsOK(res1
)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16754 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16756 arg2
= wxString_in_helper(obj1
);
16757 if (arg2
== NULL
) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 (arg1
)->SetPath((wxString
const &)*arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_Py_Void();
16781 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16784 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16785 return SWIG_Py_Void();
16788 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16789 return SWIG_Python_InitShadowInstance(args
);
16792 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
= 0;
16794 wxWindow
*arg1
= (wxWindow
*) 0 ;
16795 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16796 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16797 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16798 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16799 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16800 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16801 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16802 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16803 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16804 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16805 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16806 wxFileDialog
*result
= 0 ;
16809 bool temp2
= false ;
16810 bool temp3
= false ;
16811 bool temp4
= false ;
16812 bool temp5
= false ;
16816 PyObject
* obj0
= 0 ;
16817 PyObject
* obj1
= 0 ;
16818 PyObject
* obj2
= 0 ;
16819 PyObject
* obj3
= 0 ;
16820 PyObject
* obj4
= 0 ;
16821 PyObject
* obj5
= 0 ;
16822 PyObject
* obj6
= 0 ;
16823 char * kwnames
[] = {
16824 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16829 if (!SWIG_IsOK(res1
)) {
16830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16832 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16835 arg2
= wxString_in_helper(obj1
);
16836 if (arg2
== NULL
) SWIG_fail
;
16842 arg3
= wxString_in_helper(obj2
);
16843 if (arg3
== NULL
) SWIG_fail
;
16849 arg4
= wxString_in_helper(obj3
);
16850 if (arg4
== NULL
) SWIG_fail
;
16856 arg5
= wxString_in_helper(obj4
);
16857 if (arg5
== NULL
) SWIG_fail
;
16862 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16863 if (!SWIG_IsOK(ecode6
)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16866 arg6
= static_cast< long >(val6
);
16871 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16875 if (!wxPyCheckForApp()) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16920 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
= 0;
16922 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16923 wxString
*arg2
= 0 ;
16926 bool temp2
= false ;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 char * kwnames
[] = {
16930 (char *) "self",(char *) "message", NULL
16933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16938 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16940 arg2
= wxString_in_helper(obj1
);
16941 if (arg2
== NULL
) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 (arg1
)->SetMessage((wxString
const &)*arg2
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_Py_Void();
16965 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
= 0;
16967 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16968 wxString
*arg2
= 0 ;
16971 bool temp2
= false ;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char * kwnames
[] = {
16975 (char *) "self",(char *) "path", NULL
16978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16983 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16985 arg2
= wxString_in_helper(obj1
);
16986 if (arg2
== NULL
) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 (arg1
)->SetPath((wxString
const &)*arg2
);
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= SWIG_Py_Void();
17010 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= 0;
17012 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17013 wxString
*arg2
= 0 ;
17016 bool temp2
= false ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "self",(char *) "dir", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17028 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17030 arg2
= wxString_in_helper(obj1
);
17031 if (arg2
== NULL
) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= SWIG_Py_Void();
17055 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
= 0;
17057 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17058 wxString
*arg2
= 0 ;
17061 bool temp2
= false ;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 char * kwnames
[] = {
17065 (char *) "self",(char *) "name", NULL
17068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17070 if (!SWIG_IsOK(res1
)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17073 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17075 arg2
= wxString_in_helper(obj1
);
17076 if (arg2
== NULL
) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 (arg1
)->SetFilename((wxString
const &)*arg2
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= SWIG_Py_Void();
17100 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
= 0;
17102 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17103 wxString
*arg2
= 0 ;
17106 bool temp2
= false ;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char * kwnames
[] = {
17110 (char *) "self",(char *) "wildCard", NULL
17113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17115 if (!SWIG_IsOK(res1
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17118 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17120 arg2
= wxString_in_helper(obj1
);
17121 if (arg2
== NULL
) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= SWIG_Py_Void();
17145 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
= 0;
17147 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char * kwnames
[] = {
17156 (char *) "self",(char *) "filterIndex", NULL
17159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17161 if (!SWIG_IsOK(res1
)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17164 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17166 if (!SWIG_IsOK(ecode2
)) {
17167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17169 arg2
= static_cast< int >(val2
);
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 (arg1
)->SetFilterIndex(arg2
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= SWIG_Py_Void();
17183 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17184 PyObject
*resultobj
= 0;
17185 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17189 PyObject
*swig_obj
[1] ;
17191 if (!args
) SWIG_fail
;
17192 swig_obj
[0] = args
;
17193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17194 if (!SWIG_IsOK(res1
)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17197 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17217 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17218 PyObject
*resultobj
= 0;
17219 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17223 PyObject
*swig_obj
[1] ;
17225 if (!args
) SWIG_fail
;
17226 swig_obj
[0] = args
;
17227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17228 if (!SWIG_IsOK(res1
)) {
17229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17231 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17251 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17252 PyObject
*resultobj
= 0;
17253 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17257 PyObject
*swig_obj
[1] ;
17259 if (!args
) SWIG_fail
;
17260 swig_obj
[0] = args
;
17261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17262 if (!SWIG_IsOK(res1
)) {
17263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17265 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17285 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17286 PyObject
*resultobj
= 0;
17287 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17291 PyObject
*swig_obj
[1] ;
17293 if (!args
) SWIG_fail
;
17294 swig_obj
[0] = args
;
17295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17299 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17319 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17320 PyObject
*resultobj
= 0;
17321 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17325 PyObject
*swig_obj
[1] ;
17327 if (!args
) SWIG_fail
;
17328 swig_obj
[0] = args
;
17329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17330 if (!SWIG_IsOK(res1
)) {
17331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17333 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17353 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17354 PyObject
*resultobj
= 0;
17355 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17359 PyObject
*swig_obj
[1] ;
17361 if (!args
) SWIG_fail
;
17362 swig_obj
[0] = args
;
17363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17364 if (!SWIG_IsOK(res1
)) {
17365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17367 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_From_int(static_cast< int >(result
));
17381 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17382 PyObject
*resultobj
= 0;
17383 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17384 PyObject
*result
= 0 ;
17387 PyObject
*swig_obj
[1] ;
17389 if (!args
) SWIG_fail
;
17390 swig_obj
[0] = args
;
17391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17392 if (!SWIG_IsOK(res1
)) {
17393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17395 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= result
;
17409 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17410 PyObject
*resultobj
= 0;
17411 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17412 PyObject
*result
= 0 ;
17415 PyObject
*swig_obj
[1] ;
17417 if (!args
) SWIG_fail
;
17418 swig_obj
[0] = args
;
17419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17420 if (!SWIG_IsOK(res1
)) {
17421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17423 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= result
;
17437 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17440 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17441 return SWIG_Py_Void();
17444 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17445 return SWIG_Python_InitShadowInstance(args
);
17448 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
= 0;
17450 wxWindow
*arg1
= (wxWindow
*) 0 ;
17451 wxString
*arg2
= 0 ;
17452 wxString
*arg3
= 0 ;
17453 int arg4
= (int) 0 ;
17454 wxString
*arg5
= (wxString
*) NULL
;
17455 long arg6
= (long) wxCHOICEDLG_STYLE
;
17456 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17457 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17458 wxMultiChoiceDialog
*result
= 0 ;
17461 bool temp2
= false ;
17462 bool temp3
= false ;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 PyObject
* obj2
= 0 ;
17469 PyObject
* obj3
= 0 ;
17470 PyObject
* obj4
= 0 ;
17471 PyObject
* obj5
= 0 ;
17472 char * kwnames
[] = {
17473 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17478 if (!SWIG_IsOK(res1
)) {
17479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17481 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17483 arg2
= wxString_in_helper(obj1
);
17484 if (arg2
== NULL
) SWIG_fail
;
17488 arg3
= wxString_in_helper(obj2
);
17489 if (arg3
== NULL
) SWIG_fail
;
17494 arg4
= PyList_Size(obj3
);
17495 arg5
= wxString_LIST_helper(obj3
);
17496 if (arg5
== NULL
) SWIG_fail
;
17500 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17501 if (!SWIG_IsOK(ecode6
)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17504 arg6
= static_cast< long >(val6
);
17509 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17513 if (!wxPyCheckForApp()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17529 if (arg5
) delete [] arg5
;
17542 if (arg5
) delete [] arg5
;
17548 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
= 0;
17550 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17551 wxArrayInt
*arg2
= 0 ;
17554 bool temp2
= false ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 char * kwnames
[] = {
17558 (char *) "self",(char *) "selections", NULL
17561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17566 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17568 if (! PySequence_Check(obj1
)) {
17569 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17572 arg2
= new wxArrayInt
;
17574 int i
, len
=PySequence_Length(obj1
);
17575 for (i
=0; i
<len
; i
++) {
17576 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17577 PyObject
* number
= PyNumber_Int(item
);
17578 arg2
->Add(PyInt_AS_LONG(number
));
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_Py_Void();
17591 if (temp2
) delete arg2
;
17596 if (temp2
) delete arg2
;
17602 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17603 PyObject
*resultobj
= 0;
17604 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17605 PyObject
*result
= 0 ;
17608 PyObject
*swig_obj
[1] ;
17610 if (!args
) SWIG_fail
;
17611 swig_obj
[0] = args
;
17612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17613 if (!SWIG_IsOK(res1
)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17616 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= result
;
17630 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17633 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17634 return SWIG_Py_Void();
17637 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17638 return SWIG_Python_InitShadowInstance(args
);
17641 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
= 0;
17643 wxWindow
*arg1
= (wxWindow
*) 0 ;
17644 wxString
*arg2
= 0 ;
17645 wxString
*arg3
= 0 ;
17647 wxString
*arg5
= (wxString
*) 0 ;
17648 long arg6
= (long) wxCHOICEDLG_STYLE
;
17649 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17650 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17651 wxSingleChoiceDialog
*result
= 0 ;
17654 bool temp2
= false ;
17655 bool temp3
= false ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 PyObject
* obj3
= 0 ;
17663 PyObject
* obj4
= 0 ;
17664 PyObject
* obj5
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17676 arg2
= wxString_in_helper(obj1
);
17677 if (arg2
== NULL
) SWIG_fail
;
17681 arg3
= wxString_in_helper(obj2
);
17682 if (arg3
== NULL
) SWIG_fail
;
17686 arg4
= PyList_Size(obj3
);
17687 arg5
= wxString_LIST_helper(obj3
);
17688 if (arg5
== NULL
) SWIG_fail
;
17691 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17692 if (!SWIG_IsOK(ecode6
)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17695 arg6
= static_cast< long >(val6
);
17700 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17704 if (!wxPyCheckForApp()) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17720 if (arg5
) delete [] arg5
;
17733 if (arg5
) delete [] arg5
;
17739 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17740 PyObject
*resultobj
= 0;
17741 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17745 PyObject
*swig_obj
[1] ;
17747 if (!args
) SWIG_fail
;
17748 swig_obj
[0] = args
;
17749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17750 if (!SWIG_IsOK(res1
)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17753 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (int)(arg1
)->GetSelection();
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_From_int(static_cast< int >(result
));
17767 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17768 PyObject
*resultobj
= 0;
17769 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17773 PyObject
*swig_obj
[1] ;
17775 if (!args
) SWIG_fail
;
17776 swig_obj
[0] = args
;
17777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17778 if (!SWIG_IsOK(res1
)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17781 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (arg1
)->GetStringSelection();
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17801 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
= 0;
17803 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 char * kwnames
[] = {
17812 (char *) "self",(char *) "sel", NULL
17815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17817 if (!SWIG_IsOK(res1
)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17820 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17822 if (!SWIG_IsOK(ecode2
)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17825 arg2
= static_cast< int >(val2
);
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 (arg1
)->SetSelection(arg2
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_Py_Void();
17839 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17842 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17843 return SWIG_Py_Void();
17846 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17847 return SWIG_Python_InitShadowInstance(args
);
17850 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= 0;
17852 wxWindow
*arg1
= (wxWindow
*) 0 ;
17853 wxString
*arg2
= 0 ;
17854 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17855 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17856 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17857 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17858 long arg5
= (long) wxTextEntryDialogStyle
;
17859 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17860 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17861 wxTextEntryDialog
*result
= 0 ;
17864 bool temp2
= false ;
17865 bool temp3
= false ;
17866 bool temp4
= false ;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 PyObject
* obj2
= 0 ;
17873 PyObject
* obj3
= 0 ;
17874 PyObject
* obj4
= 0 ;
17875 PyObject
* obj5
= 0 ;
17876 char * kwnames
[] = {
17877 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17882 if (!SWIG_IsOK(res1
)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17885 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17887 arg2
= wxString_in_helper(obj1
);
17888 if (arg2
== NULL
) SWIG_fail
;
17893 arg3
= wxString_in_helper(obj2
);
17894 if (arg3
== NULL
) SWIG_fail
;
17900 arg4
= wxString_in_helper(obj3
);
17901 if (arg4
== NULL
) SWIG_fail
;
17906 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17907 if (!SWIG_IsOK(ecode5
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17910 arg5
= static_cast< long >(val5
);
17915 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17919 if (!wxPyCheckForApp()) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
17956 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17957 PyObject
*resultobj
= 0;
17958 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17962 PyObject
*swig_obj
[1] ;
17964 if (!args
) SWIG_fail
;
17965 swig_obj
[0] = args
;
17966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17967 if (!SWIG_IsOK(res1
)) {
17968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17970 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (arg1
)->GetValue();
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17990 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
= 0;
17992 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17993 wxString
*arg2
= 0 ;
17996 bool temp2
= false ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 char * kwnames
[] = {
18000 (char *) "self",(char *) "value", NULL
18003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18008 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18010 arg2
= wxString_in_helper(obj1
);
18011 if (arg2
== NULL
) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 (arg1
)->SetValue((wxString
const &)*arg2
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= SWIG_Py_Void();
18035 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18038 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18039 return SWIG_Py_Void();
18042 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18043 return SWIG_Python_InitShadowInstance(args
);
18046 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18047 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18052 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18053 PyObject
*pyobj
= 0;
18057 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18059 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18066 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
= 0;
18068 wxWindow
*arg1
= (wxWindow
*) 0 ;
18069 wxString
*arg2
= 0 ;
18070 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18071 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18072 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18073 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18074 long arg5
= (long) wxTextEntryDialogStyle
;
18075 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18076 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18077 wxPasswordEntryDialog
*result
= 0 ;
18080 bool temp2
= false ;
18081 bool temp3
= false ;
18082 bool temp4
= false ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 PyObject
* obj2
= 0 ;
18089 PyObject
* obj3
= 0 ;
18090 PyObject
* obj4
= 0 ;
18091 PyObject
* obj5
= 0 ;
18092 char * kwnames
[] = {
18093 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18103 arg2
= wxString_in_helper(obj1
);
18104 if (arg2
== NULL
) SWIG_fail
;
18109 arg3
= wxString_in_helper(obj2
);
18110 if (arg3
== NULL
) SWIG_fail
;
18116 arg4
= wxString_in_helper(obj3
);
18117 if (arg4
== NULL
) SWIG_fail
;
18122 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18123 if (!SWIG_IsOK(ecode5
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18126 arg5
= static_cast< long >(val5
);
18131 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18171 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18174 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18175 return SWIG_Py_Void();
18178 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18179 return SWIG_Python_InitShadowInstance(args
);
18182 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18183 PyObject
*resultobj
= 0;
18184 wxFontData
*result
= 0 ;
18186 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (wxFontData
*)new wxFontData();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18200 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18201 PyObject
*resultobj
= 0;
18202 wxFontData
*arg1
= (wxFontData
*) 0 ;
18205 PyObject
*swig_obj
[1] ;
18207 if (!args
) SWIG_fail
;
18208 swig_obj
[0] = args
;
18209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18210 if (!SWIG_IsOK(res1
)) {
18211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18213 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= SWIG_Py_Void();
18228 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
= 0;
18230 wxFontData
*arg1
= (wxFontData
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char * kwnames
[] = {
18239 (char *) "self",(char *) "enable", NULL
18242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18247 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18248 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18249 if (!SWIG_IsOK(ecode2
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18252 arg2
= static_cast< bool >(val2
);
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 (arg1
)->EnableEffects(arg2
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_Py_Void();
18266 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18267 PyObject
*resultobj
= 0;
18268 wxFontData
*arg1
= (wxFontData
*) 0 ;
18272 PyObject
*swig_obj
[1] ;
18274 if (!args
) SWIG_fail
;
18275 swig_obj
[0] = args
;
18276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18280 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (bool)(arg1
)->GetAllowSymbols();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18296 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18297 PyObject
*resultobj
= 0;
18298 wxFontData
*arg1
= (wxFontData
*) 0 ;
18302 PyObject
*swig_obj
[1] ;
18304 if (!args
) SWIG_fail
;
18305 swig_obj
[0] = args
;
18306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18310 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (arg1
)->GetColour();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18324 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18325 PyObject
*resultobj
= 0;
18326 wxFontData
*arg1
= (wxFontData
*) 0 ;
18330 PyObject
*swig_obj
[1] ;
18332 if (!args
) SWIG_fail
;
18333 swig_obj
[0] = args
;
18334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18335 if (!SWIG_IsOK(res1
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18338 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (arg1
)->GetChosenFont();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18352 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18353 PyObject
*resultobj
= 0;
18354 wxFontData
*arg1
= (wxFontData
*) 0 ;
18358 PyObject
*swig_obj
[1] ;
18360 if (!args
) SWIG_fail
;
18361 swig_obj
[0] = args
;
18362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18363 if (!SWIG_IsOK(res1
)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18366 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (bool)(arg1
)->GetEnableEffects();
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18382 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18383 PyObject
*resultobj
= 0;
18384 wxFontData
*arg1
= (wxFontData
*) 0 ;
18388 PyObject
*swig_obj
[1] ;
18390 if (!args
) SWIG_fail
;
18391 swig_obj
[0] = args
;
18392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18393 if (!SWIG_IsOK(res1
)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18396 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (arg1
)->GetInitialFont();
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18410 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18411 PyObject
*resultobj
= 0;
18412 wxFontData
*arg1
= (wxFontData
*) 0 ;
18416 PyObject
*swig_obj
[1] ;
18418 if (!args
) SWIG_fail
;
18419 swig_obj
[0] = args
;
18420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18421 if (!SWIG_IsOK(res1
)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18424 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (bool)(arg1
)->GetShowHelp();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18440 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
= 0;
18442 wxFontData
*arg1
= (wxFontData
*) 0 ;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 char * kwnames
[] = {
18451 (char *) "self",(char *) "allowSymbols", NULL
18454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18456 if (!SWIG_IsOK(res1
)) {
18457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18459 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18461 if (!SWIG_IsOK(ecode2
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18464 arg2
= static_cast< bool >(val2
);
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 (arg1
)->SetAllowSymbols(arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_Py_Void();
18478 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
= 0;
18480 wxFontData
*arg1
= (wxFontData
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 char * kwnames
[] = {
18489 (char *) "self",(char *) "font", NULL
18492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18494 if (!SWIG_IsOK(res1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18497 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18499 if (!SWIG_IsOK(res2
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18505 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_Py_Void();
18519 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
= 0;
18521 wxFontData
*arg1
= (wxFontData
*) 0 ;
18522 wxColour
*arg2
= 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 char * kwnames
[] = {
18529 (char *) "self",(char *) "colour", NULL
18532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18537 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18540 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->SetColour((wxColour
const &)*arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_Py_Void();
18555 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
= 0;
18557 wxFontData
*arg1
= (wxFontData
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char * kwnames
[] = {
18566 (char *) "self",(char *) "font", NULL
18569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18571 if (!SWIG_IsOK(res1
)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18574 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18576 if (!SWIG_IsOK(res2
)) {
18577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18582 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_Py_Void();
18596 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
= 0;
18598 wxFontData
*arg1
= (wxFontData
*) 0 ;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 PyObject
* obj2
= 0 ;
18610 char * kwnames
[] = {
18611 (char *) "self",(char *) "min",(char *) "max", NULL
18614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18616 if (!SWIG_IsOK(res1
)) {
18617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18619 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18621 if (!SWIG_IsOK(ecode2
)) {
18622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18624 arg2
= static_cast< int >(val2
);
18625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18626 if (!SWIG_IsOK(ecode3
)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18629 arg3
= static_cast< int >(val3
);
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->SetRange(arg2
,arg3
);
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_Py_Void();
18643 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
= 0;
18645 wxFontData
*arg1
= (wxFontData
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 char * kwnames
[] = {
18654 (char *) "self",(char *) "showHelp", NULL
18657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18659 if (!SWIG_IsOK(res1
)) {
18660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18662 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18663 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18664 if (!SWIG_IsOK(ecode2
)) {
18665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18667 arg2
= static_cast< bool >(val2
);
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 (arg1
)->SetShowHelp(arg2
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_Py_Void();
18681 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18684 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18685 return SWIG_Py_Void();
18688 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18689 return SWIG_Python_InitShadowInstance(args
);
18692 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
= 0;
18694 wxWindow
*arg1
= (wxWindow
*) 0 ;
18695 wxFontData
*arg2
= 0 ;
18696 wxFontDialog
*result
= 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char * kwnames
[] = {
18704 (char *) "parent",(char *) "data", NULL
18707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18709 if (!SWIG_IsOK(res1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18712 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18714 if (!SWIG_IsOK(res2
)) {
18715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18720 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18722 if (!wxPyCheckForApp()) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18735 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18736 PyObject
*resultobj
= 0;
18737 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18738 wxFontData
*result
= 0 ;
18741 PyObject
*swig_obj
[1] ;
18743 if (!args
) SWIG_fail
;
18744 swig_obj
[0] = args
;
18745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18746 if (!SWIG_IsOK(res1
)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18749 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18754 result
= (wxFontData
*) &_result_ref
;
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18766 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18769 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18770 return SWIG_Py_Void();
18773 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18774 return SWIG_Python_InitShadowInstance(args
);
18777 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
= 0;
18779 wxWindow
*arg1
= (wxWindow
*) NULL
;
18780 wxFont
const &arg2_defvalue
= wxNullFont
;
18781 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18782 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18789 bool temp3
= false ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 PyObject
* obj2
= 0 ;
18793 char * kwnames
[] = {
18794 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18803 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18807 if (!SWIG_IsOK(res2
)) {
18808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18813 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18817 arg3
= wxString_in_helper(obj2
);
18818 if (arg3
== NULL
) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18843 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
= 0;
18845 wxWindow
*arg1
= (wxWindow
*) 0 ;
18846 wxString
*arg2
= 0 ;
18847 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18849 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18850 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18851 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18852 wxMessageDialog
*result
= 0 ;
18855 bool temp2
= false ;
18856 bool temp3
= false ;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 PyObject
* obj2
= 0 ;
18863 PyObject
* obj3
= 0 ;
18864 PyObject
* obj4
= 0 ;
18865 char * kwnames
[] = {
18866 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18874 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18876 arg2
= wxString_in_helper(obj1
);
18877 if (arg2
== NULL
) SWIG_fail
;
18882 arg3
= wxString_in_helper(obj2
);
18883 if (arg3
== NULL
) SWIG_fail
;
18888 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18889 if (!SWIG_IsOK(ecode4
)) {
18890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18892 arg4
= static_cast< long >(val4
);
18897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18901 if (!wxPyCheckForApp()) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18930 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18933 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18934 return SWIG_Py_Void();
18937 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18938 return SWIG_Python_InitShadowInstance(args
);
18941 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
= 0;
18943 wxString
*arg1
= 0 ;
18944 wxString
*arg2
= 0 ;
18945 int arg3
= (int) 100 ;
18946 wxWindow
*arg4
= (wxWindow
*) NULL
;
18947 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
18948 wxProgressDialog
*result
= 0 ;
18949 bool temp1
= false ;
18950 bool temp2
= false ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 PyObject
* obj2
= 0 ;
18960 PyObject
* obj3
= 0 ;
18961 PyObject
* obj4
= 0 ;
18962 char * kwnames
[] = {
18963 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18968 arg1
= wxString_in_helper(obj0
);
18969 if (arg1
== NULL
) SWIG_fail
;
18973 arg2
= wxString_in_helper(obj1
);
18974 if (arg2
== NULL
) SWIG_fail
;
18978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18979 if (!SWIG_IsOK(ecode3
)) {
18980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18982 arg3
= static_cast< int >(val3
);
18985 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18986 if (!SWIG_IsOK(res4
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18989 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
18992 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18993 if (!SWIG_IsOK(ecode5
)) {
18994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18996 arg5
= static_cast< int >(val5
);
18999 if (!wxPyCheckForApp()) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19028 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= 0;
19030 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19032 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19033 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19034 bool *arg4
= (bool *) 0 ;
19040 bool temp3
= false ;
19042 int res4
= SWIG_TMPOBJ
;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 PyObject
* obj2
= 0 ;
19046 char * kwnames
[] = {
19047 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19053 if (!SWIG_IsOK(res1
)) {
19054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19056 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19058 if (!SWIG_IsOK(ecode2
)) {
19059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19061 arg2
= static_cast< int >(val2
);
19064 arg3
= wxString_in_helper(obj2
);
19065 if (arg3
== NULL
) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19078 if (SWIG_IsTmpObj(res4
)) {
19079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19081 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19098 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19099 PyObject
*resultobj
= 0;
19100 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19103 PyObject
*swig_obj
[1] ;
19105 if (!args
) SWIG_fail
;
19106 swig_obj
[0] = args
;
19107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19111 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= SWIG_Py_Void();
19125 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19128 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19129 return SWIG_Py_Void();
19132 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19133 return SWIG_Python_InitShadowInstance(args
);
19136 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19139 int arg2
= (int) 0 ;
19140 wxFindDialogEvent
*result
= 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char * kwnames
[] = {
19148 (char *) "commandType",(char *) "id", NULL
19151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19154 if (!SWIG_IsOK(ecode1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19157 arg1
= static_cast< wxEventType
>(val1
);
19160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19161 if (!SWIG_IsOK(ecode2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19164 arg2
= static_cast< int >(val2
);
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19179 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19180 PyObject
*resultobj
= 0;
19181 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19185 PyObject
*swig_obj
[1] ;
19187 if (!args
) SWIG_fail
;
19188 swig_obj
[0] = args
;
19189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19190 if (!SWIG_IsOK(res1
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19193 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (int)(arg1
)->GetFlags();
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= SWIG_From_int(static_cast< int >(result
));
19207 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19208 PyObject
*resultobj
= 0;
19209 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19210 wxString
*result
= 0 ;
19213 PyObject
*swig_obj
[1] ;
19215 if (!args
) SWIG_fail
;
19216 swig_obj
[0] = args
;
19217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19218 if (!SWIG_IsOK(res1
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19221 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 wxString
const &_result_ref
= (arg1
)->GetFindString();
19226 result
= (wxString
*) &_result_ref
;
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19235 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19244 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19245 PyObject
*resultobj
= 0;
19246 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19247 wxString
*result
= 0 ;
19250 PyObject
*swig_obj
[1] ;
19252 if (!args
) SWIG_fail
;
19253 swig_obj
[0] = args
;
19254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19255 if (!SWIG_IsOK(res1
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19258 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19263 result
= (wxString
*) &_result_ref
;
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19272 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19281 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19282 PyObject
*resultobj
= 0;
19283 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19284 wxFindReplaceDialog
*result
= 0 ;
19287 PyObject
*swig_obj
[1] ;
19289 if (!args
) SWIG_fail
;
19290 swig_obj
[0] = args
;
19291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19292 if (!SWIG_IsOK(res1
)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19295 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19309 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
= 0;
19311 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char * kwnames
[] = {
19320 (char *) "self",(char *) "flags", NULL
19323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19325 if (!SWIG_IsOK(res1
)) {
19326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19328 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19330 if (!SWIG_IsOK(ecode2
)) {
19331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19333 arg2
= static_cast< int >(val2
);
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 (arg1
)->SetFlags(arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_Py_Void();
19347 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
= 0;
19349 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19350 wxString
*arg2
= 0 ;
19353 bool temp2
= false ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char * kwnames
[] = {
19357 (char *) "self",(char *) "str", NULL
19360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19362 if (!SWIG_IsOK(res1
)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19365 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19367 arg2
= wxString_in_helper(obj1
);
19368 if (arg2
== NULL
) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->SetFindString((wxString
const &)*arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_Py_Void();
19392 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19395 wxString
*arg2
= 0 ;
19398 bool temp2
= false ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "str", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19410 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19412 arg2
= wxString_in_helper(obj1
);
19413 if (arg2
== NULL
) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_Py_Void();
19437 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19440 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19441 return SWIG_Py_Void();
19444 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19445 return SWIG_Python_InitShadowInstance(args
);
19448 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
= 0;
19450 int arg1
= (int) 0 ;
19451 wxFindReplaceData
*result
= 0 ;
19454 PyObject
* obj0
= 0 ;
19455 char * kwnames
[] = {
19456 (char *) "flags", NULL
19459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19461 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19462 if (!SWIG_IsOK(ecode1
)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19465 arg1
= static_cast< int >(val1
);
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19480 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19481 PyObject
*resultobj
= 0;
19482 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19485 PyObject
*swig_obj
[1] ;
19487 if (!args
) SWIG_fail
;
19488 swig_obj
[0] = args
;
19489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19493 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_Py_Void();
19508 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19509 PyObject
*resultobj
= 0;
19510 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19511 wxString
*result
= 0 ;
19514 PyObject
*swig_obj
[1] ;
19516 if (!args
) SWIG_fail
;
19517 swig_obj
[0] = args
;
19518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19519 if (!SWIG_IsOK(res1
)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19522 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 wxString
const &_result_ref
= (arg1
)->GetFindString();
19527 result
= (wxString
*) &_result_ref
;
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19536 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19545 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19546 PyObject
*resultobj
= 0;
19547 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19548 wxString
*result
= 0 ;
19551 PyObject
*swig_obj
[1] ;
19553 if (!args
) SWIG_fail
;
19554 swig_obj
[0] = args
;
19555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19559 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19564 result
= (wxString
*) &_result_ref
;
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19573 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19582 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19583 PyObject
*resultobj
= 0;
19584 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19588 PyObject
*swig_obj
[1] ;
19590 if (!args
) SWIG_fail
;
19591 swig_obj
[0] = args
;
19592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19593 if (!SWIG_IsOK(res1
)) {
19594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19596 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (int)(arg1
)->GetFlags();
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= SWIG_From_int(static_cast< int >(result
));
19610 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
= 0;
19612 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 char * kwnames
[] = {
19621 (char *) "self",(char *) "flags", NULL
19624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19626 if (!SWIG_IsOK(res1
)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19629 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19631 if (!SWIG_IsOK(ecode2
)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19634 arg2
= static_cast< int >(val2
);
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->SetFlags(arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_Py_Void();
19648 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= 0;
19650 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19651 wxString
*arg2
= 0 ;
19654 bool temp2
= false ;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 char * kwnames
[] = {
19658 (char *) "self",(char *) "str", NULL
19661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19663 if (!SWIG_IsOK(res1
)) {
19664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19666 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19668 arg2
= wxString_in_helper(obj1
);
19669 if (arg2
== NULL
) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->SetFindString((wxString
const &)*arg2
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_Py_Void();
19693 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
= 0;
19695 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19696 wxString
*arg2
= 0 ;
19699 bool temp2
= false ;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 char * kwnames
[] = {
19703 (char *) "self",(char *) "str", NULL
19706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19711 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19713 arg2
= wxString_in_helper(obj1
);
19714 if (arg2
== NULL
) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_Py_Void();
19738 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19741 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19742 return SWIG_Py_Void();
19745 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19746 return SWIG_Python_InitShadowInstance(args
);
19749 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
= 0;
19751 wxWindow
*arg1
= (wxWindow
*) 0 ;
19752 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19753 wxString
*arg3
= 0 ;
19754 int arg4
= (int) 0 ;
19755 wxFindReplaceDialog
*result
= 0 ;
19760 bool temp3
= false ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 PyObject
* obj2
= 0 ;
19766 PyObject
* obj3
= 0 ;
19767 char * kwnames
[] = {
19768 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19773 if (!SWIG_IsOK(res1
)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19776 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19778 if (!SWIG_IsOK(res2
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19781 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19783 arg3
= wxString_in_helper(obj2
);
19784 if (arg3
== NULL
) SWIG_fail
;
19788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19789 if (!SWIG_IsOK(ecode4
)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19792 arg4
= static_cast< int >(val4
);
19795 if (!wxPyCheckForApp()) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19816 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19817 PyObject
*resultobj
= 0;
19818 wxFindReplaceDialog
*result
= 0 ;
19820 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19822 if (!wxPyCheckForApp()) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19835 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19838 wxWindow
*arg2
= (wxWindow
*) 0 ;
19839 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19840 wxString
*arg4
= 0 ;
19841 int arg5
= (int) 0 ;
19849 bool temp4
= false ;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 PyObject
* obj2
= 0 ;
19855 PyObject
* obj3
= 0 ;
19856 PyObject
* obj4
= 0 ;
19857 char * kwnames
[] = {
19858 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19863 if (!SWIG_IsOK(res1
)) {
19864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19866 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19868 if (!SWIG_IsOK(res2
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19871 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19872 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19873 if (!SWIG_IsOK(res3
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19876 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19878 arg4
= wxString_in_helper(obj3
);
19879 if (arg4
== NULL
) SWIG_fail
;
19883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19884 if (!SWIG_IsOK(ecode5
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19887 arg5
= static_cast< int >(val5
);
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19912 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19913 PyObject
*resultobj
= 0;
19914 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19915 wxFindReplaceData
*result
= 0 ;
19918 PyObject
*swig_obj
[1] ;
19920 if (!args
) SWIG_fail
;
19921 swig_obj
[0] = args
;
19922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19926 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19940 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
= 0;
19942 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19943 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 char * kwnames
[] = {
19951 (char *) "self",(char *) "data", NULL
19954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19956 if (!SWIG_IsOK(res1
)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19959 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19961 if (!SWIG_IsOK(res2
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19964 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 (arg1
)->SetData(arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= SWIG_Py_Void();
19978 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19981 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
19982 return SWIG_Py_Void();
19985 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19986 return SWIG_Python_InitShadowInstance(args
);
19989 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
= 0;
19991 wxWindow
*arg1
= (wxWindow
*) 0 ;
19992 int arg2
= (int) (int)-1 ;
19993 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19994 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19999 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20000 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20002 wxMDIParentFrame
*result
= 0 ;
20007 bool temp3
= false ;
20012 bool temp7
= false ;
20013 PyObject
* obj0
= 0 ;
20014 PyObject
* obj1
= 0 ;
20015 PyObject
* obj2
= 0 ;
20016 PyObject
* obj3
= 0 ;
20017 PyObject
* obj4
= 0 ;
20018 PyObject
* obj5
= 0 ;
20019 PyObject
* obj6
= 0 ;
20020 char * kwnames
[] = {
20021 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20026 if (!SWIG_IsOK(res1
)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20032 if (!SWIG_IsOK(ecode2
)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20035 arg2
= static_cast< int >(val2
);
20039 arg3
= wxString_in_helper(obj2
);
20040 if (arg3
== NULL
) SWIG_fail
;
20047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20057 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20058 if (!SWIG_IsOK(ecode6
)) {
20059 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20061 arg6
= static_cast< long >(val6
);
20065 arg7
= wxString_in_helper(obj6
);
20066 if (arg7
== NULL
) SWIG_fail
;
20071 if (!wxPyCheckForApp()) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20100 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20101 PyObject
*resultobj
= 0;
20102 wxMDIParentFrame
*result
= 0 ;
20104 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20106 if (!wxPyCheckForApp()) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20119 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
= 0;
20121 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20122 wxWindow
*arg2
= (wxWindow
*) 0 ;
20123 int arg3
= (int) (int)-1 ;
20124 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20125 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20126 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20127 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20128 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20129 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20130 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20131 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20140 bool temp4
= false ;
20145 bool temp8
= false ;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20148 PyObject
* obj2
= 0 ;
20149 PyObject
* obj3
= 0 ;
20150 PyObject
* obj4
= 0 ;
20151 PyObject
* obj5
= 0 ;
20152 PyObject
* obj6
= 0 ;
20153 PyObject
* obj7
= 0 ;
20154 char * kwnames
[] = {
20155 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20160 if (!SWIG_IsOK(res1
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20163 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20165 if (!SWIG_IsOK(res2
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20171 if (!SWIG_IsOK(ecode3
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20174 arg3
= static_cast< int >(val3
);
20178 arg4
= wxString_in_helper(obj3
);
20179 if (arg4
== NULL
) SWIG_fail
;
20186 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20192 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20196 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20197 if (!SWIG_IsOK(ecode7
)) {
20198 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20200 arg7
= static_cast< long >(val7
);
20204 arg8
= wxString_in_helper(obj7
);
20205 if (arg8
== NULL
) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20240 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20241 PyObject
*resultobj
= 0;
20242 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20245 PyObject
*swig_obj
[1] ;
20247 if (!args
) SWIG_fail
;
20248 swig_obj
[0] = args
;
20249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20250 if (!SWIG_IsOK(res1
)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20253 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 (arg1
)->ActivateNext();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_Py_Void();
20267 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20268 PyObject
*resultobj
= 0;
20269 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20272 PyObject
*swig_obj
[1] ;
20274 if (!args
) SWIG_fail
;
20275 swig_obj
[0] = args
;
20276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20280 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 (arg1
)->ActivatePrevious();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_Py_Void();
20294 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20295 PyObject
*resultobj
= 0;
20296 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20299 PyObject
*swig_obj
[1] ;
20301 if (!args
) SWIG_fail
;
20302 swig_obj
[0] = args
;
20303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20304 if (!SWIG_IsOK(res1
)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20307 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 (arg1
)->ArrangeIcons();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_Py_Void();
20321 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20322 PyObject
*resultobj
= 0;
20323 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20326 PyObject
*swig_obj
[1] ;
20328 if (!args
) SWIG_fail
;
20329 swig_obj
[0] = args
;
20330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20334 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= SWIG_Py_Void();
20348 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20349 PyObject
*resultobj
= 0;
20350 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20351 wxMDIChildFrame
*result
= 0 ;
20354 PyObject
*swig_obj
[1] ;
20356 if (!args
) SWIG_fail
;
20357 swig_obj
[0] = args
;
20358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20359 if (!SWIG_IsOK(res1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20362 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20378 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20379 PyObject
*resultobj
= 0;
20380 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20381 wxMDIClientWindow
*result
= 0 ;
20384 PyObject
*swig_obj
[1] ;
20386 if (!args
) SWIG_fail
;
20387 swig_obj
[0] = args
;
20388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20389 if (!SWIG_IsOK(res1
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20392 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20408 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20409 PyObject
*resultobj
= 0;
20410 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20411 wxWindow
*result
= 0 ;
20414 PyObject
*swig_obj
[1] ;
20416 if (!args
) SWIG_fail
;
20417 swig_obj
[0] = args
;
20418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20419 if (!SWIG_IsOK(res1
)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20422 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (wxWindow
*)(arg1
)->GetToolBar();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= wxPyMake_wxObject(result
, 0);
20438 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
= 0;
20440 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20441 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 char * kwnames
[] = {
20449 (char *) "self",(char *) "orient", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20457 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20460 if (!SWIG_IsOK(ecode2
)) {
20461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20463 arg2
= static_cast< wxOrientation
>(val2
);
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 (arg1
)->Tile(arg2
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= SWIG_Py_Void();
20478 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20481 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20482 return SWIG_Py_Void();
20485 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20486 return SWIG_Python_InitShadowInstance(args
);
20489 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
= 0;
20491 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20492 int arg2
= (int) (int)-1 ;
20493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20499 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20500 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20502 wxMDIChildFrame
*result
= 0 ;
20507 bool temp3
= false ;
20512 bool temp7
= false ;
20513 PyObject
* obj0
= 0 ;
20514 PyObject
* obj1
= 0 ;
20515 PyObject
* obj2
= 0 ;
20516 PyObject
* obj3
= 0 ;
20517 PyObject
* obj4
= 0 ;
20518 PyObject
* obj5
= 0 ;
20519 PyObject
* obj6
= 0 ;
20520 char * kwnames
[] = {
20521 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20529 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20532 if (!SWIG_IsOK(ecode2
)) {
20533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20535 arg2
= static_cast< int >(val2
);
20539 arg3
= wxString_in_helper(obj2
);
20540 if (arg3
== NULL
) SWIG_fail
;
20547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20557 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20558 if (!SWIG_IsOK(ecode6
)) {
20559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20561 arg6
= static_cast< long >(val6
);
20565 arg7
= wxString_in_helper(obj6
);
20566 if (arg7
== NULL
) SWIG_fail
;
20571 if (!wxPyCheckForApp()) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20600 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20601 PyObject
*resultobj
= 0;
20602 wxMDIChildFrame
*result
= 0 ;
20604 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20606 if (!wxPyCheckForApp()) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20619 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= 0;
20621 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20622 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20623 int arg3
= (int) (int)-1 ;
20624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20626 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20627 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20628 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20629 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20630 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20631 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20632 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20640 bool temp4
= false ;
20645 bool temp8
= false ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 PyObject
* obj2
= 0 ;
20649 PyObject
* obj3
= 0 ;
20650 PyObject
* obj4
= 0 ;
20651 PyObject
* obj5
= 0 ;
20652 PyObject
* obj6
= 0 ;
20653 PyObject
* obj7
= 0 ;
20654 char * kwnames
[] = {
20655 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20663 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20665 if (!SWIG_IsOK(res2
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20668 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20671 if (!SWIG_IsOK(ecode3
)) {
20672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20674 arg3
= static_cast< int >(val3
);
20678 arg4
= wxString_in_helper(obj3
);
20679 if (arg4
== NULL
) SWIG_fail
;
20686 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20692 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20696 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20697 if (!SWIG_IsOK(ecode7
)) {
20698 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20700 arg7
= static_cast< long >(val7
);
20704 arg8
= wxString_in_helper(obj7
);
20705 if (arg8
== NULL
) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20740 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20741 PyObject
*resultobj
= 0;
20742 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20745 PyObject
*swig_obj
[1] ;
20747 if (!args
) SWIG_fail
;
20748 swig_obj
[0] = args
;
20749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20750 if (!SWIG_IsOK(res1
)) {
20751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20753 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 (arg1
)->Activate();
20757 wxPyEndAllowThreads(__tstate
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20760 resultobj
= SWIG_Py_Void();
20767 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20770 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20771 return SWIG_Py_Void();
20774 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20775 return SWIG_Python_InitShadowInstance(args
);
20778 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
= 0;
20780 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20781 long arg2
= (long) 0 ;
20782 wxMDIClientWindow
*result
= 0 ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char * kwnames
[] = {
20790 (char *) "parent",(char *) "style", NULL
20793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20795 if (!SWIG_IsOK(res1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20798 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20800 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20801 if (!SWIG_IsOK(ecode2
)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20804 arg2
= static_cast< long >(val2
);
20807 if (!wxPyCheckForApp()) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20820 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20821 PyObject
*resultobj
= 0;
20822 wxMDIClientWindow
*result
= 0 ;
20824 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20826 if (!wxPyCheckForApp()) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20839 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
= 0;
20841 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20842 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20843 long arg3
= (long) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 PyObject
* obj2
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "parent",(char *) "style", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20863 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20865 if (!SWIG_IsOK(res2
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20868 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20870 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20871 if (!SWIG_IsOK(ecode3
)) {
20872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20874 arg3
= static_cast< long >(val3
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20891 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20894 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20895 return SWIG_Py_Void();
20898 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 return SWIG_Python_InitShadowInstance(args
);
20902 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= 0;
20904 wxWindow
*arg1
= (wxWindow
*) 0 ;
20905 int arg2
= (int) (int)-1 ;
20906 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20907 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20908 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20909 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20910 long arg5
= (long) 0 ;
20911 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20912 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20913 wxPyWindow
*result
= 0 ;
20922 bool temp6
= false ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 PyObject
* obj2
= 0 ;
20926 PyObject
* obj3
= 0 ;
20927 PyObject
* obj4
= 0 ;
20928 PyObject
* obj5
= 0 ;
20929 char * kwnames
[] = {
20930 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20935 if (!SWIG_IsOK(res1
)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20941 if (!SWIG_IsOK(ecode2
)) {
20942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20944 arg2
= static_cast< int >(val2
);
20949 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20955 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20959 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20960 if (!SWIG_IsOK(ecode5
)) {
20961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20963 arg5
= static_cast< long >(val5
);
20967 arg6
= wxString_in_helper(obj5
);
20968 if (arg6
== NULL
) SWIG_fail
;
20973 if (!wxPyCheckForApp()) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
20994 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20995 PyObject
*resultobj
= 0;
20996 wxPyWindow
*result
= 0 ;
20998 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21000 if (!wxPyCheckForApp()) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (wxPyWindow
*)new wxPyWindow();
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21013 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
= 0;
21015 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21016 PyObject
*arg2
= (PyObject
*) 0 ;
21017 PyObject
*arg3
= (PyObject
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 PyObject
* obj2
= 0 ;
21023 char * kwnames
[] = {
21024 (char *) "self",(char *) "self",(char *) "_class", NULL
21027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21029 if (!SWIG_IsOK(res1
)) {
21030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21032 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_Py_Void();
21048 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
= 0;
21050 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 char * kwnames
[] = {
21058 (char *) "self",(char *) "size", NULL
21061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21066 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_Py_Void();
21084 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
= 0;
21086 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21087 wxDC
*arg2
= (wxDC
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 char * kwnames
[] = {
21096 (char *) "self",(char *) "dc", NULL
21099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21101 if (!SWIG_IsOK(res1
)) {
21102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21104 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21106 if (!SWIG_IsOK(res2
)) {
21107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21109 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21125 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
= 0;
21127 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 PyObject
* obj2
= 0 ;
21145 PyObject
* obj3
= 0 ;
21146 PyObject
* obj4
= 0 ;
21147 char * kwnames
[] = {
21148 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21153 if (!SWIG_IsOK(res1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21156 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21158 if (!SWIG_IsOK(ecode2
)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21161 arg2
= static_cast< int >(val2
);
21162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21163 if (!SWIG_IsOK(ecode3
)) {
21164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21166 arg3
= static_cast< int >(val3
);
21167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21168 if (!SWIG_IsOK(ecode4
)) {
21169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21171 arg4
= static_cast< int >(val4
);
21172 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21173 if (!SWIG_IsOK(ecode5
)) {
21174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21176 arg5
= static_cast< int >(val5
);
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 resultobj
= SWIG_Py_Void();
21190 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
= 0;
21192 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21197 int arg6
= (int) wxSIZE_AUTO
;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 PyObject
* obj2
= 0 ;
21213 PyObject
* obj3
= 0 ;
21214 PyObject
* obj4
= 0 ;
21215 PyObject
* obj5
= 0 ;
21216 char * kwnames
[] = {
21217 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21222 if (!SWIG_IsOK(res1
)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21225 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21227 if (!SWIG_IsOK(ecode2
)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21230 arg2
= static_cast< int >(val2
);
21231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21232 if (!SWIG_IsOK(ecode3
)) {
21233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21235 arg3
= static_cast< int >(val3
);
21236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21237 if (!SWIG_IsOK(ecode4
)) {
21238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21240 arg4
= static_cast< int >(val4
);
21241 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21242 if (!SWIG_IsOK(ecode5
)) {
21243 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21245 arg5
= static_cast< int >(val5
);
21247 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21248 if (!SWIG_IsOK(ecode6
)) {
21249 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21251 arg6
= static_cast< int >(val6
);
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_Py_Void();
21266 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
= 0;
21268 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 PyObject
* obj2
= 0 ;
21280 char * kwnames
[] = {
21281 (char *) "self",(char *) "width",(char *) "height", NULL
21284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21286 if (!SWIG_IsOK(res1
)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21289 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21291 if (!SWIG_IsOK(ecode2
)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21294 arg2
= static_cast< int >(val2
);
21295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21296 if (!SWIG_IsOK(ecode3
)) {
21297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21299 arg3
= static_cast< int >(val3
);
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->DoSetClientSize(arg2
,arg3
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_Py_Void();
21313 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
= 0;
21315 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 PyObject
* obj2
= 0 ;
21327 char * kwnames
[] = {
21328 (char *) "self",(char *) "x",(char *) "y", NULL
21331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21336 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21338 if (!SWIG_IsOK(ecode2
)) {
21339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21341 arg2
= static_cast< int >(val2
);
21342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21343 if (!SWIG_IsOK(ecode3
)) {
21344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21346 arg3
= static_cast< int >(val3
);
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= SWIG_Py_Void();
21360 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21361 PyObject
*resultobj
= 0;
21362 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21363 int *arg2
= (int *) 0 ;
21364 int *arg3
= (int *) 0 ;
21368 int res2
= SWIG_TMPOBJ
;
21370 int res3
= SWIG_TMPOBJ
;
21371 PyObject
*swig_obj
[1] ;
21375 if (!args
) SWIG_fail
;
21376 swig_obj
[0] = args
;
21377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21378 if (!SWIG_IsOK(res1
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21381 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_Py_Void();
21389 if (SWIG_IsTmpObj(res2
)) {
21390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21392 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21395 if (SWIG_IsTmpObj(res3
)) {
21396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21398 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21407 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21408 PyObject
*resultobj
= 0;
21409 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21410 int *arg2
= (int *) 0 ;
21411 int *arg3
= (int *) 0 ;
21415 int res2
= SWIG_TMPOBJ
;
21417 int res3
= SWIG_TMPOBJ
;
21418 PyObject
*swig_obj
[1] ;
21422 if (!args
) SWIG_fail
;
21423 swig_obj
[0] = args
;
21424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21425 if (!SWIG_IsOK(res1
)) {
21426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21428 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_Py_Void();
21436 if (SWIG_IsTmpObj(res2
)) {
21437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21439 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21442 if (SWIG_IsTmpObj(res3
)) {
21443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21445 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21454 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21455 PyObject
*resultobj
= 0;
21456 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21457 int *arg2
= (int *) 0 ;
21458 int *arg3
= (int *) 0 ;
21462 int res2
= SWIG_TMPOBJ
;
21464 int res3
= SWIG_TMPOBJ
;
21465 PyObject
*swig_obj
[1] ;
21469 if (!args
) SWIG_fail
;
21470 swig_obj
[0] = args
;
21471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21475 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_Py_Void();
21483 if (SWIG_IsTmpObj(res2
)) {
21484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21486 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21489 if (SWIG_IsTmpObj(res3
)) {
21490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21492 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21501 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21502 PyObject
*resultobj
= 0;
21503 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21507 PyObject
*swig_obj
[1] ;
21509 if (!args
) SWIG_fail
;
21510 swig_obj
[0] = args
;
21511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21512 if (!SWIG_IsOK(res1
)) {
21513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21515 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21529 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21530 PyObject
*resultobj
= 0;
21531 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21535 PyObject
*swig_obj
[1] ;
21537 if (!args
) SWIG_fail
;
21538 swig_obj
[0] = args
;
21539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21540 if (!SWIG_IsOK(res1
)) {
21541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21543 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21557 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21558 PyObject
*resultobj
= 0;
21559 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21560 SwigValueWrapper
<wxVisualAttributes
> result
;
21563 PyObject
*swig_obj
[1] ;
21565 if (!args
) SWIG_fail
;
21566 swig_obj
[0] = args
;
21567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21568 if (!SWIG_IsOK(res1
)) {
21569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21571 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (arg1
)->GetDefaultAttributes();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21585 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21586 PyObject
*resultobj
= 0;
21587 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21590 PyObject
*swig_obj
[1] ;
21592 if (!args
) SWIG_fail
;
21593 swig_obj
[0] = args
;
21594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21595 if (!SWIG_IsOK(res1
)) {
21596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21598 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 (arg1
)->OnInternalIdle();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= SWIG_Py_Void();
21612 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21615 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21616 return SWIG_Py_Void();
21619 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21620 return SWIG_Python_InitShadowInstance(args
);
21623 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
= 0;
21625 wxWindow
*arg1
= (wxWindow
*) 0 ;
21626 int arg2
= (int) (int)-1 ;
21627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21631 long arg5
= (long) 0 ;
21632 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21633 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21634 wxPyPanel
*result
= 0 ;
21643 bool temp6
= false ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 PyObject
* obj2
= 0 ;
21647 PyObject
* obj3
= 0 ;
21648 PyObject
* obj4
= 0 ;
21649 PyObject
* obj5
= 0 ;
21650 char * kwnames
[] = {
21651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21656 if (!SWIG_IsOK(res1
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21662 if (!SWIG_IsOK(ecode2
)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21665 arg2
= static_cast< int >(val2
);
21670 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21676 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21680 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21681 if (!SWIG_IsOK(ecode5
)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21684 arg5
= static_cast< long >(val5
);
21688 arg6
= wxString_in_helper(obj5
);
21689 if (arg6
== NULL
) SWIG_fail
;
21694 if (!wxPyCheckForApp()) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21715 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21716 PyObject
*resultobj
= 0;
21717 wxPyPanel
*result
= 0 ;
21719 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21721 if (!wxPyCheckForApp()) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (wxPyPanel
*)new wxPyPanel();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21734 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= 0;
21736 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21737 PyObject
*arg2
= (PyObject
*) 0 ;
21738 PyObject
*arg3
= (PyObject
*) 0 ;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 PyObject
* obj2
= 0 ;
21744 char * kwnames
[] = {
21745 (char *) "self",(char *) "self",(char *) "_class", NULL
21748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21750 if (!SWIG_IsOK(res1
)) {
21751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21753 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_Py_Void();
21769 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
= 0;
21771 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 char * kwnames
[] = {
21779 (char *) "self",(char *) "size", NULL
21782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21787 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21790 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_Py_Void();
21805 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= 0;
21807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21808 wxDC
*arg2
= (wxDC
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char * kwnames
[] = {
21817 (char *) "self",(char *) "dc", NULL
21820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21822 if (!SWIG_IsOK(res1
)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21825 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21827 if (!SWIG_IsOK(res2
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21830 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21846 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
= 0;
21848 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 PyObject
* obj2
= 0 ;
21866 PyObject
* obj3
= 0 ;
21867 PyObject
* obj4
= 0 ;
21868 char * kwnames
[] = {
21869 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21874 if (!SWIG_IsOK(res1
)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21877 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21879 if (!SWIG_IsOK(ecode2
)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21882 arg2
= static_cast< int >(val2
);
21883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21884 if (!SWIG_IsOK(ecode3
)) {
21885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21887 arg3
= static_cast< int >(val3
);
21888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21889 if (!SWIG_IsOK(ecode4
)) {
21890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21892 arg4
= static_cast< int >(val4
);
21893 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21894 if (!SWIG_IsOK(ecode5
)) {
21895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21897 arg5
= static_cast< int >(val5
);
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 resultobj
= SWIG_Py_Void();
21911 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
= 0;
21913 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21918 int arg6
= (int) wxSIZE_AUTO
;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 PyObject
* obj2
= 0 ;
21934 PyObject
* obj3
= 0 ;
21935 PyObject
* obj4
= 0 ;
21936 PyObject
* obj5
= 0 ;
21937 char * kwnames
[] = {
21938 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21946 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21948 if (!SWIG_IsOK(ecode2
)) {
21949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21951 arg2
= static_cast< int >(val2
);
21952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21953 if (!SWIG_IsOK(ecode3
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21956 arg3
= static_cast< int >(val3
);
21957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21958 if (!SWIG_IsOK(ecode4
)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21961 arg4
= static_cast< int >(val4
);
21962 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21963 if (!SWIG_IsOK(ecode5
)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21966 arg5
= static_cast< int >(val5
);
21968 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21969 if (!SWIG_IsOK(ecode6
)) {
21970 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21972 arg6
= static_cast< int >(val6
);
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_Py_Void();
21987 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= 0;
21989 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 PyObject
* obj2
= 0 ;
22001 char * kwnames
[] = {
22002 (char *) "self",(char *) "width",(char *) "height", NULL
22005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22010 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22012 if (!SWIG_IsOK(ecode2
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22015 arg2
= static_cast< int >(val2
);
22016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22017 if (!SWIG_IsOK(ecode3
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22020 arg3
= static_cast< int >(val3
);
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 (arg1
)->DoSetClientSize(arg2
,arg3
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= SWIG_Py_Void();
22034 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
= 0;
22036 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22045 PyObject
* obj0
= 0 ;
22046 PyObject
* obj1
= 0 ;
22047 PyObject
* obj2
= 0 ;
22048 char * kwnames
[] = {
22049 (char *) "self",(char *) "x",(char *) "y", NULL
22052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22054 if (!SWIG_IsOK(res1
)) {
22055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22057 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22059 if (!SWIG_IsOK(ecode2
)) {
22060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22062 arg2
= static_cast< int >(val2
);
22063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22064 if (!SWIG_IsOK(ecode3
)) {
22065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22067 arg3
= static_cast< int >(val3
);
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= SWIG_Py_Void();
22081 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22082 PyObject
*resultobj
= 0;
22083 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22084 int *arg2
= (int *) 0 ;
22085 int *arg3
= (int *) 0 ;
22089 int res2
= SWIG_TMPOBJ
;
22091 int res3
= SWIG_TMPOBJ
;
22092 PyObject
*swig_obj
[1] ;
22096 if (!args
) SWIG_fail
;
22097 swig_obj
[0] = args
;
22098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22099 if (!SWIG_IsOK(res1
)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22102 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= SWIG_Py_Void();
22110 if (SWIG_IsTmpObj(res2
)) {
22111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22113 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22116 if (SWIG_IsTmpObj(res3
)) {
22117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22119 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22128 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22129 PyObject
*resultobj
= 0;
22130 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22131 int *arg2
= (int *) 0 ;
22132 int *arg3
= (int *) 0 ;
22136 int res2
= SWIG_TMPOBJ
;
22138 int res3
= SWIG_TMPOBJ
;
22139 PyObject
*swig_obj
[1] ;
22143 if (!args
) SWIG_fail
;
22144 swig_obj
[0] = args
;
22145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22146 if (!SWIG_IsOK(res1
)) {
22147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22149 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= SWIG_Py_Void();
22157 if (SWIG_IsTmpObj(res2
)) {
22158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22160 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22163 if (SWIG_IsTmpObj(res3
)) {
22164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22166 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22175 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 PyObject
*resultobj
= 0;
22177 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22178 int *arg2
= (int *) 0 ;
22179 int *arg3
= (int *) 0 ;
22183 int res2
= SWIG_TMPOBJ
;
22185 int res3
= SWIG_TMPOBJ
;
22186 PyObject
*swig_obj
[1] ;
22190 if (!args
) SWIG_fail
;
22191 swig_obj
[0] = args
;
22192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22193 if (!SWIG_IsOK(res1
)) {
22194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22196 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_Py_Void();
22204 if (SWIG_IsTmpObj(res2
)) {
22205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22207 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22210 if (SWIG_IsTmpObj(res3
)) {
22211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22213 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22222 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22228 PyObject
*swig_obj
[1] ;
22230 if (!args
) SWIG_fail
;
22231 swig_obj
[0] = args
;
22232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22236 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22250 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 PyObject
*resultobj
= 0;
22252 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22256 PyObject
*swig_obj
[1] ;
22258 if (!args
) SWIG_fail
;
22259 swig_obj
[0] = args
;
22260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22261 if (!SWIG_IsOK(res1
)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22264 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22278 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22279 PyObject
*resultobj
= 0;
22280 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22281 SwigValueWrapper
<wxVisualAttributes
> result
;
22284 PyObject
*swig_obj
[1] ;
22286 if (!args
) SWIG_fail
;
22287 swig_obj
[0] = args
;
22288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22289 if (!SWIG_IsOK(res1
)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22292 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= (arg1
)->GetDefaultAttributes();
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22306 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22307 PyObject
*resultobj
= 0;
22308 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22311 PyObject
*swig_obj
[1] ;
22313 if (!args
) SWIG_fail
;
22314 swig_obj
[0] = args
;
22315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22319 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 (arg1
)->OnInternalIdle();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_Py_Void();
22333 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22336 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22337 return SWIG_Py_Void();
22340 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22341 return SWIG_Python_InitShadowInstance(args
);
22344 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
= 0;
22346 wxWindow
*arg1
= (wxWindow
*) 0 ;
22347 int arg2
= (int) (int)-1 ;
22348 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22349 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22350 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22351 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22352 long arg5
= (long) 0 ;
22353 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22354 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22355 wxPyScrolledWindow
*result
= 0 ;
22364 bool temp6
= false ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 PyObject
* obj2
= 0 ;
22368 PyObject
* obj3
= 0 ;
22369 PyObject
* obj4
= 0 ;
22370 PyObject
* obj5
= 0 ;
22371 char * kwnames
[] = {
22372 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22377 if (!SWIG_IsOK(res1
)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22380 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22383 if (!SWIG_IsOK(ecode2
)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22386 arg2
= static_cast< int >(val2
);
22391 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22397 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22401 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22402 if (!SWIG_IsOK(ecode5
)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22405 arg5
= static_cast< long >(val5
);
22409 arg6
= wxString_in_helper(obj5
);
22410 if (arg6
== NULL
) SWIG_fail
;
22415 if (!wxPyCheckForApp()) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22436 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22437 PyObject
*resultobj
= 0;
22438 wxPyScrolledWindow
*result
= 0 ;
22440 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22442 if (!wxPyCheckForApp()) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22455 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
= 0;
22457 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22458 PyObject
*arg2
= (PyObject
*) 0 ;
22459 PyObject
*arg3
= (PyObject
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 PyObject
* obj1
= 0 ;
22464 PyObject
* obj2
= 0 ;
22465 char * kwnames
[] = {
22466 (char *) "self",(char *) "self",(char *) "_class", NULL
22469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22474 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_Py_Void();
22490 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
= 0;
22492 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22499 char * kwnames
[] = {
22500 (char *) "self",(char *) "size", NULL
22503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22508 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22511 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= SWIG_Py_Void();
22526 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
= 0;
22528 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22529 wxDC
*arg2
= (wxDC
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 char * kwnames
[] = {
22538 (char *) "self",(char *) "dc", NULL
22541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22543 if (!SWIG_IsOK(res1
)) {
22544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22546 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22548 if (!SWIG_IsOK(res2
)) {
22549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22551 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22567 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
= 0;
22569 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 PyObject
* obj2
= 0 ;
22587 PyObject
* obj3
= 0 ;
22588 PyObject
* obj4
= 0 ;
22589 char * kwnames
[] = {
22590 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22595 if (!SWIG_IsOK(res1
)) {
22596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22598 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22600 if (!SWIG_IsOK(ecode2
)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22603 arg2
= static_cast< int >(val2
);
22604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22605 if (!SWIG_IsOK(ecode3
)) {
22606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22608 arg3
= static_cast< int >(val3
);
22609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22610 if (!SWIG_IsOK(ecode4
)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22613 arg4
= static_cast< int >(val4
);
22614 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22615 if (!SWIG_IsOK(ecode5
)) {
22616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22618 arg5
= static_cast< int >(val5
);
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_Py_Void();
22632 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
= 0;
22634 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22639 int arg6
= (int) wxSIZE_AUTO
;
22652 PyObject
* obj0
= 0 ;
22653 PyObject
* obj1
= 0 ;
22654 PyObject
* obj2
= 0 ;
22655 PyObject
* obj3
= 0 ;
22656 PyObject
* obj4
= 0 ;
22657 PyObject
* obj5
= 0 ;
22658 char * kwnames
[] = {
22659 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22664 if (!SWIG_IsOK(res1
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22667 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22669 if (!SWIG_IsOK(ecode2
)) {
22670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22672 arg2
= static_cast< int >(val2
);
22673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22674 if (!SWIG_IsOK(ecode3
)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22677 arg3
= static_cast< int >(val3
);
22678 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22679 if (!SWIG_IsOK(ecode4
)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22682 arg4
= static_cast< int >(val4
);
22683 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22684 if (!SWIG_IsOK(ecode5
)) {
22685 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22687 arg5
= static_cast< int >(val5
);
22689 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22690 if (!SWIG_IsOK(ecode6
)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22693 arg6
= static_cast< int >(val6
);
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_Py_Void();
22708 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
= 0;
22710 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 PyObject
* obj2
= 0 ;
22722 char * kwnames
[] = {
22723 (char *) "self",(char *) "width",(char *) "height", NULL
22726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22728 if (!SWIG_IsOK(res1
)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22731 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22733 if (!SWIG_IsOK(ecode2
)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22736 arg2
= static_cast< int >(val2
);
22737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22738 if (!SWIG_IsOK(ecode3
)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22741 arg3
= static_cast< int >(val3
);
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->DoSetClientSize(arg2
,arg3
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_Py_Void();
22755 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
= 0;
22757 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 PyObject
* obj2
= 0 ;
22769 char * kwnames
[] = {
22770 (char *) "self",(char *) "x",(char *) "y", NULL
22773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22775 if (!SWIG_IsOK(res1
)) {
22776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22778 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22780 if (!SWIG_IsOK(ecode2
)) {
22781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22783 arg2
= static_cast< int >(val2
);
22784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22785 if (!SWIG_IsOK(ecode3
)) {
22786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22788 arg3
= static_cast< int >(val3
);
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= SWIG_Py_Void();
22802 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22803 PyObject
*resultobj
= 0;
22804 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22805 int *arg2
= (int *) 0 ;
22806 int *arg3
= (int *) 0 ;
22810 int res2
= SWIG_TMPOBJ
;
22812 int res3
= SWIG_TMPOBJ
;
22813 PyObject
*swig_obj
[1] ;
22817 if (!args
) SWIG_fail
;
22818 swig_obj
[0] = args
;
22819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22823 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= SWIG_Py_Void();
22831 if (SWIG_IsTmpObj(res2
)) {
22832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22834 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22837 if (SWIG_IsTmpObj(res3
)) {
22838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22840 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22849 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22850 PyObject
*resultobj
= 0;
22851 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22852 int *arg2
= (int *) 0 ;
22853 int *arg3
= (int *) 0 ;
22857 int res2
= SWIG_TMPOBJ
;
22859 int res3
= SWIG_TMPOBJ
;
22860 PyObject
*swig_obj
[1] ;
22864 if (!args
) SWIG_fail
;
22865 swig_obj
[0] = args
;
22866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22867 if (!SWIG_IsOK(res1
)) {
22868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22870 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_Py_Void();
22878 if (SWIG_IsTmpObj(res2
)) {
22879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22881 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22884 if (SWIG_IsTmpObj(res3
)) {
22885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22887 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22896 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 PyObject
*resultobj
= 0;
22898 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22899 int *arg2
= (int *) 0 ;
22900 int *arg3
= (int *) 0 ;
22904 int res2
= SWIG_TMPOBJ
;
22906 int res3
= SWIG_TMPOBJ
;
22907 PyObject
*swig_obj
[1] ;
22911 if (!args
) SWIG_fail
;
22912 swig_obj
[0] = args
;
22913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22914 if (!SWIG_IsOK(res1
)) {
22915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22917 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= SWIG_Py_Void();
22925 if (SWIG_IsTmpObj(res2
)) {
22926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22928 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22931 if (SWIG_IsTmpObj(res3
)) {
22932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22934 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22943 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22944 PyObject
*resultobj
= 0;
22945 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22949 PyObject
*swig_obj
[1] ;
22951 if (!args
) SWIG_fail
;
22952 swig_obj
[0] = args
;
22953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22954 if (!SWIG_IsOK(res1
)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22957 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22971 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22972 PyObject
*resultobj
= 0;
22973 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22977 PyObject
*swig_obj
[1] ;
22979 if (!args
) SWIG_fail
;
22980 swig_obj
[0] = args
;
22981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22982 if (!SWIG_IsOK(res1
)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22985 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22999 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23000 PyObject
*resultobj
= 0;
23001 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23002 SwigValueWrapper
<wxVisualAttributes
> result
;
23005 PyObject
*swig_obj
[1] ;
23007 if (!args
) SWIG_fail
;
23008 swig_obj
[0] = args
;
23009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23010 if (!SWIG_IsOK(res1
)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23013 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (arg1
)->GetDefaultAttributes();
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23027 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23028 PyObject
*resultobj
= 0;
23029 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23032 PyObject
*swig_obj
[1] ;
23034 if (!args
) SWIG_fail
;
23035 swig_obj
[0] = args
;
23036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23037 if (!SWIG_IsOK(res1
)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23040 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 (arg1
)->OnInternalIdle();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_Py_Void();
23054 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23057 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23058 return SWIG_Py_Void();
23061 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 return SWIG_Python_InitShadowInstance(args
);
23065 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23066 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23071 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23072 PyObject
*pyobj
= 0;
23076 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23078 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23085 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23086 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23091 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23092 PyObject
*pyobj
= 0;
23096 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23098 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23105 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23106 PyObject
*resultobj
= 0;
23107 wxPrintData
*result
= 0 ;
23109 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (wxPrintData
*)new wxPrintData();
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23123 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23124 PyObject
*resultobj
= 0;
23125 wxPrintData
*arg1
= 0 ;
23126 wxPrintData
*result
= 0 ;
23130 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23132 if (!SWIG_IsOK(res1
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23138 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23152 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23156 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23159 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23162 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23166 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23171 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23172 PyObject
*resultobj
= 0;
23173 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23176 PyObject
*swig_obj
[1] ;
23178 if (!args
) SWIG_fail
;
23179 swig_obj
[0] = args
;
23180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23181 if (!SWIG_IsOK(res1
)) {
23182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23184 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_Py_Void();
23199 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23200 PyObject
*resultobj
= 0;
23201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23205 PyObject
*swig_obj
[1] ;
23207 if (!args
) SWIG_fail
;
23208 swig_obj
[0] = args
;
23209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23210 if (!SWIG_IsOK(res1
)) {
23211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23213 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (int)(arg1
)->GetNoCopies();
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_From_int(static_cast< int >(result
));
23227 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23228 PyObject
*resultobj
= 0;
23229 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23233 PyObject
*swig_obj
[1] ;
23235 if (!args
) SWIG_fail
;
23236 swig_obj
[0] = args
;
23237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23241 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (bool)(arg1
)->GetCollate();
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23257 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23258 PyObject
*resultobj
= 0;
23259 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23263 PyObject
*swig_obj
[1] ;
23265 if (!args
) SWIG_fail
;
23266 swig_obj
[0] = args
;
23267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23271 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (int)(arg1
)->GetOrientation();
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_From_int(static_cast< int >(result
));
23285 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23286 PyObject
*resultobj
= 0;
23287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23291 PyObject
*swig_obj
[1] ;
23293 if (!args
) SWIG_fail
;
23294 swig_obj
[0] = args
;
23295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23299 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (bool)(arg1
)->Ok();
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23315 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23316 PyObject
*resultobj
= 0;
23317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23318 wxString
*result
= 0 ;
23321 PyObject
*swig_obj
[1] ;
23323 if (!args
) SWIG_fail
;
23324 swig_obj
[0] = args
;
23325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23329 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23334 result
= (wxString
*) &_result_ref
;
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23343 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23352 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23353 PyObject
*resultobj
= 0;
23354 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23358 PyObject
*swig_obj
[1] ;
23360 if (!args
) SWIG_fail
;
23361 swig_obj
[0] = args
;
23362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23363 if (!SWIG_IsOK(res1
)) {
23364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23366 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (bool)(arg1
)->GetColour();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23382 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23383 PyObject
*resultobj
= 0;
23384 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23385 wxDuplexMode result
;
23388 PyObject
*swig_obj
[1] ;
23390 if (!args
) SWIG_fail
;
23391 swig_obj
[0] = args
;
23392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23393 if (!SWIG_IsOK(res1
)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23396 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_From_int(static_cast< int >(result
));
23410 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23411 PyObject
*resultobj
= 0;
23412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23413 wxPaperSize result
;
23416 PyObject
*swig_obj
[1] ;
23418 if (!args
) SWIG_fail
;
23419 swig_obj
[0] = args
;
23420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23424 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_From_int(static_cast< int >(result
));
23438 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23439 PyObject
*resultobj
= 0;
23440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23441 wxSize
*result
= 0 ;
23444 PyObject
*swig_obj
[1] ;
23446 if (!args
) SWIG_fail
;
23447 swig_obj
[0] = args
;
23448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23452 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23457 result
= (wxSize
*) &_result_ref
;
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23469 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 PyObject
*resultobj
= 0;
23471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23475 PyObject
*swig_obj
[1] ;
23477 if (!args
) SWIG_fail
;
23478 swig_obj
[0] = args
;
23479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23483 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (int)(arg1
)->GetQuality();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= SWIG_From_int(static_cast< int >(result
));
23497 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23498 PyObject
*resultobj
= 0;
23499 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23503 PyObject
*swig_obj
[1] ;
23505 if (!args
) SWIG_fail
;
23506 swig_obj
[0] = args
;
23507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23511 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= (wxPrintBin
)(arg1
)->GetBin();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_From_int(static_cast< int >(result
));
23525 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 PyObject
*resultobj
= 0;
23527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23528 wxPrintMode result
;
23531 PyObject
*swig_obj
[1] ;
23533 if (!args
) SWIG_fail
;
23534 swig_obj
[0] = args
;
23535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23536 if (!SWIG_IsOK(res1
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23539 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_From_int(static_cast< int >(result
));
23553 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= 0;
23555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char * kwnames
[] = {
23564 (char *) "self",(char *) "v", NULL
23567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23572 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23574 if (!SWIG_IsOK(ecode2
)) {
23575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23577 arg2
= static_cast< int >(val2
);
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->SetNoCopies(arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_Py_Void();
23591 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
= 0;
23593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char * kwnames
[] = {
23602 (char *) "self",(char *) "flag", NULL
23605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23610 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23612 if (!SWIG_IsOK(ecode2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23615 arg2
= static_cast< bool >(val2
);
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 (arg1
)->SetCollate(arg2
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_Py_Void();
23629 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
= 0;
23631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char * kwnames
[] = {
23640 (char *) "self",(char *) "orient", NULL
23643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23648 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23650 if (!SWIG_IsOK(ecode2
)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23653 arg2
= static_cast< int >(val2
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 (arg1
)->SetOrientation(arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_Py_Void();
23667 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
= 0;
23669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23670 wxString
*arg2
= 0 ;
23673 bool temp2
= false ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char * kwnames
[] = {
23677 (char *) "self",(char *) "name", NULL
23680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23682 if (!SWIG_IsOK(res1
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23685 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23687 arg2
= wxString_in_helper(obj1
);
23688 if (arg2
== NULL
) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_Py_Void();
23712 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
= 0;
23714 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char * kwnames
[] = {
23723 (char *) "self",(char *) "colour", NULL
23726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23728 if (!SWIG_IsOK(res1
)) {
23729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23731 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23733 if (!SWIG_IsOK(ecode2
)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23736 arg2
= static_cast< bool >(val2
);
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 (arg1
)->SetColour(arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= SWIG_Py_Void();
23750 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
= 0;
23752 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23753 wxDuplexMode arg2
;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj1
= 0 ;
23760 char * kwnames
[] = {
23761 (char *) "self",(char *) "duplex", NULL
23764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23766 if (!SWIG_IsOK(res1
)) {
23767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23769 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23771 if (!SWIG_IsOK(ecode2
)) {
23772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23774 arg2
= static_cast< wxDuplexMode
>(val2
);
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 (arg1
)->SetDuplex(arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_Py_Void();
23788 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
= 0;
23790 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 char * kwnames
[] = {
23799 (char *) "self",(char *) "sizeId", NULL
23802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23804 if (!SWIG_IsOK(res1
)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23807 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23809 if (!SWIG_IsOK(ecode2
)) {
23810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23812 arg2
= static_cast< wxPaperSize
>(val2
);
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 (arg1
)->SetPaperId(arg2
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_Py_Void();
23826 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
= 0;
23828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 char * kwnames
[] = {
23836 (char *) "self",(char *) "sz", NULL
23839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23844 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23847 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_Py_Void();
23862 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
= 0;
23864 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 char * kwnames
[] = {
23873 (char *) "self",(char *) "quality", NULL
23876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23878 if (!SWIG_IsOK(res1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23881 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23883 if (!SWIG_IsOK(ecode2
)) {
23884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23886 arg2
= static_cast< int >(val2
);
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->SetQuality(arg2
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_Py_Void();
23900 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
= 0;
23902 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char * kwnames
[] = {
23911 (char *) "self",(char *) "bin", NULL
23914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23919 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23921 if (!SWIG_IsOK(ecode2
)) {
23922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23924 arg2
= static_cast< wxPrintBin
>(val2
);
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->SetBin(arg2
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= SWIG_Py_Void();
23938 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
= 0;
23940 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 char * kwnames
[] = {
23949 (char *) "self",(char *) "printMode", NULL
23952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23954 if (!SWIG_IsOK(res1
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23957 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23959 if (!SWIG_IsOK(ecode2
)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23962 arg2
= static_cast< wxPrintMode
>(val2
);
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 (arg1
)->SetPrintMode(arg2
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_Py_Void();
23976 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23977 PyObject
*resultobj
= 0;
23978 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23982 PyObject
*swig_obj
[1] ;
23984 if (!args
) SWIG_fail
;
23985 swig_obj
[0] = args
;
23986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23987 if (!SWIG_IsOK(res1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23990 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 result
= ((wxPrintData
const *)arg1
)->GetFilename();
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24010 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
= 0;
24012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24013 wxString
*arg2
= 0 ;
24016 bool temp2
= false ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 char * kwnames
[] = {
24020 (char *) "self",(char *) "filename", NULL
24023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24028 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24030 arg2
= wxString_in_helper(obj1
);
24031 if (arg2
== NULL
) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetFilename((wxString
const &)*arg2
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= SWIG_Py_Void();
24055 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24056 PyObject
*resultobj
= 0;
24057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24058 PyObject
*result
= 0 ;
24061 PyObject
*swig_obj
[1] ;
24063 if (!args
) SWIG_fail
;
24064 swig_obj
[0] = args
;
24065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24066 if (!SWIG_IsOK(res1
)) {
24067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24069 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= result
;
24083 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
= 0;
24085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24086 PyObject
*arg2
= (PyObject
*) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 char * kwnames
[] = {
24092 (char *) "self",(char *) "data", NULL
24095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24097 if (!SWIG_IsOK(res1
)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24100 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 wxPrintData_SetPrivData(arg1
,arg2
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_Py_Void();
24115 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24119 return SWIG_Py_Void();
24122 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24123 return SWIG_Python_InitShadowInstance(args
);
24126 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24127 PyObject
*resultobj
= 0;
24128 wxPageSetupDialogData
*result
= 0 ;
24130 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24144 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24145 PyObject
*resultobj
= 0;
24146 wxPageSetupDialogData
*arg1
= 0 ;
24147 wxPageSetupDialogData
*result
= 0 ;
24151 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24153 if (!SWIG_IsOK(res1
)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24159 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24173 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24174 PyObject
*resultobj
= 0;
24175 wxPrintData
*arg1
= 0 ;
24176 wxPageSetupDialogData
*result
= 0 ;
24180 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24182 if (!SWIG_IsOK(res1
)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24188 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24202 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24206 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24209 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24214 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24215 _v
= SWIG_CheckState(res
);
24217 if (!_v
) goto check_2
;
24218 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24223 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24227 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24232 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24233 PyObject
*resultobj
= 0;
24234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24237 PyObject
*swig_obj
[1] ;
24239 if (!args
) SWIG_fail
;
24240 swig_obj
[0] = args
;
24241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24245 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_Py_Void();
24260 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
= 0;
24262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "self",(char *) "flag", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24279 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24280 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24281 if (!SWIG_IsOK(ecode2
)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24284 arg2
= static_cast< bool >(val2
);
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 (arg1
)->EnableHelp(arg2
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= SWIG_Py_Void();
24298 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
= 0;
24300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 char * kwnames
[] = {
24309 (char *) "self",(char *) "flag", NULL
24312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24314 if (!SWIG_IsOK(res1
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24317 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24318 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24319 if (!SWIG_IsOK(ecode2
)) {
24320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24322 arg2
= static_cast< bool >(val2
);
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 (arg1
)->EnableMargins(arg2
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_Py_Void();
24336 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
= 0;
24338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "flag", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24355 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24360 arg2
= static_cast< bool >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 (arg1
)->EnableOrientation(arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_Py_Void();
24374 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
= 0;
24376 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 char * kwnames
[] = {
24385 (char *) "self",(char *) "flag", NULL
24388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24393 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24394 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24395 if (!SWIG_IsOK(ecode2
)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24398 arg2
= static_cast< bool >(val2
);
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 (arg1
)->EnablePaper(arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= SWIG_Py_Void();
24412 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
= 0;
24414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 char * kwnames
[] = {
24423 (char *) "self",(char *) "flag", NULL
24426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24428 if (!SWIG_IsOK(res1
)) {
24429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24431 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24432 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24433 if (!SWIG_IsOK(ecode2
)) {
24434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24436 arg2
= static_cast< bool >(val2
);
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 (arg1
)->EnablePrinter(arg2
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= SWIG_Py_Void();
24450 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24451 PyObject
*resultobj
= 0;
24452 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24456 PyObject
*swig_obj
[1] ;
24458 if (!args
) SWIG_fail
;
24459 swig_obj
[0] = args
;
24460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24464 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 result
= (bool)(arg1
)->GetDefaultMinMargins();
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24480 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24481 PyObject
*resultobj
= 0;
24482 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24486 PyObject
*swig_obj
[1] ;
24488 if (!args
) SWIG_fail
;
24489 swig_obj
[0] = args
;
24490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24491 if (!SWIG_IsOK(res1
)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24494 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= (bool)(arg1
)->GetEnableMargins();
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24510 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24511 PyObject
*resultobj
= 0;
24512 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24516 PyObject
*swig_obj
[1] ;
24518 if (!args
) SWIG_fail
;
24519 swig_obj
[0] = args
;
24520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24524 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (bool)(arg1
)->GetEnableOrientation();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24540 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24541 PyObject
*resultobj
= 0;
24542 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24546 PyObject
*swig_obj
[1] ;
24548 if (!args
) SWIG_fail
;
24549 swig_obj
[0] = args
;
24550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24554 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (bool)(arg1
)->GetEnablePaper();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24570 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24571 PyObject
*resultobj
= 0;
24572 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24576 PyObject
*swig_obj
[1] ;
24578 if (!args
) SWIG_fail
;
24579 swig_obj
[0] = args
;
24580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24581 if (!SWIG_IsOK(res1
)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24584 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (bool)(arg1
)->GetEnablePrinter();
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24600 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24601 PyObject
*resultobj
= 0;
24602 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24606 PyObject
*swig_obj
[1] ;
24608 if (!args
) SWIG_fail
;
24609 swig_obj
[0] = args
;
24610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24611 if (!SWIG_IsOK(res1
)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24614 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (bool)(arg1
)->GetEnableHelp();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24630 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24631 PyObject
*resultobj
= 0;
24632 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24636 PyObject
*swig_obj
[1] ;
24638 if (!args
) SWIG_fail
;
24639 swig_obj
[0] = args
;
24640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24641 if (!SWIG_IsOK(res1
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24644 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (bool)(arg1
)->GetDefaultInfo();
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24660 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24661 PyObject
*resultobj
= 0;
24662 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24666 PyObject
*swig_obj
[1] ;
24668 if (!args
) SWIG_fail
;
24669 swig_obj
[0] = args
;
24670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24674 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (arg1
)->GetMarginTopLeft();
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24688 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24689 PyObject
*resultobj
= 0;
24690 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24694 PyObject
*swig_obj
[1] ;
24696 if (!args
) SWIG_fail
;
24697 swig_obj
[0] = args
;
24698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24699 if (!SWIG_IsOK(res1
)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24702 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (arg1
)->GetMarginBottomRight();
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24716 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24717 PyObject
*resultobj
= 0;
24718 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24722 PyObject
*swig_obj
[1] ;
24724 if (!args
) SWIG_fail
;
24725 swig_obj
[0] = args
;
24726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24730 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (arg1
)->GetMinMarginTopLeft();
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24744 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24745 PyObject
*resultobj
= 0;
24746 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24750 PyObject
*swig_obj
[1] ;
24752 if (!args
) SWIG_fail
;
24753 swig_obj
[0] = args
;
24754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24758 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (arg1
)->GetMinMarginBottomRight();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24772 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24773 PyObject
*resultobj
= 0;
24774 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24775 wxPaperSize result
;
24778 PyObject
*swig_obj
[1] ;
24780 if (!args
) SWIG_fail
;
24781 swig_obj
[0] = args
;
24782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24786 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= SWIG_From_int(static_cast< int >(result
));
24800 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24801 PyObject
*resultobj
= 0;
24802 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24806 PyObject
*swig_obj
[1] ;
24808 if (!args
) SWIG_fail
;
24809 swig_obj
[0] = args
;
24810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24811 if (!SWIG_IsOK(res1
)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24814 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (arg1
)->GetPaperSize();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24828 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24829 PyObject
*resultobj
= 0;
24830 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24831 wxPrintData
*result
= 0 ;
24834 PyObject
*swig_obj
[1] ;
24836 if (!args
) SWIG_fail
;
24837 swig_obj
[0] = args
;
24838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24842 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24847 result
= (wxPrintData
*) &_result_ref
;
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24859 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24860 PyObject
*resultobj
= 0;
24861 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24865 PyObject
*swig_obj
[1] ;
24867 if (!args
) SWIG_fail
;
24868 swig_obj
[0] = args
;
24869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24873 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (bool)(arg1
)->Ok();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24889 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
= 0;
24891 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "self",(char *) "flag", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24908 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24909 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24910 if (!SWIG_IsOK(ecode2
)) {
24911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24913 arg2
= static_cast< bool >(val2
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->SetDefaultInfo(arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_Py_Void();
24927 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
= 0;
24929 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 char * kwnames
[] = {
24938 (char *) "self",(char *) "flag", NULL
24941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24946 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24947 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24948 if (!SWIG_IsOK(ecode2
)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24951 arg2
= static_cast< bool >(val2
);
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 (arg1
)->SetDefaultMinMargins(arg2
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= SWIG_Py_Void();
24965 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
= 0;
24967 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24968 wxPoint
*arg2
= 0 ;
24972 PyObject
* obj0
= 0 ;
24973 PyObject
* obj1
= 0 ;
24974 char * kwnames
[] = {
24975 (char *) "self",(char *) "pt", NULL
24978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24980 if (!SWIG_IsOK(res1
)) {
24981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24983 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_Py_Void();
25001 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
= 0;
25003 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25004 wxPoint
*arg2
= 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 char * kwnames
[] = {
25011 (char *) "self",(char *) "pt", NULL
25014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25016 if (!SWIG_IsOK(res1
)) {
25017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25019 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_Py_Void();
25037 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
= 0;
25039 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25040 wxPoint
*arg2
= 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char * kwnames
[] = {
25047 (char *) "self",(char *) "pt", NULL
25050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25055 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= SWIG_Py_Void();
25073 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
= 0;
25075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25076 wxPoint
*arg2
= 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 char * kwnames
[] = {
25083 (char *) "self",(char *) "pt", NULL
25086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25088 if (!SWIG_IsOK(res1
)) {
25089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25091 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_Py_Void();
25109 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
= 0;
25111 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 char * kwnames
[] = {
25120 (char *) "self",(char *) "id", NULL
25123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25125 if (!SWIG_IsOK(res1
)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25128 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25130 if (!SWIG_IsOK(ecode2
)) {
25131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25133 arg2
= static_cast< wxPaperSize
>(val2
);
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 (arg1
)->SetPaperId(arg2
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_Py_Void();
25147 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
= 0;
25149 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 char * kwnames
[] = {
25157 (char *) "self",(char *) "size", NULL
25160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25162 if (!SWIG_IsOK(res1
)) {
25163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25165 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25168 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= SWIG_Py_Void();
25183 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25184 PyObject
*resultobj
= 0;
25185 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25186 wxPrintData
*arg2
= 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 char * kwnames
[] = {
25194 (char *) "self",(char *) "printData", NULL
25197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25199 if (!SWIG_IsOK(res1
)) {
25200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25202 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25204 if (!SWIG_IsOK(res2
)) {
25205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25210 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= SWIG_Py_Void();
25224 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25225 PyObject
*resultobj
= 0;
25226 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25229 PyObject
*swig_obj
[1] ;
25231 if (!args
) SWIG_fail
;
25232 swig_obj
[0] = args
;
25233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25234 if (!SWIG_IsOK(res1
)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25237 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 (arg1
)->CalculateIdFromPaperSize();
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_Py_Void();
25251 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25252 PyObject
*resultobj
= 0;
25253 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25256 PyObject
*swig_obj
[1] ;
25258 if (!args
) SWIG_fail
;
25259 swig_obj
[0] = args
;
25260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25264 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 (arg1
)->CalculatePaperSizeFromId();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= SWIG_Py_Void();
25278 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25282 return SWIG_Py_Void();
25285 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 return SWIG_Python_InitShadowInstance(args
);
25289 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
= 0;
25291 wxWindow
*arg1
= (wxWindow
*) 0 ;
25292 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25293 wxPageSetupDialog
*result
= 0 ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 char * kwnames
[] = {
25301 (char *) "parent",(char *) "data", NULL
25304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25312 if (!SWIG_IsOK(res2
)) {
25313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25315 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25318 if (!wxPyCheckForApp()) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25331 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25332 PyObject
*resultobj
= 0;
25333 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25336 PyObject
*swig_obj
[1] ;
25338 if (!args
) SWIG_fail
;
25339 swig_obj
[0] = args
;
25340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25341 if (!SWIG_IsOK(res1
)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25344 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_Py_Void();
25359 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 PyObject
*resultobj
= 0;
25361 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25362 wxPageSetupDialogData
*result
= 0 ;
25365 PyObject
*swig_obj
[1] ;
25367 if (!args
) SWIG_fail
;
25368 swig_obj
[0] = args
;
25369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25373 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25378 result
= (wxPageSetupDialogData
*) &_result_ref
;
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25390 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25391 PyObject
*resultobj
= 0;
25392 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25393 wxPageSetupDialogData
*result
= 0 ;
25396 PyObject
*swig_obj
[1] ;
25398 if (!args
) SWIG_fail
;
25399 swig_obj
[0] = args
;
25400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25401 if (!SWIG_IsOK(res1
)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25404 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25409 result
= (wxPageSetupDialogData
*) &_result_ref
;
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25421 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25422 PyObject
*resultobj
= 0;
25423 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25427 PyObject
*swig_obj
[1] ;
25429 if (!args
) SWIG_fail
;
25430 swig_obj
[0] = args
;
25431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25435 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (int)(arg1
)->ShowModal();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_From_int(static_cast< int >(result
));
25449 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25452 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25453 return SWIG_Py_Void();
25456 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25457 return SWIG_Python_InitShadowInstance(args
);
25460 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25461 PyObject
*resultobj
= 0;
25462 wxPrintDialogData
*result
= 0 ;
25464 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25478 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25479 PyObject
*resultobj
= 0;
25480 wxPrintData
*arg1
= 0 ;
25481 wxPrintDialogData
*result
= 0 ;
25485 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25493 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25507 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25508 PyObject
*resultobj
= 0;
25509 wxPrintDialogData
*arg1
= 0 ;
25510 wxPrintDialogData
*result
= 0 ;
25514 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25516 if (!SWIG_IsOK(res1
)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25522 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25536 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25543 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25548 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25549 _v
= SWIG_CheckState(res
);
25551 if (!_v
) goto check_2
;
25552 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25557 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25561 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25566 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25567 PyObject
*resultobj
= 0;
25568 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25571 PyObject
*swig_obj
[1] ;
25573 if (!args
) SWIG_fail
;
25574 swig_obj
[0] = args
;
25575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25576 if (!SWIG_IsOK(res1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25579 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_Py_Void();
25594 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25595 PyObject
*resultobj
= 0;
25596 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25600 PyObject
*swig_obj
[1] ;
25602 if (!args
) SWIG_fail
;
25603 swig_obj
[0] = args
;
25604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25608 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_From_int(static_cast< int >(result
));
25622 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 PyObject
*resultobj
= 0;
25624 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25628 PyObject
*swig_obj
[1] ;
25630 if (!args
) SWIG_fail
;
25631 swig_obj
[0] = args
;
25632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25636 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= SWIG_From_int(static_cast< int >(result
));
25650 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 PyObject
*resultobj
= 0;
25652 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25656 PyObject
*swig_obj
[1] ;
25658 if (!args
) SWIG_fail
;
25659 swig_obj
[0] = args
;
25660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25664 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_From_int(static_cast< int >(result
));
25678 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25679 PyObject
*resultobj
= 0;
25680 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25684 PyObject
*swig_obj
[1] ;
25686 if (!args
) SWIG_fail
;
25687 swig_obj
[0] = args
;
25688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25689 if (!SWIG_IsOK(res1
)) {
25690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25692 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= SWIG_From_int(static_cast< int >(result
));
25706 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 PyObject
*resultobj
= 0;
25708 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25712 PyObject
*swig_obj
[1] ;
25714 if (!args
) SWIG_fail
;
25715 swig_obj
[0] = args
;
25716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25720 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25727 resultobj
= SWIG_From_int(static_cast< int >(result
));
25734 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 PyObject
*resultobj
= 0;
25736 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25740 PyObject
*swig_obj
[1] ;
25742 if (!args
) SWIG_fail
;
25743 swig_obj
[0] = args
;
25744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25748 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25764 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25765 PyObject
*resultobj
= 0;
25766 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25770 PyObject
*swig_obj
[1] ;
25772 if (!args
) SWIG_fail
;
25773 swig_obj
[0] = args
;
25774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25778 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25794 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25795 PyObject
*resultobj
= 0;
25796 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25800 PyObject
*swig_obj
[1] ;
25802 if (!args
) SWIG_fail
;
25803 swig_obj
[0] = args
;
25804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25805 if (!SWIG_IsOK(res1
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25808 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25824 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25825 PyObject
*resultobj
= 0;
25826 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25830 PyObject
*swig_obj
[1] ;
25832 if (!args
) SWIG_fail
;
25833 swig_obj
[0] = args
;
25834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25835 if (!SWIG_IsOK(res1
)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25838 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25854 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
= 0;
25856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 char * kwnames
[] = {
25865 (char *) "self",(char *) "v", NULL
25868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25870 if (!SWIG_IsOK(res1
)) {
25871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25873 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25875 if (!SWIG_IsOK(ecode2
)) {
25876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25878 arg2
= static_cast< int >(val2
);
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->SetFromPage(arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= SWIG_Py_Void();
25892 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
= 0;
25894 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char * kwnames
[] = {
25903 (char *) "self",(char *) "v", NULL
25906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25908 if (!SWIG_IsOK(res1
)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25911 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25913 if (!SWIG_IsOK(ecode2
)) {
25914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25916 arg2
= static_cast< int >(val2
);
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 (arg1
)->SetToPage(arg2
);
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_Py_Void();
25930 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
= 0;
25932 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 char * kwnames
[] = {
25941 (char *) "self",(char *) "v", NULL
25944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25946 if (!SWIG_IsOK(res1
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25949 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25951 if (!SWIG_IsOK(ecode2
)) {
25952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25954 arg2
= static_cast< int >(val2
);
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 (arg1
)->SetMinPage(arg2
);
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_Py_Void();
25968 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
= 0;
25970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 PyObject
* obj1
= 0 ;
25978 char * kwnames
[] = {
25979 (char *) "self",(char *) "v", NULL
25982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25984 if (!SWIG_IsOK(res1
)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25987 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25989 if (!SWIG_IsOK(ecode2
)) {
25990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25992 arg2
= static_cast< int >(val2
);
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 (arg1
)->SetMaxPage(arg2
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= SWIG_Py_Void();
26006 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
= 0;
26008 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 char * kwnames
[] = {
26017 (char *) "self",(char *) "v", NULL
26020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26022 if (!SWIG_IsOK(res1
)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26025 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26027 if (!SWIG_IsOK(ecode2
)) {
26028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26030 arg2
= static_cast< int >(val2
);
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 (arg1
)->SetNoCopies(arg2
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_Py_Void();
26044 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
= 0;
26046 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 char * kwnames
[] = {
26055 (char *) "self",(char *) "flag", NULL
26058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26063 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26064 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26065 if (!SWIG_IsOK(ecode2
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26068 arg2
= static_cast< bool >(val2
);
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 (arg1
)->SetAllPages(arg2
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_Py_Void();
26082 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
= 0;
26084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char * kwnames
[] = {
26093 (char *) "self",(char *) "flag", NULL
26096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26101 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26102 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26103 if (!SWIG_IsOK(ecode2
)) {
26104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26106 arg2
= static_cast< bool >(val2
);
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 (arg1
)->SetSelection(arg2
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_Py_Void();
26120 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
= 0;
26122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26128 PyObject
* obj0
= 0 ;
26129 PyObject
* obj1
= 0 ;
26130 char * kwnames
[] = {
26131 (char *) "self",(char *) "flag", NULL
26134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26136 if (!SWIG_IsOK(res1
)) {
26137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26139 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26140 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26141 if (!SWIG_IsOK(ecode2
)) {
26142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26144 arg2
= static_cast< bool >(val2
);
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->SetCollate(arg2
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_Py_Void();
26158 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
= 0;
26160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26166 PyObject
* obj0
= 0 ;
26167 PyObject
* obj1
= 0 ;
26168 char * kwnames
[] = {
26169 (char *) "self",(char *) "flag", NULL
26172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26174 if (!SWIG_IsOK(res1
)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26177 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26178 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26179 if (!SWIG_IsOK(ecode2
)) {
26180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26182 arg2
= static_cast< bool >(val2
);
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 (arg1
)->SetPrintToFile(arg2
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_Py_Void();
26196 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
= 0;
26198 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 char * kwnames
[] = {
26207 (char *) "self",(char *) "flag", NULL
26210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26212 if (!SWIG_IsOK(res1
)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26215 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26216 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26217 if (!SWIG_IsOK(ecode2
)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26220 arg2
= static_cast< bool >(val2
);
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 (arg1
)->EnablePrintToFile(arg2
);
26224 wxPyEndAllowThreads(__tstate
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= SWIG_Py_Void();
26234 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
= 0;
26236 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 char * kwnames
[] = {
26245 (char *) "self",(char *) "flag", NULL
26248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26250 if (!SWIG_IsOK(res1
)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26253 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26254 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26255 if (!SWIG_IsOK(ecode2
)) {
26256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26258 arg2
= static_cast< bool >(val2
);
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->EnableSelection(arg2
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_Py_Void();
26272 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
= 0;
26274 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char * kwnames
[] = {
26283 (char *) "self",(char *) "flag", NULL
26286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26291 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26292 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26293 if (!SWIG_IsOK(ecode2
)) {
26294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26296 arg2
= static_cast< bool >(val2
);
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 (arg1
)->EnablePageNumbers(arg2
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= SWIG_Py_Void();
26310 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
= 0;
26312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char * kwnames
[] = {
26321 (char *) "self",(char *) "flag", NULL
26324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26329 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26330 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26331 if (!SWIG_IsOK(ecode2
)) {
26332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26334 arg2
= static_cast< bool >(val2
);
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 (arg1
)->EnableHelp(arg2
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= SWIG_Py_Void();
26348 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26349 PyObject
*resultobj
= 0;
26350 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26354 PyObject
*swig_obj
[1] ;
26356 if (!args
) SWIG_fail
;
26357 swig_obj
[0] = args
;
26358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26362 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 PyObject
*resultobj
= 0;
26380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26384 PyObject
*swig_obj
[1] ;
26386 if (!args
) SWIG_fail
;
26387 swig_obj
[0] = args
;
26388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26392 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26408 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26409 PyObject
*resultobj
= 0;
26410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26414 PyObject
*swig_obj
[1] ;
26416 if (!args
) SWIG_fail
;
26417 swig_obj
[0] = args
;
26418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26419 if (!SWIG_IsOK(res1
)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26422 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26438 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26439 PyObject
*resultobj
= 0;
26440 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26444 PyObject
*swig_obj
[1] ;
26446 if (!args
) SWIG_fail
;
26447 swig_obj
[0] = args
;
26448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26452 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26468 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26469 PyObject
*resultobj
= 0;
26470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26474 PyObject
*swig_obj
[1] ;
26476 if (!args
) SWIG_fail
;
26477 swig_obj
[0] = args
;
26478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26482 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26498 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 PyObject
*resultobj
= 0;
26500 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26501 wxPrintData
*result
= 0 ;
26504 PyObject
*swig_obj
[1] ;
26506 if (!args
) SWIG_fail
;
26507 swig_obj
[0] = args
;
26508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26509 if (!SWIG_IsOK(res1
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26512 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26517 result
= (wxPrintData
*) &_result_ref
;
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26529 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
= 0;
26531 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26532 wxPrintData
*arg2
= 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 char * kwnames
[] = {
26540 (char *) "self",(char *) "printData", NULL
26543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26545 if (!SWIG_IsOK(res1
)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26548 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26550 if (!SWIG_IsOK(res2
)) {
26551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26556 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= SWIG_Py_Void();
26570 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26574 return SWIG_Py_Void();
26577 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26578 return SWIG_Python_InitShadowInstance(args
);
26581 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
= 0;
26583 wxWindow
*arg1
= (wxWindow
*) 0 ;
26584 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26585 wxPrintDialog
*result
= 0 ;
26590 PyObject
* obj0
= 0 ;
26591 PyObject
* obj1
= 0 ;
26592 char * kwnames
[] = {
26593 (char *) "parent",(char *) "data", NULL
26596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26598 if (!SWIG_IsOK(res1
)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26604 if (!SWIG_IsOK(res2
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26607 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26610 if (!wxPyCheckForApp()) SWIG_fail
;
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26623 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26624 PyObject
*resultobj
= 0;
26625 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26628 PyObject
*swig_obj
[1] ;
26630 if (!args
) SWIG_fail
;
26631 swig_obj
[0] = args
;
26632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26633 if (!SWIG_IsOK(res1
)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26636 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_Py_Void();
26651 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26652 PyObject
*resultobj
= 0;
26653 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26657 PyObject
*swig_obj
[1] ;
26659 if (!args
) SWIG_fail
;
26660 swig_obj
[0] = args
;
26661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26662 if (!SWIG_IsOK(res1
)) {
26663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26665 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= (int)(arg1
)->ShowModal();
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_From_int(static_cast< int >(result
));
26679 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26680 PyObject
*resultobj
= 0;
26681 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26682 wxPrintDialogData
*result
= 0 ;
26685 PyObject
*swig_obj
[1] ;
26687 if (!args
) SWIG_fail
;
26688 swig_obj
[0] = args
;
26689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26693 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26698 result
= (wxPrintDialogData
*) &_result_ref
;
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26710 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26711 PyObject
*resultobj
= 0;
26712 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26713 wxPrintData
*result
= 0 ;
26716 PyObject
*swig_obj
[1] ;
26718 if (!args
) SWIG_fail
;
26719 swig_obj
[0] = args
;
26720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26721 if (!SWIG_IsOK(res1
)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26724 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26729 result
= (wxPrintData
*) &_result_ref
;
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26741 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26742 PyObject
*resultobj
= 0;
26743 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26747 PyObject
*swig_obj
[1] ;
26749 if (!args
) SWIG_fail
;
26750 swig_obj
[0] = args
;
26751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26752 if (!SWIG_IsOK(res1
)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26755 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= (wxDC
*)(arg1
)->GetPrintDC();
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26763 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26771 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26774 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26775 return SWIG_Py_Void();
26778 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26779 return SWIG_Python_InitShadowInstance(args
);
26782 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
= 0;
26784 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26785 wxPrinter
*result
= 0 ;
26788 PyObject
* obj0
= 0 ;
26789 char * kwnames
[] = {
26790 (char *) "data", NULL
26793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26799 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26802 if (!wxPyCheckForApp()) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (wxPrinter
*)new wxPrinter(arg1
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26815 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26816 PyObject
*resultobj
= 0;
26817 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26820 PyObject
*swig_obj
[1] ;
26822 if (!args
) SWIG_fail
;
26823 swig_obj
[0] = args
;
26824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26825 if (!SWIG_IsOK(res1
)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26828 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= SWIG_Py_Void();
26843 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
= 0;
26845 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26846 wxWindow
*arg2
= (wxWindow
*) 0 ;
26847 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26848 wxWindow
*result
= 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 char * kwnames
[] = {
26859 (char *) "self",(char *) "parent",(char *) "printout", NULL
26862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26867 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26869 if (!SWIG_IsOK(res2
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26872 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26873 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26874 if (!SWIG_IsOK(res3
)) {
26875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26877 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26885 resultobj
= wxPyMake_wxObject(result
, 0);
26893 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
= 0;
26895 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26896 wxWindow
*arg2
= (wxWindow
*) 0 ;
26897 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26898 wxString
*arg4
= 0 ;
26905 bool temp4
= false ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 PyObject
* obj2
= 0 ;
26909 PyObject
* obj3
= 0 ;
26910 char * kwnames
[] = {
26911 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26916 if (!SWIG_IsOK(res1
)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26919 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26921 if (!SWIG_IsOK(res2
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26925 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26926 if (!SWIG_IsOK(res3
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26929 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26931 arg4
= wxString_in_helper(obj3
);
26932 if (arg4
== NULL
) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_Py_Void();
26956 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
= 0;
26958 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26959 wxWindow
*arg2
= (wxWindow
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 char * kwnames
[] = {
26968 (char *) "self",(char *) "parent", NULL
26971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26976 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26978 if (!SWIG_IsOK(res2
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26981 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= (bool)(arg1
)->Setup(arg2
);
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26997 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
= 0;
26999 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27000 wxWindow
*arg2
= (wxWindow
*) 0 ;
27001 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27002 bool arg4
= (bool) true ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 PyObject
* obj2
= 0 ;
27015 PyObject
* obj3
= 0 ;
27016 char * kwnames
[] = {
27017 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27022 if (!SWIG_IsOK(res1
)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27025 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27027 if (!SWIG_IsOK(res2
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27030 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27031 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27032 if (!SWIG_IsOK(res3
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27035 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27037 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27038 if (!SWIG_IsOK(ecode4
)) {
27039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27041 arg4
= static_cast< bool >(val4
);
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27058 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
= 0;
27060 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27061 wxWindow
*arg2
= (wxWindow
*) 0 ;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 char * kwnames
[] = {
27070 (char *) "self",(char *) "parent", NULL
27073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27075 if (!SWIG_IsOK(res1
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27078 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27080 if (!SWIG_IsOK(res2
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27083 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27099 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27100 PyObject
*resultobj
= 0;
27101 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27102 wxPrintDialogData
*result
= 0 ;
27105 PyObject
*swig_obj
[1] ;
27107 if (!args
) SWIG_fail
;
27108 swig_obj
[0] = args
;
27109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27113 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27118 result
= (wxPrintDialogData
*) &_result_ref
;
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27130 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27131 PyObject
*resultobj
= 0;
27132 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27136 PyObject
*swig_obj
[1] ;
27138 if (!args
) SWIG_fail
;
27139 swig_obj
[0] = args
;
27140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27144 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (bool)(arg1
)->GetAbort();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27160 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27161 PyObject
*resultobj
= 0;
27162 wxPrinterError result
;
27164 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 result
= (wxPrinterError
)wxPrinter::GetLastError();
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 resultobj
= SWIG_From_int(static_cast< int >(result
));
27178 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27181 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27182 return SWIG_Py_Void();
27185 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27186 return SWIG_Python_InitShadowInstance(args
);
27189 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
= 0;
27191 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27192 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27193 wxPyPrintout
*result
= 0 ;
27194 bool temp1
= false ;
27195 PyObject
* obj0
= 0 ;
27196 char * kwnames
[] = {
27197 (char *) "title", NULL
27200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27203 arg1
= wxString_in_helper(obj0
);
27204 if (arg1
== NULL
) SWIG_fail
;
27209 if (!wxPyCheckForApp()) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27230 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27231 PyObject
*resultobj
= 0;
27232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27235 PyObject
*swig_obj
[1] ;
27237 if (!args
) SWIG_fail
;
27238 swig_obj
[0] = args
;
27239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27240 if (!SWIG_IsOK(res1
)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27243 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= SWIG_Py_Void();
27258 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
= 0;
27260 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27261 PyObject
*arg2
= (PyObject
*) 0 ;
27262 PyObject
*arg3
= (PyObject
*) 0 ;
27265 PyObject
* obj0
= 0 ;
27266 PyObject
* obj1
= 0 ;
27267 PyObject
* obj2
= 0 ;
27268 char * kwnames
[] = {
27269 (char *) "self",(char *) "self",(char *) "_class", NULL
27272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27274 if (!SWIG_IsOK(res1
)) {
27275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27277 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= SWIG_Py_Void();
27293 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27294 PyObject
*resultobj
= 0;
27295 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27299 PyObject
*swig_obj
[1] ;
27301 if (!args
) SWIG_fail
;
27302 swig_obj
[0] = args
;
27303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27304 if (!SWIG_IsOK(res1
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27307 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27327 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27328 PyObject
*resultobj
= 0;
27329 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27333 PyObject
*swig_obj
[1] ;
27335 if (!args
) SWIG_fail
;
27336 swig_obj
[0] = args
;
27337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27341 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= (wxDC
*)(arg1
)->GetDC();
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27357 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
= 0;
27359 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27360 wxDC
*arg2
= (wxDC
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 PyObject
* obj1
= 0 ;
27367 char * kwnames
[] = {
27368 (char *) "self",(char *) "dc", NULL
27371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27376 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27378 if (!SWIG_IsOK(res2
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27381 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 (arg1
)->SetDC(arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_Py_Void();
27395 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
= 0;
27397 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27406 PyObject
* obj0
= 0 ;
27407 PyObject
* obj1
= 0 ;
27408 PyObject
* obj2
= 0 ;
27409 char * kwnames
[] = {
27410 (char *) "self",(char *) "w",(char *) "h", NULL
27413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27418 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27420 if (!SWIG_IsOK(ecode2
)) {
27421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27423 arg2
= static_cast< int >(val2
);
27424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27425 if (!SWIG_IsOK(ecode3
)) {
27426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27428 arg3
= static_cast< int >(val3
);
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= SWIG_Py_Void();
27442 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 PyObject
*resultobj
= 0;
27444 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27445 int *arg2
= (int *) 0 ;
27446 int *arg3
= (int *) 0 ;
27450 int res2
= SWIG_TMPOBJ
;
27452 int res3
= SWIG_TMPOBJ
;
27453 PyObject
*swig_obj
[1] ;
27457 if (!args
) SWIG_fail
;
27458 swig_obj
[0] = args
;
27459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27460 if (!SWIG_IsOK(res1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27463 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= SWIG_Py_Void();
27471 if (SWIG_IsTmpObj(res2
)) {
27472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27474 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27477 if (SWIG_IsTmpObj(res3
)) {
27478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27480 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27489 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
= 0;
27491 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27500 PyObject
* obj0
= 0 ;
27501 PyObject
* obj1
= 0 ;
27502 PyObject
* obj2
= 0 ;
27503 char * kwnames
[] = {
27504 (char *) "self",(char *) "w",(char *) "h", NULL
27507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27512 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27514 if (!SWIG_IsOK(ecode2
)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27517 arg2
= static_cast< int >(val2
);
27518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27519 if (!SWIG_IsOK(ecode3
)) {
27520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27522 arg3
= static_cast< int >(val3
);
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= SWIG_Py_Void();
27536 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27537 PyObject
*resultobj
= 0;
27538 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27539 int *arg2
= (int *) 0 ;
27540 int *arg3
= (int *) 0 ;
27544 int res2
= SWIG_TMPOBJ
;
27546 int res3
= SWIG_TMPOBJ
;
27547 PyObject
*swig_obj
[1] ;
27551 if (!args
) SWIG_fail
;
27552 swig_obj
[0] = args
;
27553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27554 if (!SWIG_IsOK(res1
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27557 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= SWIG_Py_Void();
27565 if (SWIG_IsTmpObj(res2
)) {
27566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27568 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27571 if (SWIG_IsTmpObj(res3
)) {
27572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27574 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27583 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
= 0;
27585 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 PyObject
* obj2
= 0 ;
27597 char * kwnames
[] = {
27598 (char *) "self",(char *) "x",(char *) "y", NULL
27601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27603 if (!SWIG_IsOK(res1
)) {
27604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27606 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27608 if (!SWIG_IsOK(ecode2
)) {
27609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27611 arg2
= static_cast< int >(val2
);
27612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27613 if (!SWIG_IsOK(ecode3
)) {
27614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27616 arg3
= static_cast< int >(val3
);
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 (arg1
)->SetPPIScreen(arg2
,arg3
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= SWIG_Py_Void();
27630 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27631 PyObject
*resultobj
= 0;
27632 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27633 int *arg2
= (int *) 0 ;
27634 int *arg3
= (int *) 0 ;
27638 int res2
= SWIG_TMPOBJ
;
27640 int res3
= SWIG_TMPOBJ
;
27641 PyObject
*swig_obj
[1] ;
27645 if (!args
) SWIG_fail
;
27646 swig_obj
[0] = args
;
27647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27648 if (!SWIG_IsOK(res1
)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27651 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 (arg1
)->GetPPIScreen(arg2
,arg3
);
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= SWIG_Py_Void();
27659 if (SWIG_IsTmpObj(res2
)) {
27660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27662 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27665 if (SWIG_IsTmpObj(res3
)) {
27666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27668 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27677 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
= 0;
27679 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 PyObject
* obj2
= 0 ;
27691 char * kwnames
[] = {
27692 (char *) "self",(char *) "x",(char *) "y", NULL
27695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27697 if (!SWIG_IsOK(res1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27700 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27702 if (!SWIG_IsOK(ecode2
)) {
27703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27705 arg2
= static_cast< int >(val2
);
27706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27707 if (!SWIG_IsOK(ecode3
)) {
27708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27710 arg3
= static_cast< int >(val3
);
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= SWIG_Py_Void();
27724 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27725 PyObject
*resultobj
= 0;
27726 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27727 int *arg2
= (int *) 0 ;
27728 int *arg3
= (int *) 0 ;
27732 int res2
= SWIG_TMPOBJ
;
27734 int res3
= SWIG_TMPOBJ
;
27735 PyObject
*swig_obj
[1] ;
27739 if (!args
) SWIG_fail
;
27740 swig_obj
[0] = args
;
27741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27742 if (!SWIG_IsOK(res1
)) {
27743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27745 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= SWIG_Py_Void();
27753 if (SWIG_IsTmpObj(res2
)) {
27754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27756 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27759 if (SWIG_IsTmpObj(res3
)) {
27760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27762 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27771 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27772 PyObject
*resultobj
= 0;
27773 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27777 PyObject
*swig_obj
[1] ;
27779 if (!args
) SWIG_fail
;
27780 swig_obj
[0] = args
;
27781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27782 if (!SWIG_IsOK(res1
)) {
27783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27785 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 result
= (bool)(arg1
)->IsPreview();
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27801 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
= 0;
27803 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 PyObject
* obj1
= 0 ;
27811 char * kwnames
[] = {
27812 (char *) "self",(char *) "p", NULL
27815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27817 if (!SWIG_IsOK(res1
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27820 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27822 if (!SWIG_IsOK(ecode2
)) {
27823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27825 arg2
= static_cast< bool >(val2
);
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->SetIsPreview(arg2
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_Py_Void();
27839 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
= 0;
27841 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 PyObject
* obj1
= 0 ;
27853 PyObject
* obj2
= 0 ;
27854 char * kwnames
[] = {
27855 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27860 if (!SWIG_IsOK(res1
)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27863 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27865 if (!SWIG_IsOK(ecode2
)) {
27866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27868 arg2
= static_cast< int >(val2
);
27869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27870 if (!SWIG_IsOK(ecode3
)) {
27871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27873 arg3
= static_cast< int >(val3
);
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27889 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27890 PyObject
*resultobj
= 0;
27891 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27894 PyObject
*swig_obj
[1] ;
27896 if (!args
) SWIG_fail
;
27897 swig_obj
[0] = args
;
27898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27902 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 (arg1
)->OnEndDocument();
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= SWIG_Py_Void();
27916 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27917 PyObject
*resultobj
= 0;
27918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27921 PyObject
*swig_obj
[1] ;
27923 if (!args
) SWIG_fail
;
27924 swig_obj
[0] = args
;
27925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27929 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 (arg1
)->OnBeginPrinting();
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= SWIG_Py_Void();
27943 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27944 PyObject
*resultobj
= 0;
27945 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27948 PyObject
*swig_obj
[1] ;
27950 if (!args
) SWIG_fail
;
27951 swig_obj
[0] = args
;
27952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27953 if (!SWIG_IsOK(res1
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27956 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 (arg1
)->OnEndPrinting();
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27963 resultobj
= SWIG_Py_Void();
27970 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27971 PyObject
*resultobj
= 0;
27972 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27975 PyObject
*swig_obj
[1] ;
27977 if (!args
) SWIG_fail
;
27978 swig_obj
[0] = args
;
27979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27983 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 (arg1
)->OnPreparePrinting();
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_Py_Void();
27997 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
= 0;
27999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char * kwnames
[] = {
28009 (char *) "self",(char *) "page", NULL
28012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28017 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28019 if (!SWIG_IsOK(ecode2
)) {
28020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28022 arg2
= static_cast< int >(val2
);
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= (bool)(arg1
)->HasPage(arg2
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28038 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28039 PyObject
*resultobj
= 0;
28040 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28041 int *arg2
= (int *) 0 ;
28042 int *arg3
= (int *) 0 ;
28043 int *arg4
= (int *) 0 ;
28044 int *arg5
= (int *) 0 ;
28048 int res2
= SWIG_TMPOBJ
;
28050 int res3
= SWIG_TMPOBJ
;
28052 int res4
= SWIG_TMPOBJ
;
28054 int res5
= SWIG_TMPOBJ
;
28055 PyObject
*swig_obj
[1] ;
28061 if (!args
) SWIG_fail
;
28062 swig_obj
[0] = args
;
28063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28067 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_Py_Void();
28075 if (SWIG_IsTmpObj(res2
)) {
28076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28078 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28081 if (SWIG_IsTmpObj(res3
)) {
28082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28084 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28087 if (SWIG_IsTmpObj(res4
)) {
28088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28090 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28093 if (SWIG_IsTmpObj(res5
)) {
28094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28096 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28105 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28108 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28109 return SWIG_Py_Void();
28112 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28113 return SWIG_Python_InitShadowInstance(args
);
28116 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28117 PyObject
*resultobj
= 0;
28118 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28119 wxWindow
*arg2
= (wxWindow
*) 0 ;
28120 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28121 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28122 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28123 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28124 long arg5
= (long) 0 ;
28125 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28126 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28127 wxPreviewCanvas
*result
= 0 ;
28136 bool temp6
= false ;
28137 PyObject
* obj0
= 0 ;
28138 PyObject
* obj1
= 0 ;
28139 PyObject
* obj2
= 0 ;
28140 PyObject
* obj3
= 0 ;
28141 PyObject
* obj4
= 0 ;
28142 PyObject
* obj5
= 0 ;
28143 char * kwnames
[] = {
28144 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28149 if (!SWIG_IsOK(res1
)) {
28150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28152 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28154 if (!SWIG_IsOK(res2
)) {
28155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28161 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28167 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28171 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28172 if (!SWIG_IsOK(ecode5
)) {
28173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28175 arg5
= static_cast< long >(val5
);
28179 arg6
= wxString_in_helper(obj5
);
28180 if (arg6
== NULL
) SWIG_fail
;
28185 if (!wxPyCheckForApp()) SWIG_fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28206 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28209 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28210 return SWIG_Py_Void();
28213 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28214 return SWIG_Python_InitShadowInstance(args
);
28217 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28218 PyObject
*resultobj
= 0;
28219 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28220 wxFrame
*arg2
= (wxFrame
*) 0 ;
28221 wxString
*arg3
= 0 ;
28222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28226 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28227 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28228 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28229 wxPreviewFrame
*result
= 0 ;
28233 bool temp3
= false ;
28238 bool temp7
= false ;
28239 PyObject
* obj0
= 0 ;
28240 PyObject
* obj1
= 0 ;
28241 PyObject
* obj2
= 0 ;
28242 PyObject
* obj3
= 0 ;
28243 PyObject
* obj4
= 0 ;
28244 PyObject
* obj5
= 0 ;
28245 PyObject
* obj6
= 0 ;
28246 char * kwnames
[] = {
28247 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28251 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28252 if (!SWIG_IsOK(res1
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28256 if (!SWIG_IsOK(res2
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28259 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28261 arg3
= wxString_in_helper(obj2
);
28262 if (arg3
== NULL
) SWIG_fail
;
28268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28278 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28279 if (!SWIG_IsOK(ecode6
)) {
28280 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28282 arg6
= static_cast< long >(val6
);
28286 arg7
= wxString_in_helper(obj6
);
28287 if (arg7
== NULL
) SWIG_fail
;
28292 if (!wxPyCheckForApp()) SWIG_fail
;
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28321 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28322 PyObject
*resultobj
= 0;
28323 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28326 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28334 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 (arg1
)->Initialize();
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= SWIG_Py_Void();
28348 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28349 PyObject
*resultobj
= 0;
28350 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28353 PyObject
*swig_obj
[1] ;
28355 if (!args
) SWIG_fail
;
28356 swig_obj
[0] = args
;
28357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28358 if (!SWIG_IsOK(res1
)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28361 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->CreateControlBar();
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= SWIG_Py_Void();
28375 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28376 PyObject
*resultobj
= 0;
28377 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28380 PyObject
*swig_obj
[1] ;
28382 if (!args
) SWIG_fail
;
28383 swig_obj
[0] = args
;
28384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28385 if (!SWIG_IsOK(res1
)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28388 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 (arg1
)->CreateCanvas();
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= SWIG_Py_Void();
28402 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28403 PyObject
*resultobj
= 0;
28404 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28405 wxPreviewControlBar
*result
= 0 ;
28408 PyObject
*swig_obj
[1] ;
28410 if (!args
) SWIG_fail
;
28411 swig_obj
[0] = args
;
28412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28413 if (!SWIG_IsOK(res1
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28416 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28430 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28434 return SWIG_Py_Void();
28437 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 return SWIG_Python_InitShadowInstance(args
);
28441 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
= 0;
28443 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28445 wxWindow
*arg3
= (wxWindow
*) 0 ;
28446 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28447 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28448 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28449 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28450 long arg6
= (long) wxTAB_TRAVERSAL
;
28451 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28452 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28453 wxPreviewControlBar
*result
= 0 ;
28464 bool temp7
= false ;
28465 PyObject
* obj0
= 0 ;
28466 PyObject
* obj1
= 0 ;
28467 PyObject
* obj2
= 0 ;
28468 PyObject
* obj3
= 0 ;
28469 PyObject
* obj4
= 0 ;
28470 PyObject
* obj5
= 0 ;
28471 PyObject
* obj6
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28481 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28482 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28483 if (!SWIG_IsOK(ecode2
)) {
28484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28486 arg2
= static_cast< long >(val2
);
28487 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28488 if (!SWIG_IsOK(res3
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28491 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28495 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28501 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28505 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28506 if (!SWIG_IsOK(ecode6
)) {
28507 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28509 arg6
= static_cast< long >(val6
);
28513 arg7
= wxString_in_helper(obj6
);
28514 if (arg7
== NULL
) SWIG_fail
;
28519 if (!wxPyCheckForApp()) SWIG_fail
;
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28540 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28541 PyObject
*resultobj
= 0;
28542 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28546 PyObject
*swig_obj
[1] ;
28548 if (!args
) SWIG_fail
;
28549 swig_obj
[0] = args
;
28550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28551 if (!SWIG_IsOK(res1
)) {
28552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28554 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 result
= (int)(arg1
)->GetZoomControl();
28558 wxPyEndAllowThreads(__tstate
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= SWIG_From_int(static_cast< int >(result
));
28568 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28569 PyObject
*resultobj
= 0;
28570 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char * kwnames
[] = {
28579 (char *) "self",(char *) "zoom", NULL
28582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28584 if (!SWIG_IsOK(res1
)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28587 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28589 if (!SWIG_IsOK(ecode2
)) {
28590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28592 arg2
= static_cast< int >(val2
);
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 (arg1
)->SetZoomControl(arg2
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_Py_Void();
28606 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28607 PyObject
*resultobj
= 0;
28608 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28609 wxPrintPreview
*result
= 0 ;
28612 PyObject
*swig_obj
[1] ;
28614 if (!args
) SWIG_fail
;
28615 swig_obj
[0] = args
;
28616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28617 if (!SWIG_IsOK(res1
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28620 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28634 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28635 PyObject
*resultobj
= 0;
28636 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28639 PyObject
*swig_obj
[1] ;
28641 if (!args
) SWIG_fail
;
28642 swig_obj
[0] = args
;
28643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28644 if (!SWIG_IsOK(res1
)) {
28645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28647 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= SWIG_Py_Void();
28661 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28662 PyObject
*resultobj
= 0;
28663 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28666 PyObject
*swig_obj
[1] ;
28668 if (!args
) SWIG_fail
;
28669 swig_obj
[0] = args
;
28670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28674 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 (arg1
)->OnPrevious();
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_Py_Void();
28688 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 PyObject
*resultobj
= 0;
28690 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28693 PyObject
*swig_obj
[1] ;
28695 if (!args
) SWIG_fail
;
28696 swig_obj
[0] = args
;
28697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28698 if (!SWIG_IsOK(res1
)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28701 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_Py_Void();
28715 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28716 PyObject
*resultobj
= 0;
28717 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28720 PyObject
*swig_obj
[1] ;
28722 if (!args
) SWIG_fail
;
28723 swig_obj
[0] = args
;
28724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28725 if (!SWIG_IsOK(res1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28728 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_Py_Void();
28742 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28743 PyObject
*resultobj
= 0;
28744 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28747 PyObject
*swig_obj
[1] ;
28749 if (!args
) SWIG_fail
;
28750 swig_obj
[0] = args
;
28751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28752 if (!SWIG_IsOK(res1
)) {
28753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28755 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_Py_Void();
28769 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28772 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28773 return SWIG_Py_Void();
28776 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28777 return SWIG_Python_InitShadowInstance(args
);
28780 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28781 PyObject
*resultobj
= 0;
28782 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28783 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28784 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28785 wxPrintPreview
*result
= 0 ;
28791 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28792 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28793 if (!SWIG_IsOK(res1
)) {
28794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28796 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28797 if (!SWIG_IsOK(res2
)) {
28798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28801 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28802 if (!SWIG_IsOK(res3
)) {
28803 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28805 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28808 if (!wxPyCheckForApp()) SWIG_fail
;
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28821 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28822 PyObject
*resultobj
= 0;
28823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28824 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28825 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28826 wxPrintPreview
*result
= 0 ;
28832 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28833 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28834 if (!SWIG_IsOK(res1
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28837 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28838 if (!SWIG_IsOK(res2
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28841 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28842 if (!SWIG_IsOK(res3
)) {
28843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28845 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28847 if (!wxPyCheckForApp()) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28860 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28864 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28866 if ((argc
>= 2) && (argc
<= 3)) {
28871 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28872 _v
= SWIG_CheckState(res
);
28874 if (!_v
) goto check_1
;
28876 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28881 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28885 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28890 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28891 PyObject
*resultobj
= 0;
28892 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28895 PyObject
*swig_obj
[1] ;
28897 if (!args
) SWIG_fail
;
28898 swig_obj
[0] = args
;
28899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28900 if (!SWIG_IsOK(res1
)) {
28901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28903 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_Py_Void();
28918 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
= 0;
28920 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28927 PyObject
* obj0
= 0 ;
28928 PyObject
* obj1
= 0 ;
28929 char * kwnames
[] = {
28930 (char *) "self",(char *) "pageNum", NULL
28933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28935 if (!SWIG_IsOK(res1
)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28938 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28940 if (!SWIG_IsOK(ecode2
)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28943 arg2
= static_cast< int >(val2
);
28945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28959 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28960 PyObject
*resultobj
= 0;
28961 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28965 PyObject
*swig_obj
[1] ;
28967 if (!args
) SWIG_fail
;
28968 swig_obj
[0] = args
;
28969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28970 if (!SWIG_IsOK(res1
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28973 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (int)(arg1
)->GetCurrentPage();
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= SWIG_From_int(static_cast< int >(result
));
28987 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
= 0;
28989 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28990 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28994 PyObject
* obj0
= 0 ;
28995 PyObject
* obj1
= 0 ;
28996 char * kwnames
[] = {
28997 (char *) "self",(char *) "printout", NULL
29000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29002 if (!SWIG_IsOK(res1
)) {
29003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29005 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29006 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29007 if (!SWIG_IsOK(res2
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 (arg1
)->SetPrintout(arg2
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_Py_Void();
29023 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29024 PyObject
*resultobj
= 0;
29025 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29026 wxPyPrintout
*result
= 0 ;
29029 PyObject
*swig_obj
[1] ;
29031 if (!args
) SWIG_fail
;
29032 swig_obj
[0] = args
;
29033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29034 if (!SWIG_IsOK(res1
)) {
29035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29037 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= wxPyMake_wxObject(result
, 0);
29053 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29054 PyObject
*resultobj
= 0;
29055 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29056 wxPyPrintout
*result
= 0 ;
29059 PyObject
*swig_obj
[1] ;
29061 if (!args
) SWIG_fail
;
29062 swig_obj
[0] = args
;
29063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29064 if (!SWIG_IsOK(res1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29067 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= wxPyMake_wxObject(result
, 0);
29083 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
= 0;
29085 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29086 wxFrame
*arg2
= (wxFrame
*) 0 ;
29091 PyObject
* obj0
= 0 ;
29092 PyObject
* obj1
= 0 ;
29093 char * kwnames
[] = {
29094 (char *) "self",(char *) "frame", NULL
29097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29099 if (!SWIG_IsOK(res1
)) {
29100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29102 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29104 if (!SWIG_IsOK(res2
)) {
29105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29107 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 (arg1
)->SetFrame(arg2
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= SWIG_Py_Void();
29121 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
= 0;
29123 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29124 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 char * kwnames
[] = {
29132 (char *) "self",(char *) "canvas", NULL
29135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29137 if (!SWIG_IsOK(res1
)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29140 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29142 if (!SWIG_IsOK(res2
)) {
29143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29145 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 (arg1
)->SetCanvas(arg2
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= SWIG_Py_Void();
29159 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29160 PyObject
*resultobj
= 0;
29161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29162 wxFrame
*result
= 0 ;
29165 PyObject
*swig_obj
[1] ;
29167 if (!args
) SWIG_fail
;
29168 swig_obj
[0] = args
;
29169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29170 if (!SWIG_IsOK(res1
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29173 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 result
= (wxFrame
*)(arg1
)->GetFrame();
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= wxPyMake_wxObject(result
, 0);
29189 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29190 PyObject
*resultobj
= 0;
29191 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29192 wxPreviewCanvas
*result
= 0 ;
29195 PyObject
*swig_obj
[1] ;
29197 if (!args
) SWIG_fail
;
29198 swig_obj
[0] = args
;
29199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29200 if (!SWIG_IsOK(res1
)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29203 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29217 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= 0;
29219 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29220 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29229 PyObject
* obj0
= 0 ;
29230 PyObject
* obj1
= 0 ;
29231 PyObject
* obj2
= 0 ;
29232 char * kwnames
[] = {
29233 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29238 if (!SWIG_IsOK(res1
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29241 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29242 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29243 if (!SWIG_IsOK(res2
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29246 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29247 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29248 if (!SWIG_IsOK(res3
)) {
29249 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29254 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29270 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
= 0;
29272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29273 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 PyObject
* obj2
= 0 ;
29285 char * kwnames
[] = {
29286 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29291 if (!SWIG_IsOK(res1
)) {
29292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29294 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29296 if (!SWIG_IsOK(res2
)) {
29297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29299 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29300 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29301 if (!SWIG_IsOK(res3
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29307 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29323 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
= 0;
29325 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 char * kwnames
[] = {
29335 (char *) "self",(char *) "pageNum", NULL
29338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29340 if (!SWIG_IsOK(res1
)) {
29341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29343 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29345 if (!SWIG_IsOK(ecode2
)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29348 arg2
= static_cast< int >(val2
);
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (bool)(arg1
)->RenderPage(arg2
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29364 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
= 0;
29366 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29367 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29372 PyObject
* obj0
= 0 ;
29373 PyObject
* obj1
= 0 ;
29374 char * kwnames
[] = {
29375 (char *) "self",(char *) "canvas", NULL
29378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29380 if (!SWIG_IsOK(res1
)) {
29381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29383 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29385 if (!SWIG_IsOK(res2
)) {
29386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29388 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 (arg1
)->AdjustScrollbars(arg2
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_Py_Void();
29402 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29403 PyObject
*resultobj
= 0;
29404 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29405 wxPrintDialogData
*result
= 0 ;
29408 PyObject
*swig_obj
[1] ;
29410 if (!args
) SWIG_fail
;
29411 swig_obj
[0] = args
;
29412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29413 if (!SWIG_IsOK(res1
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29416 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29421 result
= (wxPrintDialogData
*) &_result_ref
;
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29433 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
= 0;
29435 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "percent", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29452 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29454 if (!SWIG_IsOK(ecode2
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29457 arg2
= static_cast< int >(val2
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 (arg1
)->SetZoom(arg2
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_Py_Void();
29471 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29472 PyObject
*resultobj
= 0;
29473 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29477 PyObject
*swig_obj
[1] ;
29479 if (!args
) SWIG_fail
;
29480 swig_obj
[0] = args
;
29481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29482 if (!SWIG_IsOK(res1
)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29485 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= (int)(arg1
)->GetZoom();
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_From_int(static_cast< int >(result
));
29499 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29500 PyObject
*resultobj
= 0;
29501 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29505 PyObject
*swig_obj
[1] ;
29507 if (!args
) SWIG_fail
;
29508 swig_obj
[0] = args
;
29509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29510 if (!SWIG_IsOK(res1
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29513 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (int)(arg1
)->GetMaxPage();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_From_int(static_cast< int >(result
));
29527 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29528 PyObject
*resultobj
= 0;
29529 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29533 PyObject
*swig_obj
[1] ;
29535 if (!args
) SWIG_fail
;
29536 swig_obj
[0] = args
;
29537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29541 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (int)(arg1
)->GetMinPage();
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_From_int(static_cast< int >(result
));
29555 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29556 PyObject
*resultobj
= 0;
29557 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29561 PyObject
*swig_obj
[1] ;
29563 if (!args
) SWIG_fail
;
29564 swig_obj
[0] = args
;
29565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29566 if (!SWIG_IsOK(res1
)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29569 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (bool)(arg1
)->Ok();
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29585 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29586 PyObject
*resultobj
= 0;
29587 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29593 PyObject
* obj0
= 0 ;
29594 PyObject
* obj1
= 0 ;
29595 char * kwnames
[] = {
29596 (char *) "self",(char *) "ok", NULL
29599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29601 if (!SWIG_IsOK(res1
)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29604 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29606 if (!SWIG_IsOK(ecode2
)) {
29607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29609 arg2
= static_cast< bool >(val2
);
29611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29612 (arg1
)->SetOk(arg2
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 resultobj
= SWIG_Py_Void();
29623 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
= 0;
29625 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "interactive", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29643 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29644 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29645 if (!SWIG_IsOK(ecode2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29648 arg2
= static_cast< bool >(val2
);
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (bool)(arg1
)->Print(arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29665 PyObject
*resultobj
= 0;
29666 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29669 PyObject
*swig_obj
[1] ;
29671 if (!args
) SWIG_fail
;
29672 swig_obj
[0] = args
;
29673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29677 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 (arg1
)->DetermineScaling();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_Py_Void();
29691 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29695 return SWIG_Py_Void();
29698 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29699 return SWIG_Python_InitShadowInstance(args
);
29702 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29703 PyObject
*resultobj
= 0;
29704 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29705 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29706 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29707 wxPyPrintPreview
*result
= 0 ;
29713 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29714 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29715 if (!SWIG_IsOK(res1
)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29718 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29719 if (!SWIG_IsOK(res2
)) {
29720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29723 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29724 if (!SWIG_IsOK(res3
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29727 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29730 if (!wxPyCheckForApp()) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29743 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29744 PyObject
*resultobj
= 0;
29745 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29746 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29747 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29748 wxPyPrintPreview
*result
= 0 ;
29754 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29755 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29759 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29760 if (!SWIG_IsOK(res2
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29763 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29764 if (!SWIG_IsOK(res3
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29767 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29769 if (!wxPyCheckForApp()) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29782 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29786 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29788 if ((argc
>= 2) && (argc
<= 3)) {
29793 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29794 _v
= SWIG_CheckState(res
);
29796 if (!_v
) goto check_1
;
29798 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29803 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29807 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29812 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
= 0;
29814 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29815 PyObject
*arg2
= (PyObject
*) 0 ;
29816 PyObject
*arg3
= (PyObject
*) 0 ;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 PyObject
* obj2
= 0 ;
29822 char * kwnames
[] = {
29823 (char *) "self",(char *) "self",(char *) "_class", NULL
29826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29831 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= SWIG_Py_Void();
29847 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29850 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29851 return SWIG_Py_Void();
29854 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29855 return SWIG_Python_InitShadowInstance(args
);
29858 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= 0;
29860 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29861 wxFrame
*arg2
= (wxFrame
*) 0 ;
29862 wxString
*arg3
= 0 ;
29863 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29864 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29865 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29866 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29867 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29868 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29869 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29870 wxPyPreviewFrame
*result
= 0 ;
29875 bool temp3
= false ;
29880 bool temp7
= false ;
29881 PyObject
* obj0
= 0 ;
29882 PyObject
* obj1
= 0 ;
29883 PyObject
* obj2
= 0 ;
29884 PyObject
* obj3
= 0 ;
29885 PyObject
* obj4
= 0 ;
29886 PyObject
* obj5
= 0 ;
29887 PyObject
* obj6
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29897 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29899 if (!SWIG_IsOK(res2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29902 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29904 arg3
= wxString_in_helper(obj2
);
29905 if (arg3
== NULL
) SWIG_fail
;
29911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29921 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29922 if (!SWIG_IsOK(ecode6
)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29925 arg6
= static_cast< long >(val6
);
29929 arg7
= wxString_in_helper(obj6
);
29930 if (arg7
== NULL
) SWIG_fail
;
29935 if (!wxPyCheckForApp()) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29964 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
= 0;
29966 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29967 PyObject
*arg2
= (PyObject
*) 0 ;
29968 PyObject
*arg3
= (PyObject
*) 0 ;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 PyObject
* obj2
= 0 ;
29974 char * kwnames
[] = {
29975 (char *) "self",(char *) "self",(char *) "_class", NULL
29978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29980 if (!SWIG_IsOK(res1
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29983 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29988 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= SWIG_Py_Void();
29999 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
= 0;
30001 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30002 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30007 PyObject
* obj0
= 0 ;
30008 PyObject
* obj1
= 0 ;
30009 char * kwnames
[] = {
30010 (char *) "self",(char *) "canvas", NULL
30013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30015 if (!SWIG_IsOK(res1
)) {
30016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30018 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30020 if (!SWIG_IsOK(res2
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30023 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30026 (arg1
)->SetPreviewCanvas(arg2
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= SWIG_Py_Void();
30037 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
= 0;
30039 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30040 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 char * kwnames
[] = {
30048 (char *) "self",(char *) "bar", NULL
30051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30056 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30058 if (!SWIG_IsOK(res2
)) {
30059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30061 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 (arg1
)->SetControlBar(arg2
);
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= SWIG_Py_Void();
30075 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30076 PyObject
*resultobj
= 0;
30077 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30080 PyObject
*swig_obj
[1] ;
30082 if (!args
) SWIG_fail
;
30083 swig_obj
[0] = args
;
30084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30085 if (!SWIG_IsOK(res1
)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30088 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30091 (arg1
)->Initialize();
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= SWIG_Py_Void();
30102 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30103 PyObject
*resultobj
= 0;
30104 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30107 PyObject
*swig_obj
[1] ;
30109 if (!args
) SWIG_fail
;
30110 swig_obj
[0] = args
;
30111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30112 if (!SWIG_IsOK(res1
)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30115 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 (arg1
)->CreateCanvas();
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= SWIG_Py_Void();
30129 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30130 PyObject
*resultobj
= 0;
30131 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30134 PyObject
*swig_obj
[1] ;
30136 if (!args
) SWIG_fail
;
30137 swig_obj
[0] = args
;
30138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30142 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30145 (arg1
)->CreateControlBar();
30146 wxPyEndAllowThreads(__tstate
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= SWIG_Py_Void();
30156 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30159 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30160 return SWIG_Py_Void();
30163 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30164 return SWIG_Python_InitShadowInstance(args
);
30167 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
= 0;
30169 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30171 wxWindow
*arg3
= (wxWindow
*) 0 ;
30172 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30173 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30174 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30175 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30176 long arg6
= (long) 0 ;
30177 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30178 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30179 wxPyPreviewControlBar
*result
= 0 ;
30190 bool temp7
= false ;
30191 PyObject
* obj0
= 0 ;
30192 PyObject
* obj1
= 0 ;
30193 PyObject
* obj2
= 0 ;
30194 PyObject
* obj3
= 0 ;
30195 PyObject
* obj4
= 0 ;
30196 PyObject
* obj5
= 0 ;
30197 PyObject
* obj6
= 0 ;
30198 char * kwnames
[] = {
30199 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30204 if (!SWIG_IsOK(res1
)) {
30205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30207 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30208 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30209 if (!SWIG_IsOK(ecode2
)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30212 arg2
= static_cast< long >(val2
);
30213 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30214 if (!SWIG_IsOK(res3
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30217 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30231 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30232 if (!SWIG_IsOK(ecode6
)) {
30233 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30235 arg6
= static_cast< long >(val6
);
30239 arg7
= wxString_in_helper(obj6
);
30240 if (arg7
== NULL
) SWIG_fail
;
30245 if (!wxPyCheckForApp()) SWIG_fail
;
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30266 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
= 0;
30268 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30269 PyObject
*arg2
= (PyObject
*) 0 ;
30270 PyObject
*arg3
= (PyObject
*) 0 ;
30273 PyObject
* obj0
= 0 ;
30274 PyObject
* obj1
= 0 ;
30275 PyObject
* obj2
= 0 ;
30276 char * kwnames
[] = {
30277 (char *) "self",(char *) "self",(char *) "_class", NULL
30280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30282 if (!SWIG_IsOK(res1
)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30285 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 resultobj
= SWIG_Py_Void();
30301 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
= 0;
30303 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30304 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30309 PyObject
* obj0
= 0 ;
30310 PyObject
* obj1
= 0 ;
30311 char * kwnames
[] = {
30312 (char *) "self",(char *) "preview", NULL
30315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30317 if (!SWIG_IsOK(res1
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30320 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30322 if (!SWIG_IsOK(res2
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30325 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 (arg1
)->SetPrintPreview(arg2
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 resultobj
= SWIG_Py_Void();
30339 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30340 PyObject
*resultobj
= 0;
30341 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30344 PyObject
*swig_obj
[1] ;
30346 if (!args
) SWIG_fail
;
30347 swig_obj
[0] = args
;
30348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30352 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 (arg1
)->CreateButtons();
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_Py_Void();
30366 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
= 0;
30368 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30374 PyObject
* obj0
= 0 ;
30375 PyObject
* obj1
= 0 ;
30376 char * kwnames
[] = {
30377 (char *) "self",(char *) "zoom", NULL
30380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30385 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30387 if (!SWIG_IsOK(ecode2
)) {
30388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30390 arg2
= static_cast< int >(val2
);
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 (arg1
)->SetZoomControl(arg2
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_Py_Void();
30404 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30407 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30408 return SWIG_Py_Void();
30411 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30412 return SWIG_Python_InitShadowInstance(args
);
30415 static PyMethodDef SwigMethods
[] = {
30416 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30417 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30418 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30420 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30422 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30423 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30424 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30425 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30428 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30430 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30431 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30432 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30433 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30434 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30436 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30437 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30438 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30439 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30440 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30441 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30443 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30445 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30447 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30448 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30449 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30450 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30451 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30453 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30454 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30455 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30456 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30460 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30462 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30463 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30465 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30467 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30469 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30471 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30473 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30475 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30477 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30478 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30479 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30485 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30487 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30492 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30493 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30494 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30495 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30498 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30500 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30502 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30506 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30507 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30510 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30511 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30512 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30513 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30515 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30516 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30517 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30519 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30520 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30521 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30523 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30524 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30525 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30526 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30527 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30529 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30532 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30541 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30542 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30544 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30545 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30547 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30549 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30550 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30552 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30558 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30559 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30562 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30563 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30565 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30567 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30569 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30571 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30573 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30575 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30576 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30579 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30580 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30581 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30582 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30583 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30584 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30586 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30594 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30596 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30599 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30600 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30603 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30604 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30606 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30607 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30608 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30611 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30613 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30615 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30616 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30617 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30620 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30622 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30624 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30626 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30628 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30629 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30630 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30633 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30635 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30636 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30637 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30639 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30641 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30642 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30646 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30647 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30648 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30649 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30653 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30654 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30656 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30657 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30658 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30660 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30661 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30662 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30665 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30666 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30667 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30669 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30678 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30679 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30680 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30681 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30683 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30684 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30687 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30688 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30690 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30693 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30694 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30695 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30698 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30699 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30701 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30702 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30704 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30709 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30710 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30716 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30717 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30719 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30723 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30725 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30726 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30727 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30728 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30730 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30731 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30732 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30734 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30736 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30737 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30739 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30740 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30741 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30742 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30743 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30744 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30749 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30750 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30752 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30753 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30754 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30757 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30758 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30761 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30762 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30770 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30771 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30772 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30773 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30774 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30775 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30776 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30777 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30778 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30779 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30782 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30783 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30784 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30786 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30787 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30789 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30790 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30792 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30794 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30795 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30797 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30798 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30799 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30800 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30802 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30803 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30804 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30805 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30806 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30807 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30814 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30815 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30817 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30818 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30819 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30822 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30823 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30826 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30827 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30828 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30830 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30831 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30832 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30833 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30837 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30838 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30839 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30840 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30841 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30842 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30843 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30847 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30848 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30850 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30852 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30854 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30855 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30857 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30859 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30860 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30861 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30862 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30863 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30864 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30865 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30867 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30868 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30870 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30872 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30873 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30874 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30876 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30878 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30879 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30881 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30889 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30890 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30891 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30892 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30893 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30894 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30895 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30896 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30897 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30899 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30907 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30908 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30909 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30910 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30911 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30912 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30913 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30914 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30915 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30917 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30925 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30926 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30927 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30928 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30929 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30930 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30931 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30932 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30933 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30934 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30935 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30936 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30937 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30938 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30939 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30940 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30941 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30942 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30943 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30944 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30945 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30946 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30947 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
30959 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
30961 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
30963 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
30964 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
30965 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
30966 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
30972 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
30973 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
30974 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
30975 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
30976 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
30977 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
30978 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
30979 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
30980 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
30981 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
30982 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
30983 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
30984 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
30985 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
30986 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
30996 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
30997 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
30998 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
30999 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31001 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31002 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31003 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31004 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31005 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31006 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31007 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31008 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31009 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31010 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31011 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31012 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31013 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31014 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31015 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31016 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31017 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31031 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31032 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31033 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31034 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31035 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31036 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31038 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31039 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31041 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31042 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31043 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31044 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31045 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31046 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31047 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31049 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31055 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31056 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31057 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31058 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31059 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31061 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31063 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31064 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31067 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31069 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31071 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31073 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31074 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31077 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31078 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31079 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31080 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31082 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31083 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31084 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31086 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31087 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31089 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31090 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31091 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31092 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31093 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31094 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31096 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31098 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31099 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31100 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31101 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31102 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31103 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31104 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31105 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31106 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31107 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31109 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31111 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31112 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31115 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31116 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31121 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31123 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31124 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31125 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31126 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31129 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31130 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31131 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31132 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31134 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31135 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31140 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31141 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31142 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31143 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31144 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31148 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31150 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31151 { NULL
, NULL
, 0, NULL
}
31155 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31157 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31158 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31160 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31161 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31163 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31164 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31166 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31167 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31169 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31170 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31172 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31173 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31175 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31176 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31178 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31179 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31181 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31182 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31184 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31187 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31190 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31193 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31194 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31196 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31197 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31199 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31200 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31202 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31205 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31206 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31208 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31209 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31211 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31212 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31214 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31215 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31217 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31218 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31220 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31221 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31223 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31224 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31226 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31229 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31230 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31232 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31233 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31235 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31236 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31238 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31239 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31241 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31242 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31244 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31245 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31247 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31248 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31250 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31251 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31253 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31254 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31256 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31257 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31259 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31262 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31263 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31265 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31266 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31268 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31269 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31271 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31272 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31274 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31277 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31278 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31280 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31281 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31283 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31284 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31286 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31287 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31289 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31290 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31292 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31293 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31295 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31298 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31301 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31304 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31305 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31307 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31308 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31310 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31311 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31313 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31314 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31316 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31319 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31322 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31325 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31328 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31331 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31334 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31337 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31340 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31341 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31343 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31344 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31346 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31349 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31352 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31355 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31356 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31358 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31361 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31362 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31364 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31365 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31367 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31368 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31370 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31371 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31373 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31376 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31377 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31379 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31380 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31382 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31385 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31386 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31388 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31391 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31394 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31397 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31398 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31400 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31403 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31404 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31406 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31409 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31412 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31415 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31418 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31421 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31422 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31424 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31427 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31430 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31433 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31436 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31439 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31442 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31443 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31445 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31446 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31448 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31449 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31451 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31452 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31454 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31455 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31457 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31458 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31460 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31461 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31463 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31464 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31466 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31467 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31469 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31470 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31472 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31473 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31475 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31478 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31481 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31482 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31484 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31485 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31487 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31490 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31491 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31493 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31494 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31496 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31497 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31499 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31500 return (void *)((wxObject
*) ((wxSizer
*) x
));
31502 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31503 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31505 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31508 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31511 static void *_p_wxEventTo_p_wxObject(void *x
) {
31512 return (void *)((wxObject
*) ((wxEvent
*) x
));
31514 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31515 return (void *)((wxObject
*) ((wxFontData
*) x
));
31517 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31518 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31520 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31521 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31523 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31524 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31526 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31527 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31529 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31530 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31532 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31533 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31535 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31538 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31541 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31542 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31544 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31545 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31547 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31548 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31550 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31551 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31553 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31554 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31556 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31557 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31559 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31562 static void *_p_wxControlTo_p_wxObject(void *x
) {
31563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31565 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31566 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31568 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31569 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31571 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31572 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31574 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31577 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31580 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31583 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) ((wxColourData
*) x
));
31586 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31589 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31592 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31595 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31598 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31601 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31604 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31607 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31610 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31613 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31616 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31619 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31622 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31625 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31628 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31631 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31634 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31637 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31640 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31643 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31646 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31649 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31652 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31655 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31658 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31661 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31664 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31667 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31670 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31673 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31676 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31679 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31682 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31685 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31688 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31691 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31694 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31697 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31700 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31703 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31706 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31709 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31712 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31715 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31718 static void *_p_wxImageTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) ((wxImage
*) x
));
31721 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31724 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31727 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31730 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31733 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31736 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31739 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31742 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31745 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31748 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31751 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31754 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31757 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31760 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31763 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31766 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31769 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31772 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31775 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31778 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31781 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31784 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31787 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31790 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31793 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31796 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31799 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31802 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31805 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31808 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31811 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31814 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31817 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31820 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31823 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31826 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31829 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31832 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31835 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31838 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31841 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31844 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31847 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31850 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31853 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31856 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31859 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31862 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31865 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31868 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31871 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31874 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31877 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31880 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31881 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31883 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31884 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31886 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31887 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31889 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31890 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31892 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31893 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31895 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31896 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31898 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31899 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31901 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31902 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31904 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31905 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31907 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31908 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31910 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31911 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31913 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
31914 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
31916 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31917 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31919 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31920 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31922 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31923 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31925 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31926 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31928 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31929 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31931 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31932 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31934 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31935 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31937 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31938 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31940 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31941 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31943 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31944 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31946 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31947 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31949 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31950 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31952 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31953 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31955 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31956 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31958 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31959 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31961 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31962 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31964 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
31965 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31967 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
31968 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31970 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
31971 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31973 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
31974 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31976 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
31977 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31979 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
31980 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31982 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
31983 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31985 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
31986 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31988 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
31989 return (void *)((wxWindow
*) ((wxPanel
*) x
));
31991 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
31992 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
31994 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
31995 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31997 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
31998 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32000 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32001 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32003 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32004 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32006 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32007 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32009 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32010 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32012 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32013 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32015 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32016 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32018 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32019 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32021 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32022 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32024 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32025 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32027 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32028 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32030 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32031 return (void *)((wxWindow
*) ((wxControl
*) x
));
32033 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32034 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32036 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32037 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32039 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32040 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32042 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32043 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32045 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32046 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32048 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32049 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32051 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32052 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32054 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32055 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32057 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32058 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32060 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32061 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32063 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32064 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32066 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32067 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32069 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32070 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32072 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32073 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32075 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32076 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32078 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32079 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32081 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32082 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32084 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32085 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32087 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32088 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32090 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32091 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32093 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32094 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32096 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32097 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32099 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32100 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32102 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32103 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32105 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32106 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32108 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32109 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32111 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32112 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32114 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32115 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32117 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32118 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32120 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32121 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32123 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32124 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32126 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32127 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32129 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32130 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32132 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32133 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32135 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32136 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32138 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32139 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32141 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32142 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32144 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32145 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32147 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32148 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32150 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32151 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32153 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32154 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32156 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32157 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32159 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32160 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32162 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32163 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32165 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32166 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32168 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32169 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32171 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32172 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32174 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32175 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32177 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32178 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32180 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32181 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32183 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32184 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32186 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32187 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32189 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32190 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32191 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};
32192 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32193 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32194 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32196 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32197 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32198 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32199 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32200 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32201 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32202 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32203 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32204 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32205 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32206 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32207 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32208 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32209 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32210 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32211 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32212 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32213 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32214 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32215 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32216 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32217 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32218 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32219 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32220 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32221 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32222 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32223 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32224 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32225 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32226 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32227 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32228 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32229 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32230 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32231 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32232 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32233 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32234 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32235 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32236 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32239 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32241 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32242 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32244 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32245 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32246 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32247 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32248 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32251 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32252 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32264 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32265 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32266 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32267 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32268 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32269 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32270 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32271 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32289 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32292 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32293 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32294 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32295 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32296 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32297 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32298 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32299 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32353 static swig_type_info
*swig_type_initial
[] = {
32356 &_swigt__p_form_ops_t
,
32358 &_swigt__p_unsigned_char
,
32359 &_swigt__p_unsigned_int
,
32360 &_swigt__p_unsigned_long
,
32361 &_swigt__p_wxANIHandler
,
32362 &_swigt__p_wxAcceleratorTable
,
32363 &_swigt__p_wxActivateEvent
,
32364 &_swigt__p_wxArrayInt
,
32365 &_swigt__p_wxBMPHandler
,
32366 &_swigt__p_wxBitmap
,
32367 &_swigt__p_wxBoxSizer
,
32368 &_swigt__p_wxCURHandler
,
32369 &_swigt__p_wxCalculateLayoutEvent
,
32370 &_swigt__p_wxChildFocusEvent
,
32371 &_swigt__p_wxClipboardTextEvent
,
32372 &_swigt__p_wxCloseEvent
,
32373 &_swigt__p_wxColour
,
32374 &_swigt__p_wxColourData
,
32375 &_swigt__p_wxColourDialog
,
32376 &_swigt__p_wxCommandEvent
,
32377 &_swigt__p_wxContextMenuEvent
,
32378 &_swigt__p_wxControl
,
32379 &_swigt__p_wxControlWithItems
,
32381 &_swigt__p_wxDateEvent
,
32382 &_swigt__p_wxDialog
,
32383 &_swigt__p_wxDirDialog
,
32384 &_swigt__p_wxDisplayChangedEvent
,
32385 &_swigt__p_wxDropFilesEvent
,
32386 &_swigt__p_wxDuplexMode
,
32387 &_swigt__p_wxEraseEvent
,
32388 &_swigt__p_wxEvent
,
32389 &_swigt__p_wxEvtHandler
,
32390 &_swigt__p_wxFSFile
,
32391 &_swigt__p_wxFileDialog
,
32392 &_swigt__p_wxFileSystem
,
32393 &_swigt__p_wxFindDialogEvent
,
32394 &_swigt__p_wxFindReplaceData
,
32395 &_swigt__p_wxFindReplaceDialog
,
32396 &_swigt__p_wxFlexGridSizer
,
32397 &_swigt__p_wxFocusEvent
,
32399 &_swigt__p_wxFontData
,
32400 &_swigt__p_wxFontDialog
,
32401 &_swigt__p_wxFrame
,
32402 &_swigt__p_wxGBSizerItem
,
32403 &_swigt__p_wxGIFHandler
,
32404 &_swigt__p_wxGridBagSizer
,
32405 &_swigt__p_wxGridSizer
,
32406 &_swigt__p_wxHtmlLinkInfo
,
32407 &_swigt__p_wxICOHandler
,
32409 &_swigt__p_wxIconBundle
,
32410 &_swigt__p_wxIconizeEvent
,
32411 &_swigt__p_wxIdleEvent
,
32412 &_swigt__p_wxImage
,
32413 &_swigt__p_wxImageHandler
,
32414 &_swigt__p_wxIndividualLayoutConstraint
,
32415 &_swigt__p_wxInitDialogEvent
,
32416 &_swigt__p_wxJPEGHandler
,
32417 &_swigt__p_wxKeyEvent
,
32418 &_swigt__p_wxLayoutAlgorithm
,
32419 &_swigt__p_wxLayoutConstraints
,
32420 &_swigt__p_wxMDIChildFrame
,
32421 &_swigt__p_wxMDIClientWindow
,
32422 &_swigt__p_wxMDIParentFrame
,
32423 &_swigt__p_wxMaximizeEvent
,
32425 &_swigt__p_wxMenuBar
,
32426 &_swigt__p_wxMenuEvent
,
32427 &_swigt__p_wxMenuItem
,
32428 &_swigt__p_wxMessageDialog
,
32429 &_swigt__p_wxMiniFrame
,
32430 &_swigt__p_wxMouseCaptureChangedEvent
,
32431 &_swigt__p_wxMouseEvent
,
32432 &_swigt__p_wxMoveEvent
,
32433 &_swigt__p_wxMultiChoiceDialog
,
32434 &_swigt__p_wxNavigationKeyEvent
,
32435 &_swigt__p_wxNcPaintEvent
,
32436 &_swigt__p_wxNotifyEvent
,
32437 &_swigt__p_wxObject
,
32438 &_swigt__p_wxPCXHandler
,
32439 &_swigt__p_wxPNGHandler
,
32440 &_swigt__p_wxPNMHandler
,
32441 &_swigt__p_wxPageSetupDialog
,
32442 &_swigt__p_wxPageSetupDialogData
,
32443 &_swigt__p_wxPaintEvent
,
32444 &_swigt__p_wxPaletteChangedEvent
,
32445 &_swigt__p_wxPanel
,
32446 &_swigt__p_wxPaperSize
,
32447 &_swigt__p_wxPasswordEntryDialog
,
32448 &_swigt__p_wxPoint
,
32449 &_swigt__p_wxPopupWindow
,
32450 &_swigt__p_wxPreviewCanvas
,
32451 &_swigt__p_wxPreviewControlBar
,
32452 &_swigt__p_wxPreviewFrame
,
32453 &_swigt__p_wxPrintData
,
32454 &_swigt__p_wxPrintDialog
,
32455 &_swigt__p_wxPrintDialogData
,
32456 &_swigt__p_wxPrintPreview
,
32457 &_swigt__p_wxPrinter
,
32458 &_swigt__p_wxProgressDialog
,
32459 &_swigt__p_wxPyApp
,
32460 &_swigt__p_wxPyCommandEvent
,
32461 &_swigt__p_wxPyEvent
,
32462 &_swigt__p_wxPyHtmlListBox
,
32463 &_swigt__p_wxPyImageHandler
,
32464 &_swigt__p_wxPyPanel
,
32465 &_swigt__p_wxPyPopupTransientWindow
,
32466 &_swigt__p_wxPyPreviewControlBar
,
32467 &_swigt__p_wxPyPreviewFrame
,
32468 &_swigt__p_wxPyPrintPreview
,
32469 &_swigt__p_wxPyPrintout
,
32470 &_swigt__p_wxPyScrolledWindow
,
32471 &_swigt__p_wxPySizer
,
32472 &_swigt__p_wxPyTaskBarIcon
,
32473 &_swigt__p_wxPyVListBox
,
32474 &_swigt__p_wxPyVScrolledWindow
,
32475 &_swigt__p_wxPyValidator
,
32476 &_swigt__p_wxPyWindow
,
32477 &_swigt__p_wxQueryLayoutInfoEvent
,
32478 &_swigt__p_wxQueryNewPaletteEvent
,
32480 &_swigt__p_wxRegion
,
32481 &_swigt__p_wxSashEvent
,
32482 &_swigt__p_wxSashLayoutWindow
,
32483 &_swigt__p_wxSashWindow
,
32484 &_swigt__p_wxScrollEvent
,
32485 &_swigt__p_wxScrollWinEvent
,
32486 &_swigt__p_wxScrolledWindow
,
32487 &_swigt__p_wxSetCursorEvent
,
32488 &_swigt__p_wxShowEvent
,
32489 &_swigt__p_wxSingleChoiceDialog
,
32491 &_swigt__p_wxSizeEvent
,
32492 &_swigt__p_wxSizer
,
32493 &_swigt__p_wxSizerItem
,
32494 &_swigt__p_wxSplashScreen
,
32495 &_swigt__p_wxSplashScreenWindow
,
32496 &_swigt__p_wxSplitterEvent
,
32497 &_swigt__p_wxSplitterWindow
,
32498 &_swigt__p_wxStaticBoxSizer
,
32499 &_swigt__p_wxStatusBar
,
32500 &_swigt__p_wxStdDialogButtonSizer
,
32501 &_swigt__p_wxString
,
32502 &_swigt__p_wxSysColourChangedEvent
,
32503 &_swigt__p_wxTIFFHandler
,
32504 &_swigt__p_wxTaskBarIcon
,
32505 &_swigt__p_wxTaskBarIconEvent
,
32506 &_swigt__p_wxTextEntryDialog
,
32507 &_swigt__p_wxTipWindow
,
32508 &_swigt__p_wxToolBar
,
32509 &_swigt__p_wxTopLevelWindow
,
32510 &_swigt__p_wxUpdateUIEvent
,
32511 &_swigt__p_wxValidator
,
32512 &_swigt__p_wxVisualAttributes
,
32513 &_swigt__p_wxWindow
,
32514 &_swigt__p_wxWindowCreateEvent
,
32515 &_swigt__p_wxWindowDestroyEvent
,
32516 &_swigt__p_wxXPMHandler
,
32519 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32523 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32524 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32525 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32528 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32529 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32533 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32534 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32535 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32538 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32540 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32541 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}};
32542 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32543 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}};
32544 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32545 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32571 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}};
32572 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32577 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}};
32578 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32586 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}};
32587 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32599 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}};
32600 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32612 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32628 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}};
32629 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32631 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}};
32632 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32635 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}};
32636 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32637 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}};
32638 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}};
32639 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32642 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}};
32643 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32654 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}};
32655 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}};
32656 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32662 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}};
32663 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32664 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}};
32665 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32676 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}};
32677 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32679 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}};
32680 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32681 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}};
32683 static swig_cast_info
*swig_cast_initial
[] = {
32686 _swigc__p_form_ops_t
,
32688 _swigc__p_unsigned_char
,
32689 _swigc__p_unsigned_int
,
32690 _swigc__p_unsigned_long
,
32691 _swigc__p_wxANIHandler
,
32692 _swigc__p_wxAcceleratorTable
,
32693 _swigc__p_wxActivateEvent
,
32694 _swigc__p_wxArrayInt
,
32695 _swigc__p_wxBMPHandler
,
32696 _swigc__p_wxBitmap
,
32697 _swigc__p_wxBoxSizer
,
32698 _swigc__p_wxCURHandler
,
32699 _swigc__p_wxCalculateLayoutEvent
,
32700 _swigc__p_wxChildFocusEvent
,
32701 _swigc__p_wxClipboardTextEvent
,
32702 _swigc__p_wxCloseEvent
,
32703 _swigc__p_wxColour
,
32704 _swigc__p_wxColourData
,
32705 _swigc__p_wxColourDialog
,
32706 _swigc__p_wxCommandEvent
,
32707 _swigc__p_wxContextMenuEvent
,
32708 _swigc__p_wxControl
,
32709 _swigc__p_wxControlWithItems
,
32711 _swigc__p_wxDateEvent
,
32712 _swigc__p_wxDialog
,
32713 _swigc__p_wxDirDialog
,
32714 _swigc__p_wxDisplayChangedEvent
,
32715 _swigc__p_wxDropFilesEvent
,
32716 _swigc__p_wxDuplexMode
,
32717 _swigc__p_wxEraseEvent
,
32719 _swigc__p_wxEvtHandler
,
32720 _swigc__p_wxFSFile
,
32721 _swigc__p_wxFileDialog
,
32722 _swigc__p_wxFileSystem
,
32723 _swigc__p_wxFindDialogEvent
,
32724 _swigc__p_wxFindReplaceData
,
32725 _swigc__p_wxFindReplaceDialog
,
32726 _swigc__p_wxFlexGridSizer
,
32727 _swigc__p_wxFocusEvent
,
32729 _swigc__p_wxFontData
,
32730 _swigc__p_wxFontDialog
,
32732 _swigc__p_wxGBSizerItem
,
32733 _swigc__p_wxGIFHandler
,
32734 _swigc__p_wxGridBagSizer
,
32735 _swigc__p_wxGridSizer
,
32736 _swigc__p_wxHtmlLinkInfo
,
32737 _swigc__p_wxICOHandler
,
32739 _swigc__p_wxIconBundle
,
32740 _swigc__p_wxIconizeEvent
,
32741 _swigc__p_wxIdleEvent
,
32743 _swigc__p_wxImageHandler
,
32744 _swigc__p_wxIndividualLayoutConstraint
,
32745 _swigc__p_wxInitDialogEvent
,
32746 _swigc__p_wxJPEGHandler
,
32747 _swigc__p_wxKeyEvent
,
32748 _swigc__p_wxLayoutAlgorithm
,
32749 _swigc__p_wxLayoutConstraints
,
32750 _swigc__p_wxMDIChildFrame
,
32751 _swigc__p_wxMDIClientWindow
,
32752 _swigc__p_wxMDIParentFrame
,
32753 _swigc__p_wxMaximizeEvent
,
32755 _swigc__p_wxMenuBar
,
32756 _swigc__p_wxMenuEvent
,
32757 _swigc__p_wxMenuItem
,
32758 _swigc__p_wxMessageDialog
,
32759 _swigc__p_wxMiniFrame
,
32760 _swigc__p_wxMouseCaptureChangedEvent
,
32761 _swigc__p_wxMouseEvent
,
32762 _swigc__p_wxMoveEvent
,
32763 _swigc__p_wxMultiChoiceDialog
,
32764 _swigc__p_wxNavigationKeyEvent
,
32765 _swigc__p_wxNcPaintEvent
,
32766 _swigc__p_wxNotifyEvent
,
32767 _swigc__p_wxObject
,
32768 _swigc__p_wxPCXHandler
,
32769 _swigc__p_wxPNGHandler
,
32770 _swigc__p_wxPNMHandler
,
32771 _swigc__p_wxPageSetupDialog
,
32772 _swigc__p_wxPageSetupDialogData
,
32773 _swigc__p_wxPaintEvent
,
32774 _swigc__p_wxPaletteChangedEvent
,
32776 _swigc__p_wxPaperSize
,
32777 _swigc__p_wxPasswordEntryDialog
,
32779 _swigc__p_wxPopupWindow
,
32780 _swigc__p_wxPreviewCanvas
,
32781 _swigc__p_wxPreviewControlBar
,
32782 _swigc__p_wxPreviewFrame
,
32783 _swigc__p_wxPrintData
,
32784 _swigc__p_wxPrintDialog
,
32785 _swigc__p_wxPrintDialogData
,
32786 _swigc__p_wxPrintPreview
,
32787 _swigc__p_wxPrinter
,
32788 _swigc__p_wxProgressDialog
,
32790 _swigc__p_wxPyCommandEvent
,
32791 _swigc__p_wxPyEvent
,
32792 _swigc__p_wxPyHtmlListBox
,
32793 _swigc__p_wxPyImageHandler
,
32794 _swigc__p_wxPyPanel
,
32795 _swigc__p_wxPyPopupTransientWindow
,
32796 _swigc__p_wxPyPreviewControlBar
,
32797 _swigc__p_wxPyPreviewFrame
,
32798 _swigc__p_wxPyPrintPreview
,
32799 _swigc__p_wxPyPrintout
,
32800 _swigc__p_wxPyScrolledWindow
,
32801 _swigc__p_wxPySizer
,
32802 _swigc__p_wxPyTaskBarIcon
,
32803 _swigc__p_wxPyVListBox
,
32804 _swigc__p_wxPyVScrolledWindow
,
32805 _swigc__p_wxPyValidator
,
32806 _swigc__p_wxPyWindow
,
32807 _swigc__p_wxQueryLayoutInfoEvent
,
32808 _swigc__p_wxQueryNewPaletteEvent
,
32810 _swigc__p_wxRegion
,
32811 _swigc__p_wxSashEvent
,
32812 _swigc__p_wxSashLayoutWindow
,
32813 _swigc__p_wxSashWindow
,
32814 _swigc__p_wxScrollEvent
,
32815 _swigc__p_wxScrollWinEvent
,
32816 _swigc__p_wxScrolledWindow
,
32817 _swigc__p_wxSetCursorEvent
,
32818 _swigc__p_wxShowEvent
,
32819 _swigc__p_wxSingleChoiceDialog
,
32821 _swigc__p_wxSizeEvent
,
32823 _swigc__p_wxSizerItem
,
32824 _swigc__p_wxSplashScreen
,
32825 _swigc__p_wxSplashScreenWindow
,
32826 _swigc__p_wxSplitterEvent
,
32827 _swigc__p_wxSplitterWindow
,
32828 _swigc__p_wxStaticBoxSizer
,
32829 _swigc__p_wxStatusBar
,
32830 _swigc__p_wxStdDialogButtonSizer
,
32831 _swigc__p_wxString
,
32832 _swigc__p_wxSysColourChangedEvent
,
32833 _swigc__p_wxTIFFHandler
,
32834 _swigc__p_wxTaskBarIcon
,
32835 _swigc__p_wxTaskBarIconEvent
,
32836 _swigc__p_wxTextEntryDialog
,
32837 _swigc__p_wxTipWindow
,
32838 _swigc__p_wxToolBar
,
32839 _swigc__p_wxTopLevelWindow
,
32840 _swigc__p_wxUpdateUIEvent
,
32841 _swigc__p_wxValidator
,
32842 _swigc__p_wxVisualAttributes
,
32843 _swigc__p_wxWindow
,
32844 _swigc__p_wxWindowCreateEvent
,
32845 _swigc__p_wxWindowDestroyEvent
,
32846 _swigc__p_wxXPMHandler
,
32850 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32852 static swig_const_info swig_const_table
[] = {
32853 {0, 0, 0, 0.0, 0, 0}};
32858 /* -----------------------------------------------------------------------------
32859 * Type initialization:
32860 * This problem is tough by the requirement that no dynamic
32861 * memory is used. Also, since swig_type_info structures store pointers to
32862 * swig_cast_info structures and swig_cast_info structures store pointers back
32863 * to swig_type_info structures, we need some lookup code at initialization.
32864 * The idea is that swig generates all the structures that are needed.
32865 * The runtime then collects these partially filled structures.
32866 * The SWIG_InitializeModule function takes these initial arrays out of
32867 * swig_module, and does all the lookup, filling in the swig_module.types
32868 * array with the correct data and linking the correct swig_cast_info
32869 * structures together.
32871 * The generated swig_type_info structures are assigned staticly to an initial
32872 * array. We just loop though that array, and handle each type individually.
32873 * First we lookup if this type has been already loaded, and if so, use the
32874 * loaded structure instead of the generated one. Then we have to fill in the
32875 * cast linked list. The cast data is initially stored in something like a
32876 * two-dimensional array. Each row corresponds to a type (there are the same
32877 * number of rows as there are in the swig_type_initial array). Each entry in
32878 * a column is one of the swig_cast_info structures for that type.
32879 * The cast_initial array is actually an array of arrays, because each row has
32880 * a variable number of columns. So to actually build the cast linked list,
32881 * we find the array of casts associated with the type, and loop through it
32882 * adding the casts to the list. The one last trick we need to do is making
32883 * sure the type pointer in the swig_cast_info struct is correct.
32885 * First off, we lookup the cast->type name to see if it is already loaded.
32886 * There are three cases to handle:
32887 * 1) If the cast->type has already been loaded AND the type we are adding
32888 * casting info to has not been loaded (it is in this module), THEN we
32889 * replace the cast->type pointer with the type pointer that has already
32891 * 2) If BOTH types (the one we are adding casting info to, and the
32892 * cast->type) are loaded, THEN the cast info has already been loaded by
32893 * the previous module so we just ignore it.
32894 * 3) Finally, if cast->type has not already been loaded, then we add that
32895 * swig_cast_info to the linked list (because the cast->type) pointer will
32897 * ----------------------------------------------------------------------------- */
32907 #define SWIGRUNTIME_DEBUG
32911 SWIG_InitializeModule(void *clientdata
) {
32913 swig_module_info
*module_head
;
32914 static int init_run
= 0;
32916 clientdata
= clientdata
;
32918 if (init_run
) return;
32921 /* Initialize the swig_module */
32922 swig_module
.type_initial
= swig_type_initial
;
32923 swig_module
.cast_initial
= swig_cast_initial
;
32925 /* Try and load any already created modules */
32926 module_head
= SWIG_GetModule(clientdata
);
32928 swig_module
.next
= module_head
->next
;
32929 module_head
->next
= &swig_module
;
32931 /* This is the first module loaded */
32932 swig_module
.next
= &swig_module
;
32933 SWIG_SetModule(clientdata
, &swig_module
);
32936 /* Now work on filling in swig_module.types */
32937 #ifdef SWIGRUNTIME_DEBUG
32938 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32940 for (i
= 0; i
< swig_module
.size
; ++i
) {
32941 swig_type_info
*type
= 0;
32942 swig_type_info
*ret
;
32943 swig_cast_info
*cast
;
32945 #ifdef SWIGRUNTIME_DEBUG
32946 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32949 /* if there is another module already loaded */
32950 if (swig_module
.next
!= &swig_module
) {
32951 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32954 /* Overwrite clientdata field */
32955 #ifdef SWIGRUNTIME_DEBUG
32956 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32958 if (swig_module
.type_initial
[i
]->clientdata
) {
32959 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32960 #ifdef SWIGRUNTIME_DEBUG
32961 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32965 type
= swig_module
.type_initial
[i
];
32968 /* Insert casting types */
32969 cast
= swig_module
.cast_initial
[i
];
32970 while (cast
->type
) {
32971 /* Don't need to add information already in the list */
32973 #ifdef SWIGRUNTIME_DEBUG
32974 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32976 if (swig_module
.next
!= &swig_module
) {
32977 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32978 #ifdef SWIGRUNTIME_DEBUG
32979 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32983 if (type
== swig_module
.type_initial
[i
]) {
32984 #ifdef SWIGRUNTIME_DEBUG
32985 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32990 /* Check for casting already in the list */
32991 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32992 #ifdef SWIGRUNTIME_DEBUG
32993 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32995 if (!ocast
) ret
= 0;
33000 #ifdef SWIGRUNTIME_DEBUG
33001 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33004 type
->cast
->prev
= cast
;
33005 cast
->next
= type
->cast
;
33011 /* Set entry in modules->types array equal to the type */
33012 swig_module
.types
[i
] = type
;
33014 swig_module
.types
[i
] = 0;
33016 #ifdef SWIGRUNTIME_DEBUG
33017 printf("**** SWIG_InitializeModule: Cast List ******\n");
33018 for (i
= 0; i
< swig_module
.size
; ++i
) {
33020 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33021 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33022 while (cast
->type
) {
33023 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33027 printf("---- Total casts: %d\n",j
);
33029 printf("**** SWIG_InitializeModule: Cast List ******\n");
33033 /* This function will propagate the clientdata field of type to
33034 * any new swig_type_info structures that have been added into the list
33035 * of equivalent types. It is like calling
33036 * SWIG_TypeClientData(type, clientdata) a second time.
33039 SWIG_PropagateClientData(void) {
33041 swig_cast_info
*equiv
;
33042 static int init_run
= 0;
33044 if (init_run
) return;
33047 for (i
= 0; i
< swig_module
.size
; i
++) {
33048 if (swig_module
.types
[i
]->clientdata
) {
33049 equiv
= swig_module
.types
[i
]->cast
;
33051 if (!equiv
->converter
) {
33052 if (equiv
->type
&& !equiv
->type
->clientdata
)
33053 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33055 equiv
= equiv
->next
;
33075 /* Python-specific SWIG API */
33076 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33077 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33078 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33080 /* -----------------------------------------------------------------------------
33081 * global variable support code.
33082 * ----------------------------------------------------------------------------- */
33084 typedef struct swig_globalvar
{
33085 char *name
; /* Name of global variable */
33086 PyObject
*(*get_attr
)(void); /* Return the current value */
33087 int (*set_attr
)(PyObject
*); /* Set the value */
33088 struct swig_globalvar
*next
;
33091 typedef struct swig_varlinkobject
{
33093 swig_globalvar
*vars
;
33094 } swig_varlinkobject
;
33096 SWIGINTERN PyObject
*
33097 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33098 return PyString_FromString("<Swig global variables>");
33101 SWIGINTERN PyObject
*
33102 swig_varlink_str(swig_varlinkobject
*v
) {
33103 PyObject
*str
= PyString_FromString("(");
33104 swig_globalvar
*var
;
33105 for (var
= v
->vars
; var
; var
=var
->next
) {
33106 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33107 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33109 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33114 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33115 PyObject
*str
= swig_varlink_str(v
);
33116 fprintf(fp
,"Swig global variables ");
33117 fprintf(fp
,"%s\n", PyString_AsString(str
));
33123 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33124 swig_globalvar
*var
= v
->vars
;
33126 swig_globalvar
*n
= var
->next
;
33133 SWIGINTERN PyObject
*
33134 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33135 PyObject
*res
= NULL
;
33136 swig_globalvar
*var
= v
->vars
;
33138 if (strcmp(var
->name
,n
) == 0) {
33139 res
= (*var
->get_attr
)();
33144 if (res
== NULL
&& !PyErr_Occurred()) {
33145 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33151 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33153 swig_globalvar
*var
= v
->vars
;
33155 if (strcmp(var
->name
,n
) == 0) {
33156 res
= (*var
->set_attr
)(p
);
33161 if (res
== 1 && !PyErr_Occurred()) {
33162 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33167 SWIGINTERN PyTypeObject
*
33168 swig_varlink_type(void) {
33169 static char varlink__doc__
[] = "Swig var link object";
33170 static PyTypeObject varlink_type
;
33171 static int type_init
= 0;
33173 const PyTypeObject tmp
33175 PyObject_HEAD_INIT(NULL
)
33176 0, /* Number of items in variable part (ob_size) */
33177 (char *)"swigvarlink", /* Type name (tp_name) */
33178 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33179 0, /* Itemsize (tp_itemsize) */
33180 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33181 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33182 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33183 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33184 0, /* tp_compare */
33185 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33186 0, /* tp_as_number */
33187 0, /* tp_as_sequence */
33188 0, /* tp_as_mapping */
33191 (reprfunc
)swig_varlink_str
, /* tp_str */
33192 0, /* tp_getattro */
33193 0, /* tp_setattro */
33194 0, /* tp_as_buffer */
33196 varlink__doc__
, /* tp_doc */
33197 0, /* tp_traverse */
33199 0, /* tp_richcompare */
33200 0, /* tp_weaklistoffset */
33201 #if PY_VERSION_HEX >= 0x02020000
33202 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33204 #if PY_VERSION_HEX >= 0x02030000
33207 #ifdef COUNT_ALLOCS
33208 0,0,0,0 /* tp_alloc -> tp_next */
33211 varlink_type
= tmp
;
33212 varlink_type
.ob_type
= &PyType_Type
;
33215 return &varlink_type
;
33218 /* Create a variable linking object for use later */
33219 SWIGINTERN PyObject
*
33220 SWIG_Python_newvarlink(void) {
33221 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33225 return ((PyObject
*) result
);
33229 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33230 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33231 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33233 size_t size
= strlen(name
)+1;
33234 gv
->name
= (char *)malloc(size
);
33236 strncpy(gv
->name
,name
,size
);
33237 gv
->get_attr
= get_attr
;
33238 gv
->set_attr
= set_attr
;
33239 gv
->next
= v
->vars
;
33245 SWIGINTERN PyObject
*
33247 static PyObject
*_SWIG_globals
= 0;
33248 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33249 return _SWIG_globals
;
33252 /* -----------------------------------------------------------------------------
33253 * constants/methods manipulation
33254 * ----------------------------------------------------------------------------- */
33256 /* Install Constants */
33258 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33261 for (i
= 0; constants
[i
].type
; ++i
) {
33262 switch(constants
[i
].type
) {
33263 case SWIG_PY_POINTER
:
33264 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33266 case SWIG_PY_BINARY
:
33267 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33274 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33280 /* -----------------------------------------------------------------------------*/
33281 /* Fix SwigMethods to carry the callback ptrs when needed */
33282 /* -----------------------------------------------------------------------------*/
33285 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33286 swig_const_info
*const_table
,
33287 swig_type_info
**types
,
33288 swig_type_info
**types_initial
) {
33290 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33291 const char *c
= methods
[i
].ml_doc
;
33292 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33294 swig_const_info
*ci
= 0;
33295 const char *name
= c
+ 10;
33296 for (j
= 0; const_table
[j
].type
; ++j
) {
33297 if (strncmp(const_table
[j
].name
, name
,
33298 strlen(const_table
[j
].name
)) == 0) {
33299 ci
= &(const_table
[j
]);
33304 size_t shift
= (ci
->ptype
) - types
;
33305 swig_type_info
*ty
= types_initial
[shift
];
33306 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33307 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33308 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33311 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33313 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33315 strncpy(buff
, "swig_ptr: ", 10);
33317 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33318 methods
[i
].ml_doc
= ndoc
;
33330 /* -----------------------------------------------------------------------------*
33331 * Partial Init method
33332 * -----------------------------------------------------------------------------*/
33337 SWIGEXPORT
void SWIG_init(void) {
33340 /* Fix SwigMethods to carry the callback ptrs when needed */
33341 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33343 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33344 d
= PyModule_GetDict(m
);
33346 SWIG_InitializeModule(0);
33347 SWIG_InstallConstants(d
,swig_const_table
);
33350 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33351 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33352 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33353 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33354 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33355 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33356 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33357 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33358 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33359 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33360 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33361 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33362 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33363 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33364 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33365 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33366 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33367 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33368 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33369 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33370 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33371 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33372 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33373 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33374 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33375 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33376 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33377 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33378 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33379 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33380 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33381 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33382 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33383 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33384 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33385 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33386 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33387 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33388 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33389 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33390 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33391 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33392 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33393 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33394 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33395 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33396 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33397 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33398 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33399 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33400 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33401 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33402 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33403 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33404 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33405 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33406 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33407 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33408 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33409 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33410 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33411 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33412 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33413 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33414 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33415 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33416 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33417 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33418 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33419 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33420 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33421 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33422 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33423 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33424 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33425 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33426 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33427 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33428 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33429 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33430 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33431 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33432 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33433 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33434 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33435 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33436 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33437 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33438 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33439 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33440 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33441 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33442 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33443 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33444 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33445 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33446 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33447 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33448 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33449 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33450 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33451 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33453 // Map renamed classes back to their common name for OOR
33454 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33455 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33456 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33458 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33459 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33460 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33461 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33462 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33463 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33464 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33465 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33466 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33467 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33468 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33469 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33470 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33471 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33472 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33473 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33474 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33475 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33476 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33477 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33478 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33479 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33480 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33481 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33482 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33483 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33484 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33485 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33486 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33487 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33488 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33489 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33490 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33491 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33492 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33493 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33494 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33495 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33496 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33497 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33498 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33499 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33500 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33501 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33502 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33503 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33504 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33505 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33506 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33507 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33508 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33509 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33510 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33511 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33512 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33513 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33514 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33515 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33516 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33517 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33518 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33519 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33520 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33521 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33522 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33523 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33524 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33525 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33526 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33527 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33528 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33529 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33530 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33531 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33532 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33533 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33534 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33535 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33536 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33537 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33538 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33539 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33540 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33541 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33542 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33543 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33544 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33545 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33546 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33547 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33548 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33549 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33550 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33551 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33552 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33554 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");