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_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info
*swig_types
[165];
2631 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635 /* -------- TYPES TABLE (END) -------- */
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2657 #define SWIG_name "_windows_"
2659 #define SWIGVERSION 0x010329
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666 #include <stdexcept>
2670 class PyObject_ptr
{
2675 PyObject_ptr() :_obj(0)
2679 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2684 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2686 if (initial_ref
) Py_XINCREF(_obj
);
2689 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2691 Py_XINCREF(item
._obj
);
2702 operator PyObject
*() const
2707 PyObject
*operator->() const
2716 struct PyObject_var
: PyObject_ptr
{
2717 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2719 PyObject_var
& operator = (PyObject
* obj
)
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2733 static const wxString
wxPyEmptyString(wxEmptyString
);
2734 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2765 int res
= SWIG_AsVal_long (obj
, &v
);
2766 if (SWIG_IsOK(res
)) {
2767 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2768 return SWIG_OverflowError
;
2770 if (val
) *val
= static_cast< int >(v
);
2778 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2780 if (obj
== Py_True
) {
2781 if (val
) *val
= true;
2783 } else if (obj
== Py_False
) {
2784 if (val
) *val
= false;
2788 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2789 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2795 #define SWIG_From_long PyInt_FromLong
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_int (int value
)
2801 return SWIG_From_long (value
);
2806 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2808 if (PyNumber_Check(obj
)) {
2809 if (val
) *val
= PyFloat_AsDouble(obj
);
2812 return SWIG_TypeError
;
2816 #define SWIG_From_double PyFloat_FromDouble
2818 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2819 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2820 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2821 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2822 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2823 int style
= self
->GetExtraStyle();
2825 style
|= wxFRAME_EX_METAL
;
2827 style
&= ~wxFRAME_EX_METAL
;
2828 self
->SetExtraStyle(style
);
2832 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2834 self
->GetFieldRect(i
, r
);
2837 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2838 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2839 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2841 #include <wx/popupwin.h>
2844 class wxPopupWindow
: public wxWindow
{
2846 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2847 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2850 class wxPyPopupTransientWindow
: public wxPopupWindow
2853 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2854 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2858 #include <wx/tipwin.h>
2860 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2861 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2864 #include <wx/tipwin.h>
2867 #include <wx/vscroll.h>
2870 class wxPyVScrolledWindow
: public wxVScrolledWindow
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876 wxPyVScrolledWindow(wxWindow
*parent
,
2877 wxWindowID id
= wxID_ANY
,
2878 const wxPoint
& pos
= wxDefaultPosition
,
2879 const wxSize
& size
= wxDefaultSize
,
2881 const wxString
& name
= wxPyPanelNameStr
)
2882 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2885 // Overridable virtuals
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2914 // this function should return the best guess for the total height it may
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2919 // Also expose some other interesting protected methods
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2949 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2952 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2953 return SWIG_TypeError
;
2956 *val
= (unsigned long)v
;
2961 SWIGINTERNINLINE
int
2962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 SWIGINTERNINLINE PyObject
*
2972 SWIG_From_unsigned_SS_long (unsigned long value
)
2974 return (value
> LONG_MAX
) ?
2975 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_size_t (size_t value
)
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2986 #include <wx/vlbox.h>
2988 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2990 class wxPyVListBox
: public wxVListBox
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2994 wxPyVListBox() : wxVListBox() {}
2996 wxPyVListBox(wxWindow
*parent
,
2997 wxWindowID id
= wxID_ANY
,
2998 const wxPoint
& pos
= wxDefaultPosition
,
2999 const wxSize
& size
= wxDefaultSize
,
3001 const wxString
& name
= wxPyVListBoxNameStr
)
3002 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3005 // Overridable virtuals
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3013 // the derived class must implement this method to return the height of the
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3028 // this method is used to draw the items background and, maybe, a border
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3050 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3051 unsigned long cookie
= 0;
3052 int selected
= self
->GetFirstSelected(cookie
);
3053 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3054 PyObject
* tup
= PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3056 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3057 wxPyEndBlockThreads(blocked
);
3060 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3061 int selected
= self
->GetNextSelected(cookie
);
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 PyObject
* tup
= PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3065 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3066 wxPyEndBlockThreads(blocked
);
3070 #include <wx/htmllbox.h>
3073 class wxPyHtmlListBox
: public wxHtmlListBox
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3079 wxPyHtmlListBox(wxWindow
*parent
,
3080 wxWindowID id
= wxID_ANY
,
3081 const wxPoint
& pos
= wxDefaultPosition
,
3082 const wxSize
& size
= wxDefaultSize
,
3084 const wxString
& name
= wxPyVListBoxNameStr
)
3085 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3088 // Overridable virtuals
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n
,
3119 const wxHtmlLinkInfo
& link
);
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3134 const wxHtmlLinkInfo
& link
) {
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3138 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3142 wxPyEndBlockThreads(blocked
);
3144 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3154 class wxTaskBarIcon
: public wxEvtHandler
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3161 class wxTaskBarIconEvent
: public wxEvent
3164 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent
* Clone() const { return NULL
; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu
*menu
) { return false; }
3175 wxEVT_TASKBAR_MOVE
= 0,
3176 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3177 wxEVT_TASKBAR_LEFT_UP
= 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3179 wxEVT_TASKBAR_RIGHT_UP
= 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon
: public wxTaskBarIcon
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 wxMenu
* CreatePopupMenu() {
3195 wxMenu
*rval
= NULL
;
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3201 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3203 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3208 wxPyEndBlockThreads(blocked
);
3210 rval
= wxTaskBarIcon::CreatePopupMenu();
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3221 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3225 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3226 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3227 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3228 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3229 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3230 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3235 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3237 self
->GetFilenames(arr
);
3238 return wxArrayString2PyList_helper(arr
);
3240 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3242 self
->GetPaths(arr
);
3243 return wxArrayString2PyList_helper(arr
);
3245 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3246 return wxArrayInt2PyList_helper(self
->GetSelections());
3248 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3249 return new wxSingleChoiceDialog(parent
, message
, caption
,
3250 choices
, choices_array
, NULL
, style
, pos
);
3252 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow
: public wxWindow
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxString
& name
= wxPyPanelNameStr
)
3274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel
: public wxPanel
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3362 const wxPoint
& pos
= wxDefaultPosition
,
3363 const wxSize
& size
= wxDefaultSize
,
3365 const wxString
& name
= wxPyPanelNameStr
)
3366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3369 bool DoEraseBackground(wxDC
* dc
) {
3371 return wxWindow::DoEraseBackground(dc
->GetHDC());
3373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3392 DEC_PYCALLBACK__(InitDialog
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3395 DEC_PYCALLBACK_BOOL_(Validate
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow
: public wxScrolledWindow
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3454 const wxPoint
& pos
= wxDefaultPosition
,
3455 const wxSize
& size
= wxDefaultSize
,
3457 const wxString
& name
= wxPyPanelNameStr
)
3458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3461 bool DoEraseBackground(wxDC
* dc
) {
3463 return wxWindow::DoEraseBackground(dc
->GetHDC());
3465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3483 DEC_PYCALLBACK__(InitDialog
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3486 DEC_PYCALLBACK_BOOL_(Validate
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3539 #include "wx/wxPython/printfw.h"
3542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3548 self
->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked
);
3552 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3553 if (! PyString_Check(data
)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3555 "Expected string object"));
3559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3561 wxPyEndBlockThreads(blocked
);
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3569 bool hadErr
= false;
3572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3578 val
= PyTuple_GetItem(result
, 0);
3579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3582 val
= PyTuple_GetItem(result
, 1);
3583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3586 val
= PyTuple_GetItem(result
, 2);
3587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 3);
3591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3603 wxPyEndBlockThreads(blocked
);
3605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3638 wxPyEndBlockThreads(blocked); \
3640 rval = PCLASS::CBNAME(a, b); \
3647 class wxPyPrintPreview
: public wxPrintPreview
3649 DECLARE_CLASS(wxPyPrintPreview
)
3651 wxPyPrintPreview(wxPyPrintout
* printout
,
3652 wxPyPrintout
* printoutForPrinting
,
3653 wxPrintDialogData
* data
=NULL
)
3654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3656 wxPyPrintPreview(wxPyPrintout
* printout
,
3657 wxPyPrintout
* printoutForPrinting
,
3659 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3691 class wxPyPreviewFrame
: public wxPreviewFrame
3693 DECLARE_CLASS(wxPyPreviewFrame
)
3695 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3696 const wxString
& title
,
3697 const wxPoint
& pos
= wxDefaultPosition
,
3698 const wxSize
& size
= wxDefaultSize
,
3699 long style
= wxDEFAULT_FRAME_STYLE
,
3700 const wxString
& name
= wxPyFrameNameStr
)
3701 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3704 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3705 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3707 DEC_PYCALLBACK_VOID_(Initialize
);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3714 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3721 class wxPyPreviewControlBar
: public wxPreviewControlBar
3723 DECLARE_CLASS(wxPyPreviewControlBar
)
3725 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3728 const wxPoint
& pos
= wxDefaultPosition
,
3729 const wxSize
& size
= wxDefaultSize
,
3731 const wxString
& name
= wxPyPanelNameStr
)
3732 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3735 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3737 DEC_PYCALLBACK_VOID_(CreateButtons
);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3750 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= 0;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 int arg2
= (int) (int)-1 ;
3754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3758 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3761 wxPanel
*result
= 0 ;
3770 bool temp6
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 char * kwnames
[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3789 if (!SWIG_IsOK(ecode2
)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 arg2
= static_cast< int >(val2
);
3797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3807 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3808 if (!SWIG_IsOK(ecode5
)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 arg5
= static_cast< long >(val5
);
3815 arg6
= wxString_in_helper(obj5
);
3816 if (arg6
== NULL
) SWIG_fail
;
3821 if (!wxPyCheckForApp()) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3842 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3843 PyObject
*resultobj
= 0;
3844 wxPanel
*result
= 0 ;
3846 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3848 if (!wxPyCheckForApp()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxPanel
*)new wxPanel();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3861 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
= 0;
3863 wxPanel
*arg1
= (wxPanel
*) 0 ;
3864 wxWindow
*arg2
= (wxWindow
*) 0 ;
3865 int arg3
= (int) (int)-1 ;
3866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3870 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3871 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3884 bool temp7
= false ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3887 PyObject
* obj2
= 0 ;
3888 PyObject
* obj3
= 0 ;
3889 PyObject
* obj4
= 0 ;
3890 PyObject
* obj5
= 0 ;
3891 PyObject
* obj6
= 0 ;
3892 char * kwnames
[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3898 if (!SWIG_IsOK(res1
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3903 if (!SWIG_IsOK(res2
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3909 if (!SWIG_IsOK(ecode3
)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 arg3
= static_cast< int >(val3
);
3917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3928 if (!SWIG_IsOK(ecode6
)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 arg6
= static_cast< long >(val6
);
3935 arg7
= wxString_in_helper(obj6
);
3936 if (arg7
== NULL
) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3963 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3964 PyObject
*resultobj
= 0;
3965 wxPanel
*arg1
= (wxPanel
*) 0 ;
3968 PyObject
*swig_obj
[1] ;
3970 if (!args
) SWIG_fail
;
3972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3973 if (!SWIG_IsOK(res1
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 (arg1
)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_Py_Void();
3990 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
= 0;
3992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3993 SwigValueWrapper
<wxVisualAttributes
> result
;
3996 PyObject
* obj0
= 0 ;
3997 char * kwnames
[] = {
3998 (char *) "variant", NULL
4001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4004 if (!SWIG_IsOK(ecode1
)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 arg1
= static_cast< wxWindowVariant
>(val1
);
4010 if (!wxPyCheckForApp()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4023 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4027 return SWIG_Py_Void();
4030 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4031 return SWIG_Python_InitShadowInstance(args
);
4034 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
= 0;
4036 wxWindow
*arg1
= (wxWindow
*) 0 ;
4037 int arg2
= (int) (int)-1 ;
4038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4042 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4043 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4045 wxScrolledWindow
*result
= 0 ;
4054 bool temp6
= false ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4057 PyObject
* obj2
= 0 ;
4058 PyObject
* obj3
= 0 ;
4059 PyObject
* obj4
= 0 ;
4060 PyObject
* obj5
= 0 ;
4061 char * kwnames
[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4067 if (!SWIG_IsOK(res1
)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4073 if (!SWIG_IsOK(ecode2
)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 arg2
= static_cast< int >(val2
);
4081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4092 if (!SWIG_IsOK(ecode5
)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 arg5
= static_cast< long >(val5
);
4099 arg6
= wxString_in_helper(obj5
);
4100 if (arg6
== NULL
) SWIG_fail
;
4105 if (!wxPyCheckForApp()) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4126 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxScrolledWindow
*result
= 0 ;
4130 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4132 if (!wxPyCheckForApp()) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4145 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
= 0;
4147 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4148 wxWindow
*arg2
= (wxWindow
*) 0 ;
4149 int arg3
= (int) (int)-1 ;
4150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4154 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4155 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4168 bool temp7
= false ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 PyObject
* obj2
= 0 ;
4172 PyObject
* obj3
= 0 ;
4173 PyObject
* obj4
= 0 ;
4174 PyObject
* obj5
= 0 ;
4175 PyObject
* obj6
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4187 if (!SWIG_IsOK(res2
)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4193 if (!SWIG_IsOK(ecode3
)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 arg3
= static_cast< int >(val3
);
4201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4212 if (!SWIG_IsOK(ecode6
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 arg6
= static_cast< long >(val6
);
4219 arg7
= wxString_in_helper(obj6
);
4220 if (arg7
== NULL
) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4254 int arg6
= (int) 0 ;
4255 int arg7
= (int) 0 ;
4256 bool arg8
= (bool) false ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 PyObject
* obj2
= 0 ;
4276 PyObject
* obj3
= 0 ;
4277 PyObject
* obj4
= 0 ;
4278 PyObject
* obj5
= 0 ;
4279 PyObject
* obj6
= 0 ;
4280 PyObject
* obj7
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 arg2
= static_cast< int >(val2
);
4296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4297 if (!SWIG_IsOK(ecode3
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 arg3
= static_cast< int >(val3
);
4301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4302 if (!SWIG_IsOK(ecode4
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 arg4
= static_cast< int >(val4
);
4306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4307 if (!SWIG_IsOK(ecode5
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 arg5
= static_cast< int >(val5
);
4312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4313 if (!SWIG_IsOK(ecode6
)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 arg6
= static_cast< int >(val6
);
4319 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4320 if (!SWIG_IsOK(ecode7
)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 arg7
= static_cast< int >(val7
);
4326 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4327 if (!SWIG_IsOK(ecode8
)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 arg8
= static_cast< bool >(val8
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4370 if (!SWIG_IsOK(ecode2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 arg2
= static_cast< int >(val2
);
4374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4375 if (!SWIG_IsOK(ecode3
)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 arg3
= static_cast< int >(val3
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->Scroll(arg2
,arg3
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_Py_Void();
4392 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
= 0;
4394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "orient", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_From_int(static_cast< int >(result
));
4431 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 arg2
= static_cast< int >(val2
);
4460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 arg3
= static_cast< int >(val3
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj2
= 0 ;
4492 char * kwnames
[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4503 if (!SWIG_IsOK(ecode2
)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 arg2
= static_cast< int >(val2
);
4507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4508 if (!SWIG_IsOK(ecode3
)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 arg3
= static_cast< int >(val3
);
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->SetScrollRate(arg2
,arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_Py_Void();
4525 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4526 PyObject
*resultobj
= 0;
4527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4528 int *arg2
= (int *) 0 ;
4529 int *arg3
= (int *) 0 ;
4533 int res2
= SWIG_TMPOBJ
;
4535 int res3
= SWIG_TMPOBJ
;
4536 PyObject
*swig_obj
[1] ;
4540 if (!args
) SWIG_fail
;
4542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4543 if (!SWIG_IsOK(res1
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2
)) {
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4557 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4560 if (SWIG_IsTmpObj(res3
)) {
4561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4563 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4572 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4596 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4597 if (!SWIG_IsOK(ecode2
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 arg2
= static_cast< bool >(val2
);
4601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4602 if (!SWIG_IsOK(ecode3
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 arg3
= static_cast< bool >(val3
);
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 (arg1
)->EnableScrolling(arg2
,arg3
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_Py_Void();
4619 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4622 int *arg2
= (int *) 0 ;
4623 int *arg3
= (int *) 0 ;
4627 int res2
= SWIG_TMPOBJ
;
4629 int res3
= SWIG_TMPOBJ
;
4630 PyObject
*swig_obj
[1] ;
4634 if (!args
) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2
)) {
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4651 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4654 if (SWIG_IsTmpObj(res3
)) {
4655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4666 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 char * kwnames
[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4686 if (!SWIG_IsOK(res1
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4690 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4691 if (!SWIG_IsOK(ecode2
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 arg2
= static_cast< double >(val2
);
4695 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 arg3
= static_cast< double >(val3
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->SetScale(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_Py_Void();
4713 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_From_double(static_cast< double >(result
));
4741 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_From_double(static_cast< double >(result
));
4769 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4770 PyObject
*resultobj
= 0;
4771 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4780 if (!SWIG_IsOK(res1
)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4786 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4801 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4802 PyObject
*resultobj
= 0;
4803 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4806 int *arg4
= (int *) 0 ;
4807 int *arg5
= (int *) 0 ;
4815 int res4
= SWIG_TMPOBJ
;
4817 int res5
= SWIG_TMPOBJ
;
4821 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4823 if (!SWIG_IsOK(res1
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4827 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4828 if (!SWIG_IsOK(ecode2
)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 arg2
= static_cast< int >(val2
);
4832 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4833 if (!SWIG_IsOK(ecode3
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 arg3
= static_cast< int >(val3
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4
)) {
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4847 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4850 if (SWIG_IsTmpObj(res5
)) {
4851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4853 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4862 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4866 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4881 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4882 PyObject
*resultobj
= 0;
4883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4890 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4898 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4913 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4914 PyObject
*resultobj
= 0;
4915 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4918 int *arg4
= (int *) 0 ;
4919 int *arg5
= (int *) 0 ;
4927 int res4
= SWIG_TMPOBJ
;
4929 int res5
= SWIG_TMPOBJ
;
4933 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4935 if (!SWIG_IsOK(res1
)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4939 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4940 if (!SWIG_IsOK(ecode2
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 arg2
= static_cast< int >(val2
);
4944 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4945 if (!SWIG_IsOK(ecode3
)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 arg3
= static_cast< int >(val3
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4959 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4962 if (SWIG_IsTmpObj(res5
)) {
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4965 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4974 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4993 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5023 wxScrollWinEvent
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "self",(char *) "event", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5037 if (!SWIG_IsOK(res1
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5042 if (!SWIG_IsOK(res2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_From_int(static_cast< int >(result
));
5062 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5065 wxWindow
*arg2
= (wxWindow
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "self",(char *) "target", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5078 if (!SWIG_IsOK(res1
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5083 if (!SWIG_IsOK(res2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetTargetWindow(arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5103 wxWindow
*result
= 0 ;
5106 PyObject
*swig_obj
[1] ;
5108 if (!args
) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= wxPyMake_wxObject(result
, 0);
5130 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
= 0;
5132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5139 char * kwnames
[] = {
5140 (char *) "self",(char *) "rect", NULL
5143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5180 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5194 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 char * kwnames
[] = {
5205 (char *) "self",(char *) "dc", NULL
5208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5210 if (!SWIG_IsOK(res1
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5213 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5215 if (!SWIG_IsOK(res2
)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->DoPrepareDC(*arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_Py_Void();
5235 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= 0;
5237 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5238 SwigValueWrapper
<wxVisualAttributes
> result
;
5241 PyObject
* obj0
= 0 ;
5242 char * kwnames
[] = {
5243 (char *) "variant", NULL
5246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5248 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5249 if (!SWIG_IsOK(ecode1
)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5252 arg1
= static_cast< wxWindowVariant
>(val1
);
5255 if (!wxPyCheckForApp()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5268 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5272 return SWIG_Py_Void();
5275 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 return SWIG_Python_InitShadowInstance(args
);
5279 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5280 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5285 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5286 PyObject
*pyobj
= 0;
5290 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5292 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5299 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5300 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5305 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5306 PyObject
*pyobj
= 0;
5310 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5312 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5319 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5320 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5325 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5326 PyObject
*pyobj
= 0;
5330 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5332 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5339 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5340 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5345 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5346 PyObject
*pyobj
= 0;
5350 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5352 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5359 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
= 0;
5361 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5362 bool arg2
= (bool) true ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "maximize", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5380 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5384 arg2
= static_cast< bool >(val2
);
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->Maximize(arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_Py_Void();
5399 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5401 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5404 PyObject
*swig_obj
[1] ;
5406 if (!args
) SWIG_fail
;
5408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5409 if (!SWIG_IsOK(res1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5412 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_Py_Void();
5426 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= 0;
5428 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5429 bool arg2
= (bool) true ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "self",(char *) "iconize", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5445 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5447 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5448 if (!SWIG_IsOK(ecode2
)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5451 arg2
= static_cast< bool >(val2
);
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->Iconize(arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_Py_Void();
5466 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5467 PyObject
*resultobj
= 0;
5468 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5472 PyObject
*swig_obj
[1] ;
5474 if (!args
) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5480 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5496 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 PyObject
*resultobj
= 0;
5498 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5502 PyObject
*swig_obj
[1] ;
5504 if (!args
) SWIG_fail
;
5506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5507 if (!SWIG_IsOK(res1
)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5510 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5526 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5527 PyObject
*resultobj
= 0;
5528 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5532 PyObject
*swig_obj
[1] ;
5534 if (!args
) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5556 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5557 PyObject
*resultobj
= 0;
5558 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5562 PyObject
*swig_obj
[1] ;
5564 if (!args
) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5570 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5584 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
= 0;
5586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 char * kwnames
[] = {
5595 (char *) "self",(char *) "icon", NULL
5598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5603 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5605 if (!SWIG_IsOK(res2
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_Py_Void();
5625 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5628 wxIconBundle
*arg2
= 0 ;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5635 char * kwnames
[] = {
5636 (char *) "self",(char *) "icons", NULL
5639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5641 if (!SWIG_IsOK(res1
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5644 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5646 if (!SWIG_IsOK(res2
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_Py_Void();
5666 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5670 long arg3
= (long) wxFULLSCREEN_ALL
;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 PyObject
* obj2
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5691 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5692 if (!SWIG_IsOK(ecode2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5695 arg2
= static_cast< bool >(val2
);
5697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5698 if (!SWIG_IsOK(ecode3
)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5701 arg3
= static_cast< long >(val3
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 PyObject
*resultobj
= 0;
5720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5724 PyObject
*swig_obj
[1] ;
5726 if (!args
) SWIG_fail
;
5728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5729 if (!SWIG_IsOK(res1
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5748 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
= 0;
5750 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5751 wxString
*arg2
= 0 ;
5754 bool temp2
= false ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "self",(char *) "title", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5763 if (!SWIG_IsOK(res1
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5768 arg2
= wxString_in_helper(obj1
);
5769 if (arg2
== NULL
) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->SetTitle((wxString
const &)*arg2
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_Py_Void();
5793 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5794 PyObject
*resultobj
= 0;
5795 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5799 PyObject
*swig_obj
[1] ;
5801 if (!args
) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5807 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5827 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
= 0;
5829 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5830 wxRegion
*arg2
= 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "region", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5847 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5849 if (!SWIG_IsOK(res2
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5855 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5871 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
= 0;
5873 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5874 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "self",(char *) "flags", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5890 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5893 if (!SWIG_IsOK(ecode2
)) {
5894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5896 arg2
= static_cast< int >(val2
);
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->RequestUserAttention(arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5912 PyObject
*resultobj
= 0;
5913 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5917 PyObject
*swig_obj
[1] ;
5919 if (!args
) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5925 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (bool)(arg1
)->IsActive();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5941 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
= 0;
5943 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5950 PyObject
* obj1
= 0 ;
5951 char * kwnames
[] = {
5952 (char *) "self",(char *) "on", NULL
5955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5957 if (!SWIG_IsOK(res1
)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5960 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5961 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5962 if (!SWIG_IsOK(ecode2
)) {
5963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5965 arg2
= static_cast< bool >(val2
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_Py_Void();
5979 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5980 PyObject
*resultobj
= 0;
5981 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5985 PyObject
*swig_obj
[1] ;
5987 if (!args
) SWIG_fail
;
5989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5990 if (!SWIG_IsOK(res1
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5993 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
= 0;
6011 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6012 int arg2
= (int) wxBOTH
;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 char * kwnames
[] = {
6020 (char *) "self",(char *) "dir", NULL
6023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6025 if (!SWIG_IsOK(res1
)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6028 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6031 if (!SWIG_IsOK(ecode2
)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6034 arg2
= static_cast< int >(val2
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->CenterOnScreen(arg2
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_Py_Void();
6049 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6052 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6053 return SWIG_Py_Void();
6056 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
= 0;
6058 wxWindow
*arg1
= (wxWindow
*) 0 ;
6059 int arg2
= (int) (int)-1 ;
6060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6062 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6063 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6064 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6065 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6066 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6067 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6068 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6069 wxFrame
*result
= 0 ;
6074 bool temp3
= false ;
6079 bool temp7
= false ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 PyObject
* obj2
= 0 ;
6083 PyObject
* obj3
= 0 ;
6084 PyObject
* obj4
= 0 ;
6085 PyObject
* obj5
= 0 ;
6086 PyObject
* obj6
= 0 ;
6087 char * kwnames
[] = {
6088 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6093 if (!SWIG_IsOK(res1
)) {
6094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6099 if (!SWIG_IsOK(ecode2
)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6102 arg2
= static_cast< int >(val2
);
6106 arg3
= wxString_in_helper(obj2
);
6107 if (arg3
== NULL
) SWIG_fail
;
6114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6124 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6125 if (!SWIG_IsOK(ecode6
)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6128 arg6
= static_cast< long >(val6
);
6132 arg7
= wxString_in_helper(obj6
);
6133 if (arg7
== NULL
) SWIG_fail
;
6138 if (!wxPyCheckForApp()) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6167 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6168 PyObject
*resultobj
= 0;
6169 wxFrame
*result
= 0 ;
6171 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6173 if (!wxPyCheckForApp()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (wxFrame
*)new wxFrame();
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6186 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
= 0;
6188 wxFrame
*arg1
= (wxFrame
*) 0 ;
6189 wxWindow
*arg2
= (wxWindow
*) 0 ;
6190 int arg3
= (int) (int)-1 ;
6191 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6192 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6193 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6194 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6195 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6196 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6197 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6198 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6199 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6207 bool temp4
= false ;
6212 bool temp8
= false ;
6213 PyObject
* obj0
= 0 ;
6214 PyObject
* obj1
= 0 ;
6215 PyObject
* obj2
= 0 ;
6216 PyObject
* obj3
= 0 ;
6217 PyObject
* obj4
= 0 ;
6218 PyObject
* obj5
= 0 ;
6219 PyObject
* obj6
= 0 ;
6220 PyObject
* obj7
= 0 ;
6221 char * kwnames
[] = {
6222 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6227 if (!SWIG_IsOK(res1
)) {
6228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6230 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6232 if (!SWIG_IsOK(res2
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6238 if (!SWIG_IsOK(ecode3
)) {
6239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6241 arg3
= static_cast< int >(val3
);
6245 arg4
= wxString_in_helper(obj3
);
6246 if (arg4
== NULL
) SWIG_fail
;
6253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6259 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6263 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6264 if (!SWIG_IsOK(ecode7
)) {
6265 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6267 arg7
= static_cast< long >(val7
);
6271 arg8
= wxString_in_helper(obj7
);
6272 if (arg8
== NULL
) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6307 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6308 PyObject
*resultobj
= 0;
6309 wxFrame
*arg1
= (wxFrame
*) 0 ;
6312 PyObject
*swig_obj
[1] ;
6314 if (!args
) SWIG_fail
;
6316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6317 if (!SWIG_IsOK(res1
)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6320 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->SendSizeEvent();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_Py_Void();
6334 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
= 0;
6336 wxFrame
*arg1
= (wxFrame
*) 0 ;
6337 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6342 PyObject
* obj0
= 0 ;
6343 PyObject
* obj1
= 0 ;
6344 char * kwnames
[] = {
6345 (char *) "self",(char *) "menubar", NULL
6348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6350 if (!SWIG_IsOK(res1
)) {
6351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6353 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6355 if (!SWIG_IsOK(res2
)) {
6356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6358 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 (arg1
)->SetMenuBar(arg2
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= SWIG_Py_Void();
6372 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6373 PyObject
*resultobj
= 0;
6374 wxFrame
*arg1
= (wxFrame
*) 0 ;
6375 wxMenuBar
*result
= 0 ;
6378 PyObject
*swig_obj
[1] ;
6380 if (!args
) SWIG_fail
;
6382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6383 if (!SWIG_IsOK(res1
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6386 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= wxPyMake_wxObject(result
, 0);
6402 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
= 0;
6404 wxFrame
*arg1
= (wxFrame
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 char * kwnames
[] = {
6414 (char *) "self",(char *) "winid", NULL
6417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6419 if (!SWIG_IsOK(res1
)) {
6420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6422 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6424 if (!SWIG_IsOK(ecode2
)) {
6425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6427 arg2
= static_cast< int >(val2
);
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6443 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
= 0;
6445 wxFrame
*arg1
= (wxFrame
*) 0 ;
6446 int arg2
= (int) 1 ;
6447 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6448 int arg4
= (int) 0 ;
6449 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6450 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6451 wxStatusBar
*result
= 0 ;
6460 bool temp5
= false ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6463 PyObject
* obj2
= 0 ;
6464 PyObject
* obj3
= 0 ;
6465 PyObject
* obj4
= 0 ;
6466 char * kwnames
[] = {
6467 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6472 if (!SWIG_IsOK(res1
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6475 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6478 if (!SWIG_IsOK(ecode2
)) {
6479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6481 arg2
= static_cast< int >(val2
);
6484 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6485 if (!SWIG_IsOK(ecode3
)) {
6486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6488 arg3
= static_cast< long >(val3
);
6491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6492 if (!SWIG_IsOK(ecode4
)) {
6493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6495 arg4
= static_cast< int >(val4
);
6499 arg5
= wxString_in_helper(obj4
);
6500 if (arg5
== NULL
) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6527 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxFrame
*arg1
= (wxFrame
*) 0 ;
6530 wxStatusBar
*result
= 0 ;
6533 PyObject
*swig_obj
[1] ;
6535 if (!args
) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6541 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6557 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
= 0;
6559 wxFrame
*arg1
= (wxFrame
*) 0 ;
6560 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 char * kwnames
[] = {
6568 (char *) "self",(char *) "statBar", NULL
6571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6573 if (!SWIG_IsOK(res1
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6576 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6578 if (!SWIG_IsOK(res2
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6581 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 (arg1
)->SetStatusBar(arg2
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_Py_Void();
6595 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
= 0;
6597 wxFrame
*arg1
= (wxFrame
*) 0 ;
6598 wxString
*arg2
= 0 ;
6599 int arg3
= (int) 0 ;
6602 bool temp2
= false ;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6607 PyObject
* obj2
= 0 ;
6608 char * kwnames
[] = {
6609 (char *) "self",(char *) "text",(char *) "number", NULL
6612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6614 if (!SWIG_IsOK(res1
)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6617 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6619 arg2
= wxString_in_helper(obj1
);
6620 if (arg2
== NULL
) SWIG_fail
;
6624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6625 if (!SWIG_IsOK(ecode3
)) {
6626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6628 arg3
= static_cast< int >(val3
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= SWIG_Py_Void();
6651 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
= 0;
6653 wxFrame
*arg1
= (wxFrame
*) 0 ;
6655 int *arg3
= (int *) 0 ;
6658 PyObject
* obj0
= 0 ;
6659 PyObject
* obj1
= 0 ;
6660 char * kwnames
[] = {
6661 (char *) "self",(char *) "widths", NULL
6664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6666 if (!SWIG_IsOK(res1
)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6669 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6671 arg2
= PyList_Size(obj1
);
6672 arg3
= int_LIST_helper(obj1
);
6673 if (arg3
== NULL
) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= SWIG_Py_Void();
6683 if (arg3
) delete [] arg3
;
6688 if (arg3
) delete [] arg3
;
6694 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
= 0;
6696 wxFrame
*arg1
= (wxFrame
*) 0 ;
6697 wxString
*arg2
= 0 ;
6698 int arg3
= (int) 0 ;
6701 bool temp2
= false ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6706 PyObject
* obj2
= 0 ;
6707 char * kwnames
[] = {
6708 (char *) "self",(char *) "text",(char *) "number", NULL
6711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6713 if (!SWIG_IsOK(res1
)) {
6714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6716 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6718 arg2
= wxString_in_helper(obj1
);
6719 if (arg2
== NULL
) SWIG_fail
;
6723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6724 if (!SWIG_IsOK(ecode3
)) {
6725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6727 arg3
= static_cast< int >(val3
);
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_Py_Void();
6750 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
= 0;
6752 wxFrame
*arg1
= (wxFrame
*) 0 ;
6753 int arg2
= (int) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6760 char * kwnames
[] = {
6761 (char *) "self",(char *) "number", NULL
6764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6766 if (!SWIG_IsOK(res1
)) {
6767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6769 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6772 if (!SWIG_IsOK(ecode2
)) {
6773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6775 arg2
= static_cast< int >(val2
);
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 (arg1
)->PopStatusText(arg2
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_Py_Void();
6790 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
= 0;
6792 wxFrame
*arg1
= (wxFrame
*) 0 ;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6800 char * kwnames
[] = {
6801 (char *) "self",(char *) "n", NULL
6804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6809 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6811 if (!SWIG_IsOK(ecode2
)) {
6812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6814 arg2
= static_cast< int >(val2
);
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->SetStatusBarPane(arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_Py_Void();
6828 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6829 PyObject
*resultobj
= 0;
6830 wxFrame
*arg1
= (wxFrame
*) 0 ;
6834 PyObject
*swig_obj
[1] ;
6836 if (!args
) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6842 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= SWIG_From_int(static_cast< int >(result
));
6856 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
= 0;
6858 wxFrame
*arg1
= (wxFrame
*) 0 ;
6859 long arg2
= (long) -1 ;
6860 int arg3
= (int) -1 ;
6861 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6862 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6863 wxToolBar
*result
= 0 ;
6870 bool temp4
= false ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6873 PyObject
* obj2
= 0 ;
6874 PyObject
* obj3
= 0 ;
6875 char * kwnames
[] = {
6876 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6881 if (!SWIG_IsOK(res1
)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6884 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6887 if (!SWIG_IsOK(ecode2
)) {
6888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6890 arg2
= static_cast< long >(val2
);
6893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6894 if (!SWIG_IsOK(ecode3
)) {
6895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6897 arg3
= static_cast< int >(val3
);
6901 arg4
= wxString_in_helper(obj3
);
6902 if (arg4
== NULL
) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6929 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6930 PyObject
*resultobj
= 0;
6931 wxFrame
*arg1
= (wxFrame
*) 0 ;
6932 wxToolBar
*result
= 0 ;
6935 PyObject
*swig_obj
[1] ;
6937 if (!args
) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6943 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6959 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
= 0;
6961 wxFrame
*arg1
= (wxFrame
*) 0 ;
6962 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 char * kwnames
[] = {
6970 (char *) "self",(char *) "toolbar", NULL
6973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6978 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6980 if (!SWIG_IsOK(res2
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6983 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 (arg1
)->SetToolBar(arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_Py_Void();
6997 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= 0;
6999 wxFrame
*arg1
= (wxFrame
*) 0 ;
7000 wxString
*arg2
= 0 ;
7004 bool temp2
= false ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 PyObject
* obj2
= 0 ;
7010 char * kwnames
[] = {
7011 (char *) "self",(char *) "text",(char *) "show", NULL
7014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7016 if (!SWIG_IsOK(res1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7019 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7021 arg2
= wxString_in_helper(obj1
);
7022 if (arg2
== NULL
) SWIG_fail
;
7025 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7026 if (!SWIG_IsOK(ecode3
)) {
7027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7029 arg3
= static_cast< bool >(val3
);
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= SWIG_Py_Void();
7051 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
= 0;
7053 wxFrame
*arg1
= (wxFrame
*) 0 ;
7054 wxMenu
*arg2
= (wxMenu
*) NULL
;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 char * kwnames
[] = {
7062 (char *) "self",(char *) "menu", NULL
7065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7067 if (!SWIG_IsOK(res1
)) {
7068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7070 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7073 if (!SWIG_IsOK(res2
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7076 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 (arg1
)->DoMenuUpdates(arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_Py_Void();
7091 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
= 0;
7093 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7094 SwigValueWrapper
<wxVisualAttributes
> result
;
7097 PyObject
* obj0
= 0 ;
7098 char * kwnames
[] = {
7099 (char *) "variant", NULL
7102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7105 if (!SWIG_IsOK(ecode1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7108 arg1
= static_cast< wxWindowVariant
>(val1
);
7111 if (!wxPyCheckForApp()) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7124 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7127 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7128 return SWIG_Py_Void();
7131 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 return SWIG_Python_InitShadowInstance(args
);
7135 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
= 0;
7137 wxWindow
*arg1
= (wxWindow
*) 0 ;
7138 int arg2
= (int) (int)-1 ;
7139 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7145 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7146 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7147 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7148 wxDialog
*result
= 0 ;
7153 bool temp3
= false ;
7158 bool temp7
= false ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7161 PyObject
* obj2
= 0 ;
7162 PyObject
* obj3
= 0 ;
7163 PyObject
* obj4
= 0 ;
7164 PyObject
* obj5
= 0 ;
7165 PyObject
* obj6
= 0 ;
7166 char * kwnames
[] = {
7167 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7172 if (!SWIG_IsOK(res1
)) {
7173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7175 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7178 if (!SWIG_IsOK(ecode2
)) {
7179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7181 arg2
= static_cast< int >(val2
);
7185 arg3
= wxString_in_helper(obj2
);
7186 if (arg3
== NULL
) SWIG_fail
;
7193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7199 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7203 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7204 if (!SWIG_IsOK(ecode6
)) {
7205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7207 arg6
= static_cast< long >(val6
);
7211 arg7
= wxString_in_helper(obj6
);
7212 if (arg7
== NULL
) SWIG_fail
;
7217 if (!wxPyCheckForApp()) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7246 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7247 PyObject
*resultobj
= 0;
7248 wxDialog
*result
= 0 ;
7250 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7252 if (!wxPyCheckForApp()) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (wxDialog
*)new wxDialog();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7265 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= 0;
7267 wxDialog
*arg1
= (wxDialog
*) 0 ;
7268 wxWindow
*arg2
= (wxWindow
*) 0 ;
7269 int arg3
= (int) (int)-1 ;
7270 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7271 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7272 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7273 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7274 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7275 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7276 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7277 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7278 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7286 bool temp4
= false ;
7291 bool temp8
= false ;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7294 PyObject
* obj2
= 0 ;
7295 PyObject
* obj3
= 0 ;
7296 PyObject
* obj4
= 0 ;
7297 PyObject
* obj5
= 0 ;
7298 PyObject
* obj6
= 0 ;
7299 PyObject
* obj7
= 0 ;
7300 char * kwnames
[] = {
7301 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7306 if (!SWIG_IsOK(res1
)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7309 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7311 if (!SWIG_IsOK(res2
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7314 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7317 if (!SWIG_IsOK(ecode3
)) {
7318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7320 arg3
= static_cast< int >(val3
);
7324 arg4
= wxString_in_helper(obj3
);
7325 if (arg4
== NULL
) SWIG_fail
;
7332 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7338 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7342 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7343 if (!SWIG_IsOK(ecode7
)) {
7344 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7346 arg7
= static_cast< long >(val7
);
7350 arg8
= wxString_in_helper(obj7
);
7351 if (arg8
== NULL
) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7386 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
= 0;
7388 wxDialog
*arg1
= (wxDialog
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7396 char * kwnames
[] = {
7397 (char *) "self",(char *) "returnCode", NULL
7400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7402 if (!SWIG_IsOK(res1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7405 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7407 if (!SWIG_IsOK(ecode2
)) {
7408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7410 arg2
= static_cast< int >(val2
);
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetReturnCode(arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_Py_Void();
7424 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7425 PyObject
*resultobj
= 0;
7426 wxDialog
*arg1
= (wxDialog
*) 0 ;
7430 PyObject
*swig_obj
[1] ;
7432 if (!args
) SWIG_fail
;
7434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7435 if (!SWIG_IsOK(res1
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7438 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_From_int(static_cast< int >(result
));
7452 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
= 0;
7454 wxDialog
*arg1
= (wxDialog
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "affirmativeId", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7471 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7473 if (!SWIG_IsOK(ecode2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7476 arg2
= static_cast< int >(val2
);
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 (arg1
)->SetAffirmativeId(arg2
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_Py_Void();
7490 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7491 PyObject
*resultobj
= 0;
7492 wxDialog
*arg1
= (wxDialog
*) 0 ;
7496 PyObject
*swig_obj
[1] ;
7498 if (!args
) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7504 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= SWIG_From_int(static_cast< int >(result
));
7518 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
= 0;
7520 wxDialog
*arg1
= (wxDialog
*) 0 ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7528 char * kwnames
[] = {
7529 (char *) "self",(char *) "escapeId", NULL
7532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7534 if (!SWIG_IsOK(res1
)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7537 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7539 if (!SWIG_IsOK(ecode2
)) {
7540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7542 arg2
= static_cast< int >(val2
);
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 (arg1
)->SetEscapeId(arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_Py_Void();
7556 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7557 PyObject
*resultobj
= 0;
7558 wxDialog
*arg1
= (wxDialog
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7570 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_From_int(static_cast< int >(result
));
7584 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
= 0;
7586 wxDialog
*arg1
= (wxDialog
*) 0 ;
7587 wxString
*arg2
= 0 ;
7588 wxSizer
*result
= 0 ;
7591 bool temp2
= false ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 char * kwnames
[] = {
7595 (char *) "self",(char *) "message", NULL
7598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7600 if (!SWIG_IsOK(res1
)) {
7601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7603 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7605 arg2
= wxString_in_helper(obj1
);
7606 if (arg2
== NULL
) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7632 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
= 0;
7634 wxDialog
*arg1
= (wxDialog
*) 0 ;
7636 bool arg3
= (bool) false ;
7637 int arg4
= (int) 0 ;
7638 wxSizer
*result
= 0 ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7649 PyObject
* obj2
= 0 ;
7650 PyObject
* obj3
= 0 ;
7651 char * kwnames
[] = {
7652 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7660 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7661 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7662 if (!SWIG_IsOK(ecode2
)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7665 arg2
= static_cast< long >(val2
);
7667 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7668 if (!SWIG_IsOK(ecode3
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7671 arg3
= static_cast< bool >(val3
);
7674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7675 if (!SWIG_IsOK(ecode4
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7678 arg4
= static_cast< int >(val4
);
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7695 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
= 0;
7697 wxDialog
*arg1
= (wxDialog
*) 0 ;
7699 wxStdDialogButtonSizer
*result
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 char * kwnames
[] = {
7707 (char *) "self",(char *) "flags", NULL
7710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7712 if (!SWIG_IsOK(res1
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7715 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7716 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7717 if (!SWIG_IsOK(ecode2
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7720 arg2
= static_cast< long >(val2
);
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7734 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7735 PyObject
*resultobj
= 0;
7736 wxDialog
*arg1
= (wxDialog
*) 0 ;
7740 PyObject
*swig_obj
[1] ;
7742 if (!args
) SWIG_fail
;
7744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7745 if (!SWIG_IsOK(res1
)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7748 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7764 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7765 PyObject
*resultobj
= 0;
7766 wxDialog
*arg1
= (wxDialog
*) 0 ;
7770 PyObject
*swig_obj
[1] ;
7772 if (!args
) SWIG_fail
;
7774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7775 if (!SWIG_IsOK(res1
)) {
7776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7778 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (int)(arg1
)->ShowModal();
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= SWIG_From_int(static_cast< int >(result
));
7792 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
= 0;
7794 wxDialog
*arg1
= (wxDialog
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7802 char * kwnames
[] = {
7803 (char *) "self",(char *) "retCode", NULL
7806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7808 if (!SWIG_IsOK(res1
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7811 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7813 if (!SWIG_IsOK(ecode2
)) {
7814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7816 arg2
= static_cast< int >(val2
);
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->EndModal(arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_Py_Void();
7830 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
= 0;
7832 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7833 SwigValueWrapper
<wxVisualAttributes
> result
;
7836 PyObject
* obj0
= 0 ;
7837 char * kwnames
[] = {
7838 (char *) "variant", NULL
7841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7844 if (!SWIG_IsOK(ecode1
)) {
7845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7847 arg1
= static_cast< wxWindowVariant
>(val1
);
7850 if (!wxPyCheckForApp()) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7863 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7866 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7867 return SWIG_Py_Void();
7870 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 return SWIG_Python_InitShadowInstance(args
);
7874 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
= 0;
7876 wxWindow
*arg1
= (wxWindow
*) 0 ;
7877 int arg2
= (int) (int)-1 ;
7878 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7880 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7881 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7882 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7883 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7884 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7885 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7886 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7887 wxMiniFrame
*result
= 0 ;
7892 bool temp3
= false ;
7897 bool temp7
= false ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7900 PyObject
* obj2
= 0 ;
7901 PyObject
* obj3
= 0 ;
7902 PyObject
* obj4
= 0 ;
7903 PyObject
* obj5
= 0 ;
7904 PyObject
* obj6
= 0 ;
7905 char * kwnames
[] = {
7906 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7917 if (!SWIG_IsOK(ecode2
)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7920 arg2
= static_cast< int >(val2
);
7924 arg3
= wxString_in_helper(obj2
);
7925 if (arg3
== NULL
) SWIG_fail
;
7932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7942 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7943 if (!SWIG_IsOK(ecode6
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7946 arg6
= static_cast< long >(val6
);
7950 arg7
= wxString_in_helper(obj6
);
7951 if (arg7
== NULL
) SWIG_fail
;
7956 if (!wxPyCheckForApp()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7985 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 PyObject
*resultobj
= 0;
7987 wxMiniFrame
*result
= 0 ;
7989 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7991 if (!wxPyCheckForApp()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= (wxMiniFrame
*)new wxMiniFrame();
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8004 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
= 0;
8006 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8007 wxWindow
*arg2
= (wxWindow
*) 0 ;
8008 int arg3
= (int) (int)-1 ;
8009 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8010 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8011 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8012 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8013 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8014 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8015 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8016 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8025 bool temp4
= false ;
8030 bool temp8
= false ;
8031 PyObject
* obj0
= 0 ;
8032 PyObject
* obj1
= 0 ;
8033 PyObject
* obj2
= 0 ;
8034 PyObject
* obj3
= 0 ;
8035 PyObject
* obj4
= 0 ;
8036 PyObject
* obj5
= 0 ;
8037 PyObject
* obj6
= 0 ;
8038 PyObject
* obj7
= 0 ;
8039 char * kwnames
[] = {
8040 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8045 if (!SWIG_IsOK(res1
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8048 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8050 if (!SWIG_IsOK(res2
)) {
8051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8053 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8056 if (!SWIG_IsOK(ecode3
)) {
8057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8059 arg3
= static_cast< int >(val3
);
8063 arg4
= wxString_in_helper(obj3
);
8064 if (arg4
== NULL
) SWIG_fail
;
8071 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8077 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8081 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8082 if (!SWIG_IsOK(ecode7
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8085 arg7
= static_cast< long >(val7
);
8089 arg8
= wxString_in_helper(obj7
);
8090 if (arg8
== NULL
) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8125 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8128 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8129 return SWIG_Py_Void();
8132 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8133 return SWIG_Python_InitShadowInstance(args
);
8136 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
= 0;
8138 wxBitmap
*arg1
= 0 ;
8139 wxWindow
*arg2
= (wxWindow
*) 0 ;
8141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8145 long arg6
= (long) wxNO_BORDER
;
8146 wxSplashScreenWindow
*result
= 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 PyObject
* obj2
= 0 ;
8160 PyObject
* obj3
= 0 ;
8161 PyObject
* obj4
= 0 ;
8162 PyObject
* obj5
= 0 ;
8163 char * kwnames
[] = {
8164 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8168 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8169 if (!SWIG_IsOK(res1
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8175 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8177 if (!SWIG_IsOK(res2
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8182 if (!SWIG_IsOK(ecode3
)) {
8183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8185 arg3
= static_cast< int >(val3
);
8189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8199 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8200 if (!SWIG_IsOK(ecode6
)) {
8201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8203 arg6
= static_cast< long >(val6
);
8206 if (!wxPyCheckForApp()) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8219 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= 0;
8221 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8222 wxBitmap
*arg2
= 0 ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8229 char * kwnames
[] = {
8230 (char *) "self",(char *) "bitmap", NULL
8233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8238 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8240 if (!SWIG_IsOK(res2
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8246 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= SWIG_Py_Void();
8260 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8261 PyObject
*resultobj
= 0;
8262 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8263 wxBitmap
*result
= 0 ;
8266 PyObject
*swig_obj
[1] ;
8268 if (!args
) SWIG_fail
;
8270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8271 if (!SWIG_IsOK(res1
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8274 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8279 result
= (wxBitmap
*) &_result_ref
;
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 wxBitmap
* resultptr
= new wxBitmap(*result
);
8286 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8294 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8297 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8298 return SWIG_Py_Void();
8301 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8302 return SWIG_Python_InitShadowInstance(args
);
8305 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
= 0;
8307 wxBitmap
*arg1
= 0 ;
8310 wxWindow
*arg4
= (wxWindow
*) 0 ;
8311 int arg5
= (int) -1 ;
8312 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8313 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8314 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8315 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8316 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8317 wxSplashScreen
*result
= 0 ;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8334 PyObject
* obj2
= 0 ;
8335 PyObject
* obj3
= 0 ;
8336 PyObject
* obj4
= 0 ;
8337 PyObject
* obj5
= 0 ;
8338 PyObject
* obj6
= 0 ;
8339 PyObject
* obj7
= 0 ;
8340 char * kwnames
[] = {
8341 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8345 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8346 if (!SWIG_IsOK(res1
)) {
8347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8352 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8354 if (!SWIG_IsOK(ecode2
)) {
8355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8357 arg2
= static_cast< long >(val2
);
8358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8359 if (!SWIG_IsOK(ecode3
)) {
8360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8362 arg3
= static_cast< int >(val3
);
8363 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8364 if (!SWIG_IsOK(res4
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8367 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8370 if (!SWIG_IsOK(ecode5
)) {
8371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8373 arg5
= static_cast< int >(val5
);
8378 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8384 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8388 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8389 if (!SWIG_IsOK(ecode8
)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8392 arg8
= static_cast< long >(val8
);
8395 if (!wxPyCheckForApp()) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8408 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8409 PyObject
*resultobj
= 0;
8410 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8414 PyObject
*swig_obj
[1] ;
8416 if (!args
) SWIG_fail
;
8418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8419 if (!SWIG_IsOK(res1
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8422 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_From_long(static_cast< long >(result
));
8436 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8437 PyObject
*resultobj
= 0;
8438 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8439 wxSplashScreenWindow
*result
= 0 ;
8442 PyObject
*swig_obj
[1] ;
8444 if (!args
) SWIG_fail
;
8446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8447 if (!SWIG_IsOK(res1
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8450 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8464 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8465 PyObject
*resultobj
= 0;
8466 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8470 PyObject
*swig_obj
[1] ;
8472 if (!args
) SWIG_fail
;
8474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8475 if (!SWIG_IsOK(res1
)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8478 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_From_int(static_cast< int >(result
));
8492 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8495 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8496 return SWIG_Py_Void();
8499 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8500 return SWIG_Python_InitShadowInstance(args
);
8503 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
= 0;
8505 wxWindow
*arg1
= (wxWindow
*) 0 ;
8506 int arg2
= (int) -1 ;
8507 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8508 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8509 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8510 wxStatusBar
*result
= 0 ;
8517 bool temp4
= false ;
8518 PyObject
* obj0
= 0 ;
8519 PyObject
* obj1
= 0 ;
8520 PyObject
* obj2
= 0 ;
8521 PyObject
* obj3
= 0 ;
8522 char * kwnames
[] = {
8523 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8528 if (!SWIG_IsOK(res1
)) {
8529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8534 if (!SWIG_IsOK(ecode2
)) {
8535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8537 arg2
= static_cast< int >(val2
);
8540 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8541 if (!SWIG_IsOK(ecode3
)) {
8542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8544 arg3
= static_cast< long >(val3
);
8548 arg4
= wxString_in_helper(obj3
);
8549 if (arg4
== NULL
) SWIG_fail
;
8554 if (!wxPyCheckForApp()) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8575 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8576 PyObject
*resultobj
= 0;
8577 wxStatusBar
*result
= 0 ;
8579 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8581 if (!wxPyCheckForApp()) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (wxStatusBar
*)new wxStatusBar();
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8594 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
= 0;
8596 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8597 wxWindow
*arg2
= (wxWindow
*) 0 ;
8598 int arg3
= (int) -1 ;
8599 long arg4
= (long) wxST_SIZEGRIP
;
8600 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8601 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8611 bool temp5
= false ;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 PyObject
* obj2
= 0 ;
8615 PyObject
* obj3
= 0 ;
8616 PyObject
* obj4
= 0 ;
8617 char * kwnames
[] = {
8618 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8623 if (!SWIG_IsOK(res1
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8626 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8628 if (!SWIG_IsOK(res2
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8634 if (!SWIG_IsOK(ecode3
)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8637 arg3
= static_cast< int >(val3
);
8640 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8641 if (!SWIG_IsOK(ecode4
)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8644 arg4
= static_cast< long >(val4
);
8648 arg5
= wxString_in_helper(obj4
);
8649 if (arg5
== NULL
) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8676 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= 0;
8678 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8679 int arg2
= (int) 1 ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 char * kwnames
[] = {
8687 (char *) "self",(char *) "number", NULL
8690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8692 if (!SWIG_IsOK(res1
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8695 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8698 if (!SWIG_IsOK(ecode2
)) {
8699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8701 arg2
= static_cast< int >(val2
);
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 (arg1
)->SetFieldsCount(arg2
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= SWIG_Py_Void();
8716 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8717 PyObject
*resultobj
= 0;
8718 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8722 PyObject
*swig_obj
[1] ;
8724 if (!args
) SWIG_fail
;
8726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8727 if (!SWIG_IsOK(res1
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8730 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_From_int(static_cast< int >(result
));
8744 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8747 wxString
*arg2
= 0 ;
8748 int arg3
= (int) 0 ;
8751 bool temp2
= false ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8756 PyObject
* obj2
= 0 ;
8757 char * kwnames
[] = {
8758 (char *) "self",(char *) "text",(char *) "number", NULL
8761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8763 if (!SWIG_IsOK(res1
)) {
8764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8766 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8768 arg2
= wxString_in_helper(obj1
);
8769 if (arg2
== NULL
) SWIG_fail
;
8773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8774 if (!SWIG_IsOK(ecode3
)) {
8775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8777 arg3
= static_cast< int >(val3
);
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_Py_Void();
8800 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= 0;
8802 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8803 int arg2
= (int) 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "self",(char *) "number", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8820 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8823 if (!SWIG_IsOK(ecode2
)) {
8824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8826 arg2
= static_cast< int >(val2
);
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8847 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= 0;
8849 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8850 wxString
*arg2
= 0 ;
8851 int arg3
= (int) 0 ;
8854 bool temp2
= false ;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8859 PyObject
* obj2
= 0 ;
8860 char * kwnames
[] = {
8861 (char *) "self",(char *) "text",(char *) "number", NULL
8864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8866 if (!SWIG_IsOK(res1
)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8869 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8871 arg2
= wxString_in_helper(obj1
);
8872 if (arg2
== NULL
) SWIG_fail
;
8876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8877 if (!SWIG_IsOK(ecode3
)) {
8878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8880 arg3
= static_cast< int >(val3
);
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_Py_Void();
8903 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
= 0;
8905 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8906 int arg2
= (int) 0 ;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 char * kwnames
[] = {
8914 (char *) "self",(char *) "number", NULL
8917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8919 if (!SWIG_IsOK(res1
)) {
8920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8922 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8925 if (!SWIG_IsOK(ecode2
)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8928 arg2
= static_cast< int >(val2
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->PopStatusText(arg2
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_Py_Void();
8943 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8947 int *arg3
= (int *) 0 ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 char * kwnames
[] = {
8953 (char *) "self",(char *) "widths", NULL
8956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8958 if (!SWIG_IsOK(res1
)) {
8959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8961 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8963 arg2
= PyList_Size(obj1
);
8964 arg3
= int_LIST_helper(obj1
);
8965 if (arg3
== NULL
) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_Py_Void();
8975 if (arg3
) delete [] arg3
;
8980 if (arg3
) delete [] arg3
;
8986 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
= 0;
8988 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8990 int *arg3
= (int *) 0 ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 char * kwnames
[] = {
8996 (char *) "self",(char *) "styles", NULL
8999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9001 if (!SWIG_IsOK(res1
)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9004 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9006 arg2
= PyList_Size(obj1
);
9007 arg3
= int_LIST_helper(obj1
);
9008 if (arg3
== NULL
) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_Py_Void();
9018 if (arg3
) delete [] arg3
;
9023 if (arg3
) delete [] arg3
;
9029 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
= 0;
9031 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9039 PyObject
* obj1
= 0 ;
9040 char * kwnames
[] = {
9041 (char *) "self",(char *) "i", NULL
9044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9046 if (!SWIG_IsOK(res1
)) {
9047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9049 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9051 if (!SWIG_IsOK(ecode2
)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9054 arg2
= static_cast< int >(val2
);
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9068 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
= 0;
9070 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj1
= 0 ;
9078 char * kwnames
[] = {
9079 (char *) "self",(char *) "height", NULL
9082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9084 if (!SWIG_IsOK(res1
)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9087 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9089 if (!SWIG_IsOK(ecode2
)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9092 arg2
= static_cast< int >(val2
);
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 (arg1
)->SetMinHeight(arg2
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_Py_Void();
9106 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9107 PyObject
*resultobj
= 0;
9108 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9112 PyObject
*swig_obj
[1] ;
9114 if (!args
) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9120 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= SWIG_From_int(static_cast< int >(result
));
9134 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9135 PyObject
*resultobj
= 0;
9136 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9140 PyObject
*swig_obj
[1] ;
9142 if (!args
) SWIG_fail
;
9144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9145 if (!SWIG_IsOK(res1
)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9148 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_From_int(static_cast< int >(result
));
9162 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
= 0;
9164 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9165 SwigValueWrapper
<wxVisualAttributes
> result
;
9168 PyObject
* obj0
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "variant", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9176 if (!SWIG_IsOK(ecode1
)) {
9177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9179 arg1
= static_cast< wxWindowVariant
>(val1
);
9182 if (!wxPyCheckForApp()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9195 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9198 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9199 return SWIG_Py_Void();
9202 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9203 return SWIG_Python_InitShadowInstance(args
);
9206 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9207 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9212 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9213 PyObject
*pyobj
= 0;
9217 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9219 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9226 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
= 0;
9228 wxWindow
*arg1
= (wxWindow
*) 0 ;
9229 int arg2
= (int) -1 ;
9230 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9231 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9232 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9233 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9234 long arg5
= (long) wxSP_3D
;
9235 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9236 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9237 wxSplitterWindow
*result
= 0 ;
9246 bool temp6
= false ;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 PyObject
* obj2
= 0 ;
9250 PyObject
* obj3
= 0 ;
9251 PyObject
* obj4
= 0 ;
9252 PyObject
* obj5
= 0 ;
9253 char * kwnames
[] = {
9254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9259 if (!SWIG_IsOK(res1
)) {
9260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9265 if (!SWIG_IsOK(ecode2
)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9268 arg2
= static_cast< int >(val2
);
9273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9279 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9283 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9284 if (!SWIG_IsOK(ecode5
)) {
9285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9287 arg5
= static_cast< long >(val5
);
9291 arg6
= wxString_in_helper(obj5
);
9292 if (arg6
== NULL
) SWIG_fail
;
9297 if (!wxPyCheckForApp()) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9318 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9319 PyObject
*resultobj
= 0;
9320 wxSplitterWindow
*result
= 0 ;
9322 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9324 if (!wxPyCheckForApp()) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9337 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
= 0;
9339 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9340 wxWindow
*arg2
= (wxWindow
*) 0 ;
9341 int arg3
= (int) -1 ;
9342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9346 long arg6
= (long) wxSP_3D
;
9347 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9348 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9360 bool temp7
= false ;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9363 PyObject
* obj2
= 0 ;
9364 PyObject
* obj3
= 0 ;
9365 PyObject
* obj4
= 0 ;
9366 PyObject
* obj5
= 0 ;
9367 PyObject
* obj6
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9377 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9379 if (!SWIG_IsOK(res2
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9382 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9385 if (!SWIG_IsOK(ecode3
)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9388 arg3
= static_cast< int >(val3
);
9393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9403 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9404 if (!SWIG_IsOK(ecode6
)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9407 arg6
= static_cast< long >(val6
);
9411 arg7
= wxString_in_helper(obj6
);
9412 if (arg7
== NULL
) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9439 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9440 PyObject
*resultobj
= 0;
9441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9442 wxWindow
*result
= 0 ;
9445 PyObject
*swig_obj
[1] ;
9447 if (!args
) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9453 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= wxPyMake_wxObject(result
, 0);
9469 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9470 PyObject
*resultobj
= 0;
9471 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9472 wxWindow
*result
= 0 ;
9475 PyObject
*swig_obj
[1] ;
9477 if (!args
) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9483 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= wxPyMake_wxObject(result
, 0);
9499 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "mode", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9518 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9520 if (!SWIG_IsOK(ecode2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9523 arg2
= static_cast< int >(val2
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->SetSplitMode(arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_Py_Void();
9537 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9538 PyObject
*resultobj
= 0;
9539 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9543 PyObject
*swig_obj
[1] ;
9545 if (!args
) SWIG_fail
;
9547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9548 if (!SWIG_IsOK(res1
)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9551 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_From_int(static_cast< int >(result
));
9565 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
= 0;
9567 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9568 wxWindow
*arg2
= (wxWindow
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9575 char * kwnames
[] = {
9576 (char *) "self",(char *) "window", NULL
9579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9584 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9586 if (!SWIG_IsOK(res2
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 (arg1
)->Initialize(arg2
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_Py_Void();
9603 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
= 0;
9605 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9606 wxWindow
*arg2
= (wxWindow
*) 0 ;
9607 wxWindow
*arg3
= (wxWindow
*) 0 ;
9608 int arg4
= (int) 0 ;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9620 PyObject
* obj2
= 0 ;
9621 PyObject
* obj3
= 0 ;
9622 char * kwnames
[] = {
9623 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9628 if (!SWIG_IsOK(res1
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9631 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9633 if (!SWIG_IsOK(res2
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9636 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9637 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9638 if (!SWIG_IsOK(res3
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9641 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9644 if (!SWIG_IsOK(ecode4
)) {
9645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9647 arg4
= static_cast< int >(val4
);
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9664 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
= 0;
9666 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9667 wxWindow
*arg2
= (wxWindow
*) 0 ;
9668 wxWindow
*arg3
= (wxWindow
*) 0 ;
9669 int arg4
= (int) 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9681 PyObject
* obj2
= 0 ;
9682 PyObject
* obj3
= 0 ;
9683 char * kwnames
[] = {
9684 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9692 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9694 if (!SWIG_IsOK(res2
)) {
9695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9697 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9698 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9699 if (!SWIG_IsOK(res3
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9702 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9705 if (!SWIG_IsOK(ecode4
)) {
9706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9708 arg4
= static_cast< int >(val4
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
= 0;
9727 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9728 wxWindow
*arg2
= (wxWindow
*) NULL
;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 char * kwnames
[] = {
9737 (char *) "self",(char *) "toRemove", NULL
9740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9742 if (!SWIG_IsOK(res1
)) {
9743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9745 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9748 if (!SWIG_IsOK(res2
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9751 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (bool)(arg1
)->Unsplit(arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9768 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
= 0;
9770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9771 wxWindow
*arg2
= (wxWindow
*) 0 ;
9772 wxWindow
*arg3
= (wxWindow
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 PyObject
* obj2
= 0 ;
9783 char * kwnames
[] = {
9784 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9792 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9794 if (!SWIG_IsOK(res2
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9797 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9798 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9799 if (!SWIG_IsOK(res3
)) {
9800 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9802 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9818 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9819 PyObject
*resultobj
= 0;
9820 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9823 PyObject
*swig_obj
[1] ;
9825 if (!args
) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9831 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 (arg1
)->UpdateSize();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_Py_Void();
9845 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9846 PyObject
*resultobj
= 0;
9847 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9851 PyObject
*swig_obj
[1] ;
9853 if (!args
) SWIG_fail
;
9855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9856 if (!SWIG_IsOK(res1
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9859 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9875 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9877 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 char * kwnames
[] = {
9886 (char *) "self",(char *) "width", NULL
9889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9891 if (!SWIG_IsOK(res1
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9894 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9896 if (!SWIG_IsOK(ecode2
)) {
9897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9899 arg2
= static_cast< int >(val2
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 (arg1
)->SetSashSize(arg2
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_Py_Void();
9913 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
= 0;
9915 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9923 char * kwnames
[] = {
9924 (char *) "self",(char *) "width", NULL
9927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9929 if (!SWIG_IsOK(res1
)) {
9930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9932 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9934 if (!SWIG_IsOK(ecode2
)) {
9935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9937 arg2
= static_cast< int >(val2
);
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 (arg1
)->SetBorderSize(arg2
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_Py_Void();
9951 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9952 PyObject
*resultobj
= 0;
9953 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9957 PyObject
*swig_obj
[1] ;
9959 if (!args
) SWIG_fail
;
9961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9962 if (!SWIG_IsOK(res1
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9965 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= SWIG_From_int(static_cast< int >(result
));
9979 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9980 PyObject
*resultobj
= 0;
9981 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9985 PyObject
*swig_obj
[1] ;
9987 if (!args
) SWIG_fail
;
9989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9990 if (!SWIG_IsOK(res1
)) {
9991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9993 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_From_int(static_cast< int >(result
));
10007 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
= 0;
10009 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10011 bool arg3
= (bool) true ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 PyObject
* obj2
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "position",(char *) "redraw", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10032 if (!SWIG_IsOK(ecode2
)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10035 arg2
= static_cast< int >(val2
);
10037 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10038 if (!SWIG_IsOK(ecode3
)) {
10039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10041 arg3
= static_cast< bool >(val3
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->SetSashPosition(arg2
,arg3
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_Py_Void();
10056 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10057 PyObject
*resultobj
= 0;
10058 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10062 PyObject
*swig_obj
[1] ;
10064 if (!args
) SWIG_fail
;
10065 swig_obj
[0] = args
;
10066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10067 if (!SWIG_IsOK(res1
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10070 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_From_int(static_cast< int >(result
));
10084 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
= 0;
10086 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "self",(char *) "gravity", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10100 if (!SWIG_IsOK(res1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10103 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10104 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10105 if (!SWIG_IsOK(ecode2
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10108 arg2
= static_cast< double >(val2
);
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 (arg1
)->SetSashGravity(arg2
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_Py_Void();
10122 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 PyObject
*resultobj
= 0;
10124 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10128 PyObject
*swig_obj
[1] ;
10130 if (!args
) SWIG_fail
;
10131 swig_obj
[0] = args
;
10132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10133 if (!SWIG_IsOK(res1
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10136 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_From_double(static_cast< double >(result
));
10150 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
= 0;
10152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 char * kwnames
[] = {
10161 (char *) "self",(char *) "min", NULL
10164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10166 if (!SWIG_IsOK(res1
)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10169 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10171 if (!SWIG_IsOK(ecode2
)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10174 arg2
= static_cast< int >(val2
);
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 (arg1
)->SetMinimumPaneSize(arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_Py_Void();
10188 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10189 PyObject
*resultobj
= 0;
10190 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10194 PyObject
*swig_obj
[1] ;
10196 if (!args
) SWIG_fail
;
10197 swig_obj
[0] = args
;
10198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10202 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= SWIG_From_int(static_cast< int >(result
));
10216 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
= 0;
10218 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10221 int arg4
= (int) 5 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 PyObject
* obj2
= 0 ;
10234 PyObject
* obj3
= 0 ;
10235 char * kwnames
[] = {
10236 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10241 if (!SWIG_IsOK(res1
)) {
10242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10244 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10246 if (!SWIG_IsOK(ecode2
)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10249 arg2
= static_cast< int >(val2
);
10250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10251 if (!SWIG_IsOK(ecode3
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10254 arg3
= static_cast< int >(val3
);
10256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10257 if (!SWIG_IsOK(ecode4
)) {
10258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10260 arg4
= static_cast< int >(val4
);
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10277 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10278 PyObject
*resultobj
= 0;
10279 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10282 PyObject
*swig_obj
[1] ;
10284 if (!args
) SWIG_fail
;
10285 swig_obj
[0] = args
;
10286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10287 if (!SWIG_IsOK(res1
)) {
10288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10290 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 (arg1
)->SizeWindows();
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= SWIG_Py_Void();
10304 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
= 0;
10306 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "self",(char *) "needUpdating", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10320 if (!SWIG_IsOK(res1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10323 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10324 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10325 if (!SWIG_IsOK(ecode2
)) {
10326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10328 arg2
= static_cast< bool >(val2
);
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 (arg1
)->SetNeedUpdating(arg2
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_Py_Void();
10342 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10343 PyObject
*resultobj
= 0;
10344 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10348 PyObject
*swig_obj
[1] ;
10350 if (!args
) SWIG_fail
;
10351 swig_obj
[0] = args
;
10352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10353 if (!SWIG_IsOK(res1
)) {
10354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10356 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10372 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
= 0;
10374 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10375 SwigValueWrapper
<wxVisualAttributes
> result
;
10378 PyObject
* obj0
= 0 ;
10379 char * kwnames
[] = {
10380 (char *) "variant", NULL
10383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10386 if (!SWIG_IsOK(ecode1
)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10389 arg1
= static_cast< wxWindowVariant
>(val1
);
10392 if (!wxPyCheckForApp()) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10405 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10408 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10409 return SWIG_Py_Void();
10412 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10413 return SWIG_Python_InitShadowInstance(args
);
10416 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
= 0;
10418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10419 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10420 wxSplitterEvent
*result
= 0 ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char * kwnames
[] = {
10428 (char *) "type",(char *) "splitter", NULL
10431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10434 if (!SWIG_IsOK(ecode1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10437 arg1
= static_cast< wxEventType
>(val1
);
10440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10441 if (!SWIG_IsOK(res2
)) {
10442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10444 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10459 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
= 0;
10461 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 char * kwnames
[] = {
10470 (char *) "self",(char *) "pos", NULL
10473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10475 if (!SWIG_IsOK(res1
)) {
10476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10478 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10480 if (!SWIG_IsOK(ecode2
)) {
10481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10483 arg2
= static_cast< int >(val2
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 (arg1
)->SetSashPosition(arg2
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= SWIG_Py_Void();
10497 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10498 PyObject
*resultobj
= 0;
10499 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10511 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_From_int(static_cast< int >(result
));
10525 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10526 PyObject
*resultobj
= 0;
10527 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10528 wxWindow
*result
= 0 ;
10531 PyObject
*swig_obj
[1] ;
10533 if (!args
) SWIG_fail
;
10534 swig_obj
[0] = args
;
10535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10536 if (!SWIG_IsOK(res1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10539 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10547 resultobj
= wxPyMake_wxObject(result
, 0);
10555 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10556 PyObject
*resultobj
= 0;
10557 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10561 PyObject
*swig_obj
[1] ;
10563 if (!args
) SWIG_fail
;
10564 swig_obj
[0] = args
;
10565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10566 if (!SWIG_IsOK(res1
)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10569 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= SWIG_From_int(static_cast< int >(result
));
10583 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10584 PyObject
*resultobj
= 0;
10585 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10589 PyObject
*swig_obj
[1] ;
10591 if (!args
) SWIG_fail
;
10592 swig_obj
[0] = args
;
10593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10594 if (!SWIG_IsOK(res1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10597 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= SWIG_From_int(static_cast< int >(result
));
10611 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10615 return SWIG_Py_Void();
10618 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10619 return SWIG_Python_InitShadowInstance(args
);
10622 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10623 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10628 SWIGINTERN PyObject
*SashNameStr_get(void) {
10629 PyObject
*pyobj
= 0;
10633 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10635 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10642 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10643 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10648 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10649 PyObject
*pyobj
= 0;
10653 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10655 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10662 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
= 0;
10664 wxWindow
*arg1
= (wxWindow
*) 0 ;
10665 int arg2
= (int) -1 ;
10666 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10667 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10668 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10669 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10670 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10671 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10672 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10673 wxSashWindow
*result
= 0 ;
10682 bool temp6
= false ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 PyObject
* obj3
= 0 ;
10687 PyObject
* obj4
= 0 ;
10688 PyObject
* obj5
= 0 ;
10689 char * kwnames
[] = {
10690 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10695 if (!SWIG_IsOK(res1
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10701 if (!SWIG_IsOK(ecode2
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10704 arg2
= static_cast< int >(val2
);
10709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10715 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10719 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10720 if (!SWIG_IsOK(ecode5
)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10723 arg5
= static_cast< long >(val5
);
10727 arg6
= wxString_in_helper(obj5
);
10728 if (arg6
== NULL
) SWIG_fail
;
10733 if (!wxPyCheckForApp()) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10754 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 PyObject
*resultobj
= 0;
10756 wxSashWindow
*result
= 0 ;
10758 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10760 if (!wxPyCheckForApp()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (wxSashWindow
*)new wxSashWindow();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10773 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
= 0;
10775 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10776 wxWindow
*arg2
= (wxWindow
*) 0 ;
10777 int arg3
= (int) -1 ;
10778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10782 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10783 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10784 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10796 bool temp7
= false ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 PyObject
* obj2
= 0 ;
10800 PyObject
* obj3
= 0 ;
10801 PyObject
* obj4
= 0 ;
10802 PyObject
* obj5
= 0 ;
10803 PyObject
* obj6
= 0 ;
10804 char * kwnames
[] = {
10805 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10813 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10815 if (!SWIG_IsOK(res2
)) {
10816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10818 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10821 if (!SWIG_IsOK(ecode3
)) {
10822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10824 arg3
= static_cast< int >(val3
);
10829 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10835 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10839 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10840 if (!SWIG_IsOK(ecode6
)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10843 arg6
= static_cast< long >(val6
);
10847 arg7
= wxString_in_helper(obj6
);
10848 if (arg7
== NULL
) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10875 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
= 0;
10877 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10878 wxSashEdgePosition arg2
;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 PyObject
* obj2
= 0 ;
10889 char * kwnames
[] = {
10890 (char *) "self",(char *) "edge",(char *) "sash", NULL
10893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10898 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10900 if (!SWIG_IsOK(ecode2
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10903 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10904 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10905 if (!SWIG_IsOK(ecode3
)) {
10906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10908 arg3
= static_cast< bool >(val3
);
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 (arg1
)->SetSashVisible(arg2
,arg3
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_Py_Void();
10922 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
= 0;
10924 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10925 wxSashEdgePosition arg2
;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char * kwnames
[] = {
10934 (char *) "self",(char *) "edge", NULL
10937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10939 if (!SWIG_IsOK(res1
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10942 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10944 if (!SWIG_IsOK(ecode2
)) {
10945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10947 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10963 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
= 0;
10965 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10966 wxSashEdgePosition arg2
;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 PyObject
* obj2
= 0 ;
10977 char * kwnames
[] = {
10978 (char *) "self",(char *) "edge",(char *) "border", NULL
10981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10983 if (!SWIG_IsOK(res1
)) {
10984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10986 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10988 if (!SWIG_IsOK(ecode2
)) {
10989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10991 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10993 if (!SWIG_IsOK(ecode3
)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10996 arg3
= static_cast< bool >(val3
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetSashBorder(arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_Py_Void();
11010 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
= 0;
11012 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11013 wxSashEdgePosition arg2
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char * kwnames
[] = {
11022 (char *) "self",(char *) "edge", NULL
11025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11030 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11032 if (!SWIG_IsOK(ecode2
)) {
11033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11035 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11051 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
= 0;
11053 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11054 wxSashEdgePosition arg2
;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 char * kwnames
[] = {
11063 (char *) "self",(char *) "edge", NULL
11066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11071 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11073 if (!SWIG_IsOK(ecode2
)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11076 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_From_int(static_cast< int >(result
));
11090 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
= 0;
11092 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char * kwnames
[] = {
11101 (char *) "self",(char *) "width", NULL
11104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11106 if (!SWIG_IsOK(res1
)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11109 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11111 if (!SWIG_IsOK(ecode2
)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11114 arg2
= static_cast< int >(val2
);
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->SetDefaultBorderSize(arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= SWIG_Py_Void();
11128 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11129 PyObject
*resultobj
= 0;
11130 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11134 PyObject
*swig_obj
[1] ;
11136 if (!args
) SWIG_fail
;
11137 swig_obj
[0] = args
;
11138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11142 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_From_int(static_cast< int >(result
));
11156 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
= 0;
11158 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char * kwnames
[] = {
11167 (char *) "self",(char *) "width", NULL
11170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11172 if (!SWIG_IsOK(res1
)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11175 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11177 if (!SWIG_IsOK(ecode2
)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11180 arg2
= static_cast< int >(val2
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetExtraBorderSize(arg2
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= SWIG_Py_Void();
11194 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11195 PyObject
*resultobj
= 0;
11196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11200 PyObject
*swig_obj
[1] ;
11202 if (!args
) SWIG_fail
;
11203 swig_obj
[0] = args
;
11204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11205 if (!SWIG_IsOK(res1
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11208 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_From_int(static_cast< int >(result
));
11222 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
= 0;
11224 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char * kwnames
[] = {
11233 (char *) "self",(char *) "min", NULL
11236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11238 if (!SWIG_IsOK(res1
)) {
11239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11241 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11243 if (!SWIG_IsOK(ecode2
)) {
11244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11246 arg2
= static_cast< int >(val2
);
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 (arg1
)->SetMinimumSizeX(arg2
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= SWIG_Py_Void();
11260 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
= 0;
11262 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char * kwnames
[] = {
11271 (char *) "self",(char *) "min", NULL
11274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11276 if (!SWIG_IsOK(res1
)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11279 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11281 if (!SWIG_IsOK(ecode2
)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11284 arg2
= static_cast< int >(val2
);
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 (arg1
)->SetMinimumSizeY(arg2
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_Py_Void();
11298 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11299 PyObject
*resultobj
= 0;
11300 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11304 PyObject
*swig_obj
[1] ;
11306 if (!args
) SWIG_fail
;
11307 swig_obj
[0] = args
;
11308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11309 if (!SWIG_IsOK(res1
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11312 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_From_int(static_cast< int >(result
));
11326 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11327 PyObject
*resultobj
= 0;
11328 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11332 PyObject
*swig_obj
[1] ;
11334 if (!args
) SWIG_fail
;
11335 swig_obj
[0] = args
;
11336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_int(static_cast< int >(result
));
11354 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
= 0;
11356 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char * kwnames
[] = {
11365 (char *) "self",(char *) "max", NULL
11368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11370 if (!SWIG_IsOK(res1
)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11373 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11375 if (!SWIG_IsOK(ecode2
)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11378 arg2
= static_cast< int >(val2
);
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->SetMaximumSizeX(arg2
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_Py_Void();
11392 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
= 0;
11394 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 char * kwnames
[] = {
11403 (char *) "self",(char *) "max", NULL
11406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11411 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11413 if (!SWIG_IsOK(ecode2
)) {
11414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11416 arg2
= static_cast< int >(val2
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 (arg1
)->SetMaximumSizeY(arg2
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_Py_Void();
11430 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11431 PyObject
*resultobj
= 0;
11432 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11436 PyObject
*swig_obj
[1] ;
11438 if (!args
) SWIG_fail
;
11439 swig_obj
[0] = args
;
11440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11444 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_From_int(static_cast< int >(result
));
11458 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11459 PyObject
*resultobj
= 0;
11460 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11464 PyObject
*swig_obj
[1] ;
11466 if (!args
) SWIG_fail
;
11467 swig_obj
[0] = args
;
11468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11469 if (!SWIG_IsOK(res1
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11472 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_From_int(static_cast< int >(result
));
11486 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
= 0;
11488 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11491 int arg4
= (int) 2 ;
11492 wxSashEdgePosition result
;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 PyObject
* obj3
= 0 ;
11505 char * kwnames
[] = {
11506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11511 if (!SWIG_IsOK(res1
)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11514 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11516 if (!SWIG_IsOK(ecode2
)) {
11517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11519 arg2
= static_cast< int >(val2
);
11520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11521 if (!SWIG_IsOK(ecode3
)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11524 arg3
= static_cast< int >(val3
);
11526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11527 if (!SWIG_IsOK(ecode4
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11530 arg4
= static_cast< int >(val4
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_From_int(static_cast< int >(result
));
11545 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 PyObject
*resultobj
= 0;
11547 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11550 PyObject
*swig_obj
[1] ;
11552 if (!args
) SWIG_fail
;
11553 swig_obj
[0] = args
;
11554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11555 if (!SWIG_IsOK(res1
)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11558 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->SizeWindows();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= SWIG_Py_Void();
11572 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11575 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11576 return SWIG_Py_Void();
11579 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11580 return SWIG_Python_InitShadowInstance(args
);
11583 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
= 0;
11585 int arg1
= (int) 0 ;
11586 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11587 wxSashEvent
*result
= 0 ;
11592 PyObject
* obj0
= 0 ;
11593 PyObject
* obj1
= 0 ;
11594 char * kwnames
[] = {
11595 (char *) "id",(char *) "edge", NULL
11598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11600 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11601 if (!SWIG_IsOK(ecode1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11604 arg1
= static_cast< int >(val1
);
11607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11608 if (!SWIG_IsOK(ecode2
)) {
11609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11611 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11626 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
= 0;
11628 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11629 wxSashEdgePosition arg2
;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 char * kwnames
[] = {
11637 (char *) "self",(char *) "edge", NULL
11640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11642 if (!SWIG_IsOK(res1
)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11645 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11647 if (!SWIG_IsOK(ecode2
)) {
11648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11650 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 (arg1
)->SetEdge(arg2
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_Py_Void();
11664 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11665 PyObject
*resultobj
= 0;
11666 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11667 wxSashEdgePosition result
;
11670 PyObject
*swig_obj
[1] ;
11672 if (!args
) SWIG_fail
;
11673 swig_obj
[0] = args
;
11674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11678 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= SWIG_From_int(static_cast< int >(result
));
11692 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
= 0;
11694 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 char * kwnames
[] = {
11702 (char *) "self",(char *) "rect", NULL
11705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11707 if (!SWIG_IsOK(res1
)) {
11708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11710 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11713 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_Py_Void();
11728 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11729 PyObject
*resultobj
= 0;
11730 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11734 PyObject
*swig_obj
[1] ;
11736 if (!args
) SWIG_fail
;
11737 swig_obj
[0] = args
;
11738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11742 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11756 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= 0;
11758 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11759 wxSashDragStatus arg2
;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 char * kwnames
[] = {
11767 (char *) "self",(char *) "status", NULL
11770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11772 if (!SWIG_IsOK(res1
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11775 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11777 if (!SWIG_IsOK(ecode2
)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11780 arg2
= static_cast< wxSashDragStatus
>(val2
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 (arg1
)->SetDragStatus(arg2
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_Py_Void();
11794 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11795 PyObject
*resultobj
= 0;
11796 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11797 wxSashDragStatus result
;
11800 PyObject
*swig_obj
[1] ;
11802 if (!args
) SWIG_fail
;
11803 swig_obj
[0] = args
;
11804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11805 if (!SWIG_IsOK(res1
)) {
11806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11808 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_From_int(static_cast< int >(result
));
11822 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11825 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11826 return SWIG_Py_Void();
11829 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 return SWIG_Python_InitShadowInstance(args
);
11833 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
= 0;
11835 int arg1
= (int) 0 ;
11836 wxQueryLayoutInfoEvent
*result
= 0 ;
11839 PyObject
* obj0
= 0 ;
11840 char * kwnames
[] = {
11841 (char *) "id", NULL
11844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11847 if (!SWIG_IsOK(ecode1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11850 arg1
= static_cast< int >(val1
);
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11865 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
= 0;
11867 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 char * kwnames
[] = {
11876 (char *) "self",(char *) "length", NULL
11879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11881 if (!SWIG_IsOK(res1
)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11884 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11886 if (!SWIG_IsOK(ecode2
)) {
11887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11889 arg2
= static_cast< int >(val2
);
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->SetRequestedLength(arg2
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_Py_Void();
11903 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11904 PyObject
*resultobj
= 0;
11905 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11909 PyObject
*swig_obj
[1] ;
11911 if (!args
) SWIG_fail
;
11912 swig_obj
[0] = args
;
11913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11917 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_From_int(static_cast< int >(result
));
11931 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
= 0;
11933 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char * kwnames
[] = {
11942 (char *) "self",(char *) "flags", NULL
11945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11947 if (!SWIG_IsOK(res1
)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11950 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11952 if (!SWIG_IsOK(ecode2
)) {
11953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11955 arg2
= static_cast< int >(val2
);
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 (arg1
)->SetFlags(arg2
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_Py_Void();
11969 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11970 PyObject
*resultobj
= 0;
11971 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11975 PyObject
*swig_obj
[1] ;
11977 if (!args
) SWIG_fail
;
11978 swig_obj
[0] = args
;
11979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11980 if (!SWIG_IsOK(res1
)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11983 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_From_int(static_cast< int >(result
));
11997 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
= 0;
11999 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char * kwnames
[] = {
12007 (char *) "self",(char *) "size", NULL
12010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12015 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->SetSize((wxSize
const &)*arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_Py_Void();
12033 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12034 PyObject
*resultobj
= 0;
12035 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12039 PyObject
*swig_obj
[1] ;
12041 if (!args
) SWIG_fail
;
12042 swig_obj
[0] = args
;
12043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12044 if (!SWIG_IsOK(res1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12047 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12061 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
= 0;
12063 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12064 wxLayoutOrientation arg2
;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 char * kwnames
[] = {
12072 (char *) "self",(char *) "orient", NULL
12075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12077 if (!SWIG_IsOK(res1
)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12080 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12082 if (!SWIG_IsOK(ecode2
)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12085 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 (arg1
)->SetOrientation(arg2
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_Py_Void();
12099 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 PyObject
*resultobj
= 0;
12101 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12102 wxLayoutOrientation result
;
12105 PyObject
*swig_obj
[1] ;
12107 if (!args
) SWIG_fail
;
12108 swig_obj
[0] = args
;
12109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12110 if (!SWIG_IsOK(res1
)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12113 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_From_int(static_cast< int >(result
));
12127 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
= 0;
12129 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12130 wxLayoutAlignment arg2
;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "self",(char *) "align", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12146 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12148 if (!SWIG_IsOK(ecode2
)) {
12149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12151 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->SetAlignment(arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= SWIG_Py_Void();
12165 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12166 PyObject
*resultobj
= 0;
12167 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12168 wxLayoutAlignment result
;
12171 PyObject
*swig_obj
[1] ;
12173 if (!args
) SWIG_fail
;
12174 swig_obj
[0] = args
;
12175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12176 if (!SWIG_IsOK(res1
)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12179 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_From_int(static_cast< int >(result
));
12193 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12196 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12197 return SWIG_Py_Void();
12200 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 return SWIG_Python_InitShadowInstance(args
);
12204 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 int arg1
= (int) 0 ;
12207 wxCalculateLayoutEvent
*result
= 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char * kwnames
[] = {
12212 (char *) "id", NULL
12215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12218 if (!SWIG_IsOK(ecode1
)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12221 arg1
= static_cast< int >(val1
);
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12236 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
= 0;
12238 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 char * kwnames
[] = {
12247 (char *) "self",(char *) "flags", NULL
12250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12255 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12257 if (!SWIG_IsOK(ecode2
)) {
12258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12260 arg2
= static_cast< int >(val2
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 (arg1
)->SetFlags(arg2
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_Py_Void();
12274 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12275 PyObject
*resultobj
= 0;
12276 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12280 PyObject
*swig_obj
[1] ;
12282 if (!args
) SWIG_fail
;
12283 swig_obj
[0] = args
;
12284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12288 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_From_int(static_cast< int >(result
));
12302 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
= 0;
12304 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 char * kwnames
[] = {
12312 (char *) "self",(char *) "rect", NULL
12315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12320 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 (arg1
)->SetRect((wxRect
const &)*arg2
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_Py_Void();
12338 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12339 PyObject
*resultobj
= 0;
12340 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12344 PyObject
*swig_obj
[1] ;
12346 if (!args
) SWIG_fail
;
12347 swig_obj
[0] = args
;
12348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12349 if (!SWIG_IsOK(res1
)) {
12350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12352 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12366 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12369 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12370 return SWIG_Py_Void();
12373 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12374 return SWIG_Python_InitShadowInstance(args
);
12377 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxWindow
*arg1
= (wxWindow
*) 0 ;
12380 int arg2
= (int) -1 ;
12381 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12382 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12383 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12384 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12385 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12386 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12387 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12388 wxSashLayoutWindow
*result
= 0 ;
12397 bool temp6
= false ;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 PyObject
* obj2
= 0 ;
12401 PyObject
* obj3
= 0 ;
12402 PyObject
* obj4
= 0 ;
12403 PyObject
* obj5
= 0 ;
12404 char * kwnames
[] = {
12405 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12410 if (!SWIG_IsOK(res1
)) {
12411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12416 if (!SWIG_IsOK(ecode2
)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12419 arg2
= static_cast< int >(val2
);
12424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12434 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12435 if (!SWIG_IsOK(ecode5
)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12438 arg5
= static_cast< long >(val5
);
12442 arg6
= wxString_in_helper(obj5
);
12443 if (arg6
== NULL
) SWIG_fail
;
12448 if (!wxPyCheckForApp()) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12469 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12470 PyObject
*resultobj
= 0;
12471 wxSashLayoutWindow
*result
= 0 ;
12473 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12475 if (!wxPyCheckForApp()) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12488 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12491 wxWindow
*arg2
= (wxWindow
*) 0 ;
12492 int arg3
= (int) -1 ;
12493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12497 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12498 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12499 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12511 bool temp7
= false ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 PyObject
* obj2
= 0 ;
12515 PyObject
* obj3
= 0 ;
12516 PyObject
* obj4
= 0 ;
12517 PyObject
* obj5
= 0 ;
12518 PyObject
* obj6
= 0 ;
12519 char * kwnames
[] = {
12520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12528 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12530 if (!SWIG_IsOK(res2
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12533 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12536 if (!SWIG_IsOK(ecode3
)) {
12537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12539 arg3
= static_cast< int >(val3
);
12544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12554 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12555 if (!SWIG_IsOK(ecode6
)) {
12556 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12558 arg6
= static_cast< long >(val6
);
12562 arg7
= wxString_in_helper(obj6
);
12563 if (arg7
== NULL
) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12590 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12591 PyObject
*resultobj
= 0;
12592 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12593 wxLayoutAlignment result
;
12596 PyObject
*swig_obj
[1] ;
12598 if (!args
) SWIG_fail
;
12599 swig_obj
[0] = args
;
12600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12601 if (!SWIG_IsOK(res1
)) {
12602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12604 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_From_int(static_cast< int >(result
));
12618 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12619 PyObject
*resultobj
= 0;
12620 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12621 wxLayoutOrientation result
;
12624 PyObject
*swig_obj
[1] ;
12626 if (!args
) SWIG_fail
;
12627 swig_obj
[0] = args
;
12628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12629 if (!SWIG_IsOK(res1
)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12632 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_From_int(static_cast< int >(result
));
12646 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12649 wxLayoutAlignment arg2
;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "self",(char *) "alignment", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12662 if (!SWIG_IsOK(res1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12665 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12667 if (!SWIG_IsOK(ecode2
)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12670 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetAlignment(arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_Py_Void();
12684 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
= 0;
12686 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 char * kwnames
[] = {
12694 (char *) "self",(char *) "size", NULL
12697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12699 if (!SWIG_IsOK(res1
)) {
12700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12702 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12705 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_Py_Void();
12720 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
= 0;
12722 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12723 wxLayoutOrientation arg2
;
12728 PyObject
* obj0
= 0 ;
12729 PyObject
* obj1
= 0 ;
12730 char * kwnames
[] = {
12731 (char *) "self",(char *) "orientation", NULL
12734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12736 if (!SWIG_IsOK(res1
)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12739 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12741 if (!SWIG_IsOK(ecode2
)) {
12742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12744 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->SetOrientation(arg2
);
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= SWIG_Py_Void();
12758 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12761 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12762 return SWIG_Py_Void();
12765 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12766 return SWIG_Python_InitShadowInstance(args
);
12769 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12770 PyObject
*resultobj
= 0;
12771 wxLayoutAlgorithm
*result
= 0 ;
12773 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12787 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12788 PyObject
*resultobj
= 0;
12789 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12792 PyObject
*swig_obj
[1] ;
12794 if (!args
) SWIG_fail
;
12795 swig_obj
[0] = args
;
12796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12797 if (!SWIG_IsOK(res1
)) {
12798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12800 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_Py_Void();
12815 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
= 0;
12817 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12818 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12819 wxRect
*arg3
= (wxRect
*) NULL
;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 PyObject
* obj2
= 0 ;
12830 char * kwnames
[] = {
12831 (char *) "self",(char *) "frame",(char *) "rect", NULL
12834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12839 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12841 if (!SWIG_IsOK(res2
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12844 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12846 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12847 if (!SWIG_IsOK(res3
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12850 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12867 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
= 0;
12869 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12870 wxFrame
*arg2
= (wxFrame
*) 0 ;
12871 wxWindow
*arg3
= (wxWindow
*) NULL
;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 PyObject
* obj2
= 0 ;
12882 char * kwnames
[] = {
12883 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12888 if (!SWIG_IsOK(res1
)) {
12889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12891 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12893 if (!SWIG_IsOK(res2
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12896 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12899 if (!SWIG_IsOK(res3
)) {
12900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12902 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12919 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
= 0;
12921 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12922 wxWindow
*arg2
= (wxWindow
*) 0 ;
12923 wxWindow
*arg3
= (wxWindow
*) NULL
;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 PyObject
* obj2
= 0 ;
12934 char * kwnames
[] = {
12935 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12940 if (!SWIG_IsOK(res1
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12943 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12945 if (!SWIG_IsOK(res2
)) {
12946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12950 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12951 if (!SWIG_IsOK(res3
)) {
12952 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12954 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12971 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12974 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12975 return SWIG_Py_Void();
12978 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12979 return SWIG_Python_InitShadowInstance(args
);
12982 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
= 0;
12984 wxWindow
*arg1
= (wxWindow
*) 0 ;
12985 int arg2
= (int) wxBORDER_NONE
;
12986 wxPopupWindow
*result
= 0 ;
12991 PyObject
* obj0
= 0 ;
12992 PyObject
* obj1
= 0 ;
12993 char * kwnames
[] = {
12994 (char *) "parent",(char *) "flags", NULL
12997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12999 if (!SWIG_IsOK(res1
)) {
13000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13002 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13005 if (!SWIG_IsOK(ecode2
)) {
13006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13008 arg2
= static_cast< int >(val2
);
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13023 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13024 PyObject
*resultobj
= 0;
13025 wxPopupWindow
*result
= 0 ;
13027 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (wxPopupWindow
*)new wxPopupWindow();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13041 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13045 return SWIG_Py_Void();
13048 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13049 return SWIG_Python_InitShadowInstance(args
);
13052 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
= 0;
13054 wxWindow
*arg1
= (wxWindow
*) 0 ;
13055 int arg2
= (int) wxBORDER_NONE
;
13056 wxPyPopupTransientWindow
*result
= 0 ;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 char * kwnames
[] = {
13064 (char *) "parent",(char *) "style", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13069 if (!SWIG_IsOK(res1
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13075 if (!SWIG_IsOK(ecode2
)) {
13076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13078 arg2
= static_cast< int >(val2
);
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13093 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13094 PyObject
*resultobj
= 0;
13095 wxPyPopupTransientWindow
*result
= 0 ;
13097 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13111 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13115 return SWIG_Py_Void();
13118 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13119 return SWIG_Python_InitShadowInstance(args
);
13122 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13124 wxWindow
*arg1
= (wxWindow
*) 0 ;
13125 wxString
*arg2
= 0 ;
13126 int arg3
= (int) 100 ;
13127 wxRect
*arg4
= (wxRect
*) NULL
;
13128 wxTipWindow
*result
= 0 ;
13131 bool temp2
= false ;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 PyObject
* obj2
= 0 ;
13139 PyObject
* obj3
= 0 ;
13140 char * kwnames
[] = {
13141 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13146 if (!SWIG_IsOK(res1
)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13151 arg2
= wxString_in_helper(obj1
);
13152 if (arg2
== NULL
) SWIG_fail
;
13156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13157 if (!SWIG_IsOK(ecode3
)) {
13158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13160 arg3
= static_cast< int >(val3
);
13163 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13164 if (!SWIG_IsOK(res4
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13167 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13170 if (!wxPyCheckForApp()) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13191 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
= 0;
13193 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 char * kwnames
[] = {
13201 (char *) "self",(char *) "rectBound", NULL
13204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13209 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13212 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_Py_Void();
13227 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13228 PyObject
*resultobj
= 0;
13229 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13232 PyObject
*swig_obj
[1] ;
13234 if (!args
) SWIG_fail
;
13235 swig_obj
[0] = args
;
13236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13237 if (!SWIG_IsOK(res1
)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13240 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_Py_Void();
13254 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13257 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13258 return SWIG_Py_Void();
13261 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13262 return SWIG_Python_InitShadowInstance(args
);
13265 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
= 0;
13267 wxWindow
*arg1
= (wxWindow
*) 0 ;
13268 int arg2
= (int) wxID_ANY
;
13269 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13270 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13271 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13272 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13273 long arg5
= (long) 0 ;
13274 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13275 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13276 wxPyVScrolledWindow
*result
= 0 ;
13285 bool temp6
= false ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 PyObject
* obj2
= 0 ;
13289 PyObject
* obj3
= 0 ;
13290 PyObject
* obj4
= 0 ;
13291 PyObject
* obj5
= 0 ;
13292 char * kwnames
[] = {
13293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13298 if (!SWIG_IsOK(res1
)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13304 if (!SWIG_IsOK(ecode2
)) {
13305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13307 arg2
= static_cast< int >(val2
);
13312 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13318 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13322 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13323 if (!SWIG_IsOK(ecode5
)) {
13324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13326 arg5
= static_cast< long >(val5
);
13330 arg6
= wxString_in_helper(obj5
);
13331 if (arg6
== NULL
) SWIG_fail
;
13336 if (!wxPyCheckForApp()) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13357 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13358 PyObject
*resultobj
= 0;
13359 wxPyVScrolledWindow
*result
= 0 ;
13361 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13363 if (!wxPyCheckForApp()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13376 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
= 0;
13378 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13379 PyObject
*arg2
= (PyObject
*) 0 ;
13380 PyObject
*arg3
= (PyObject
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 PyObject
* obj2
= 0 ;
13386 char * kwnames
[] = {
13387 (char *) "self",(char *) "self",(char *) "_class", NULL
13390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13392 if (!SWIG_IsOK(res1
)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13395 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_Py_Void();
13411 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
= 0;
13413 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13414 wxWindow
*arg2
= (wxWindow
*) 0 ;
13415 int arg3
= (int) wxID_ANY
;
13416 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13417 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13418 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13419 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13420 long arg6
= (long) 0 ;
13421 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13422 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13434 bool temp7
= false ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 PyObject
* obj2
= 0 ;
13438 PyObject
* obj3
= 0 ;
13439 PyObject
* obj4
= 0 ;
13440 PyObject
* obj5
= 0 ;
13441 PyObject
* obj6
= 0 ;
13442 char * kwnames
[] = {
13443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13451 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13453 if (!SWIG_IsOK(res2
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13456 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13459 if (!SWIG_IsOK(ecode3
)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13462 arg3
= static_cast< int >(val3
);
13467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13477 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13478 if (!SWIG_IsOK(ecode6
)) {
13479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13481 arg6
= static_cast< long >(val6
);
13485 arg7
= wxString_in_helper(obj6
);
13486 if (arg7
== NULL
) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13513 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
= 0;
13515 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 char * kwnames
[] = {
13524 (char *) "self",(char *) "count", NULL
13527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13532 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13533 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13534 if (!SWIG_IsOK(ecode2
)) {
13535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13537 arg2
= static_cast< size_t >(val2
);
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 (arg1
)->SetLineCount(arg2
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= SWIG_Py_Void();
13551 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
= 0;
13553 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 PyObject
* obj1
= 0 ;
13562 char * kwnames
[] = {
13563 (char *) "self",(char *) "line", NULL
13566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13571 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13572 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13573 if (!SWIG_IsOK(ecode2
)) {
13574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13576 arg2
= static_cast< size_t >(val2
);
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13592 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= 0;
13594 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 PyObject
* obj1
= 0 ;
13602 char * kwnames
[] = {
13603 (char *) "self",(char *) "line", NULL
13606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13608 if (!SWIG_IsOK(res1
)) {
13609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13611 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13612 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13613 if (!SWIG_IsOK(ecode2
)) {
13614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13616 arg2
= static_cast< size_t >(val2
);
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 (arg1
)->RefreshLine(arg2
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= SWIG_Py_Void();
13630 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
= 0;
13632 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 PyObject
* obj1
= 0 ;
13643 PyObject
* obj2
= 0 ;
13644 char * kwnames
[] = {
13645 (char *) "self",(char *) "from",(char *) "to", NULL
13648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13653 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13654 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13655 if (!SWIG_IsOK(ecode2
)) {
13656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13658 arg2
= static_cast< size_t >(val2
);
13659 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13660 if (!SWIG_IsOK(ecode3
)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13663 arg3
= static_cast< size_t >(val3
);
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->RefreshLines(arg2
,arg3
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_Py_Void();
13677 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= 0;
13679 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 PyObject
* obj2
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "self",(char *) "x",(char *) "y", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13701 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13703 if (!SWIG_IsOK(ecode2
)) {
13704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13706 arg2
= static_cast< int >(val2
);
13707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13708 if (!SWIG_IsOK(ecode3
)) {
13709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13711 arg3
= static_cast< int >(val3
);
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_From_int(static_cast< int >(result
));
13725 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= 0;
13727 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13728 wxPoint
*arg2
= 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char * kwnames
[] = {
13736 (char *) "self",(char *) "pt", NULL
13739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13741 if (!SWIG_IsOK(res1
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13744 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_From_int(static_cast< int >(result
));
13762 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13763 PyObject
*resultobj
= 0;
13764 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13767 PyObject
*swig_obj
[1] ;
13769 if (!args
) SWIG_fail
;
13770 swig_obj
[0] = args
;
13771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13772 if (!SWIG_IsOK(res1
)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13775 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 (arg1
)->RefreshAll();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_Py_Void();
13789 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13790 PyObject
*resultobj
= 0;
13791 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13795 PyObject
*swig_obj
[1] ;
13797 if (!args
) SWIG_fail
;
13798 swig_obj
[0] = args
;
13799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13800 if (!SWIG_IsOK(res1
)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13803 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13817 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13818 PyObject
*resultobj
= 0;
13819 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13823 PyObject
*swig_obj
[1] ;
13825 if (!args
) SWIG_fail
;
13826 swig_obj
[0] = args
;
13827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13828 if (!SWIG_IsOK(res1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13831 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13845 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13846 PyObject
*resultobj
= 0;
13847 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13851 PyObject
*swig_obj
[1] ;
13853 if (!args
) SWIG_fail
;
13854 swig_obj
[0] = args
;
13855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13859 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13873 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
= 0;
13875 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char * kwnames
[] = {
13885 (char *) "self",(char *) "line", NULL
13888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13893 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13894 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13895 if (!SWIG_IsOK(ecode2
)) {
13896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13898 arg2
= static_cast< size_t >(val2
);
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13914 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13915 PyObject
*resultobj
= 0;
13916 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13920 PyObject
*swig_obj
[1] ;
13922 if (!args
) SWIG_fail
;
13923 swig_obj
[0] = args
;
13924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13925 if (!SWIG_IsOK(res1
)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13928 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13942 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13943 PyObject
*resultobj
= 0;
13944 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13948 PyObject
*swig_obj
[1] ;
13950 if (!args
) SWIG_fail
;
13951 swig_obj
[0] = args
;
13952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13953 if (!SWIG_IsOK(res1
)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13956 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13970 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
= 0;
13972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13974 bool arg3
= (bool) false ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 char * kwnames
[] = {
13986 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13991 if (!SWIG_IsOK(res1
)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13994 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13995 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13996 if (!SWIG_IsOK(ecode2
)) {
13997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13999 arg2
= static_cast< size_t >(val2
);
14001 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14002 if (!SWIG_IsOK(ecode3
)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14005 arg3
= static_cast< bool >(val3
);
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14020 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
= 0;
14022 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 PyObject
* obj2
= 0 ;
14035 char * kwnames
[] = {
14036 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14041 if (!SWIG_IsOK(res1
)) {
14042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14044 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14045 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14046 if (!SWIG_IsOK(ecode2
)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14049 arg2
= static_cast< size_t >(val2
);
14050 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14051 if (!SWIG_IsOK(ecode3
)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14054 arg3
= static_cast< size_t >(val3
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= SWIG_From_int(static_cast< int >(result
));
14068 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14071 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14072 return SWIG_Py_Void();
14075 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14076 return SWIG_Python_InitShadowInstance(args
);
14079 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14080 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14085 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14086 PyObject
*pyobj
= 0;
14090 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14092 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14099 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
= 0;
14101 wxWindow
*arg1
= (wxWindow
*) 0 ;
14102 int arg2
= (int) wxID_ANY
;
14103 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14104 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14105 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14106 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14107 long arg5
= (long) 0 ;
14108 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14109 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14110 wxPyVListBox
*result
= 0 ;
14119 bool temp6
= false ;
14120 PyObject
* obj0
= 0 ;
14121 PyObject
* obj1
= 0 ;
14122 PyObject
* obj2
= 0 ;
14123 PyObject
* obj3
= 0 ;
14124 PyObject
* obj4
= 0 ;
14125 PyObject
* obj5
= 0 ;
14126 char * kwnames
[] = {
14127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14132 if (!SWIG_IsOK(res1
)) {
14133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14138 if (!SWIG_IsOK(ecode2
)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14141 arg2
= static_cast< int >(val2
);
14146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14152 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14156 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14157 if (!SWIG_IsOK(ecode5
)) {
14158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14160 arg5
= static_cast< long >(val5
);
14164 arg6
= wxString_in_helper(obj5
);
14165 if (arg6
== NULL
) SWIG_fail
;
14170 if (!wxPyCheckForApp()) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14191 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14193 wxPyVListBox
*result
= 0 ;
14195 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14197 if (!wxPyCheckForApp()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (wxPyVListBox
*)new wxPyVListBox();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14210 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= 0;
14212 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14213 PyObject
*arg2
= (PyObject
*) 0 ;
14214 PyObject
*arg3
= (PyObject
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 PyObject
* obj2
= 0 ;
14220 char * kwnames
[] = {
14221 (char *) "self",(char *) "self",(char *) "_class", NULL
14224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14229 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_Py_Void();
14245 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
= 0;
14247 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14248 wxWindow
*arg2
= (wxWindow
*) 0 ;
14249 int arg3
= (int) wxID_ANY
;
14250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14254 long arg6
= (long) 0 ;
14255 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14256 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14268 bool temp7
= false ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 PyObject
* obj2
= 0 ;
14272 PyObject
* obj3
= 0 ;
14273 PyObject
* obj4
= 0 ;
14274 PyObject
* obj5
= 0 ;
14275 PyObject
* obj6
= 0 ;
14276 char * kwnames
[] = {
14277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14282 if (!SWIG_IsOK(res1
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14285 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14287 if (!SWIG_IsOK(res2
)) {
14288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14290 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14293 if (!SWIG_IsOK(ecode3
)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14296 arg3
= static_cast< int >(val3
);
14301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14311 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14312 if (!SWIG_IsOK(ecode6
)) {
14313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14315 arg6
= static_cast< long >(val6
);
14319 arg7
= wxString_in_helper(obj6
);
14320 if (arg7
== NULL
) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14347 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14348 PyObject
*resultobj
= 0;
14349 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14353 PyObject
*swig_obj
[1] ;
14355 if (!args
) SWIG_fail
;
14356 swig_obj
[0] = args
;
14357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14358 if (!SWIG_IsOK(res1
)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14361 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14375 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14376 PyObject
*resultobj
= 0;
14377 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14381 PyObject
*swig_obj
[1] ;
14383 if (!args
) SWIG_fail
;
14384 swig_obj
[0] = args
;
14385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14389 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14405 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14406 PyObject
*resultobj
= 0;
14407 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14411 PyObject
*swig_obj
[1] ;
14413 if (!args
) SWIG_fail
;
14414 swig_obj
[0] = args
;
14415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14416 if (!SWIG_IsOK(res1
)) {
14417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14419 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= SWIG_From_int(static_cast< int >(result
));
14433 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
= 0;
14435 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 char * kwnames
[] = {
14445 (char *) "self",(char *) "item", NULL
14448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14450 if (!SWIG_IsOK(res1
)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14453 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14454 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14455 if (!SWIG_IsOK(ecode2
)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14458 arg2
= static_cast< size_t >(val2
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14474 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
= 0;
14476 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 char * kwnames
[] = {
14486 (char *) "self",(char *) "item", NULL
14489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14491 if (!SWIG_IsOK(res1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14494 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14495 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14496 if (!SWIG_IsOK(ecode2
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14499 arg2
= static_cast< size_t >(val2
);
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14515 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14516 PyObject
*resultobj
= 0;
14517 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14521 PyObject
*swig_obj
[1] ;
14523 if (!args
) SWIG_fail
;
14524 swig_obj
[0] = args
;
14525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14526 if (!SWIG_IsOK(res1
)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14529 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14543 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14544 PyObject
*resultobj
= 0;
14545 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14546 PyObject
*result
= 0 ;
14549 PyObject
*swig_obj
[1] ;
14551 if (!args
) SWIG_fail
;
14552 swig_obj
[0] = args
;
14553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14557 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
;
14571 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
= 0;
14573 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14574 unsigned long arg2
;
14575 PyObject
*result
= 0 ;
14578 unsigned long val2
;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 char * kwnames
[] = {
14583 (char *) "self",(char *) "cookie", NULL
14586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14591 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14592 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14593 if (!SWIG_IsOK(ecode2
)) {
14594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14596 arg2
= static_cast< unsigned long >(val2
);
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= result
;
14610 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14611 PyObject
*resultobj
= 0;
14612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14616 PyObject
*swig_obj
[1] ;
14618 if (!args
) SWIG_fail
;
14619 swig_obj
[0] = args
;
14620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14621 if (!SWIG_IsOK(res1
)) {
14622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14624 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14638 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14639 PyObject
*resultobj
= 0;
14640 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14641 wxColour
*result
= 0 ;
14644 PyObject
*swig_obj
[1] ;
14646 if (!args
) SWIG_fail
;
14647 swig_obj
[0] = args
;
14648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14649 if (!SWIG_IsOK(res1
)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14652 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14657 result
= (wxColour
*) &_result_ref
;
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14669 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
= 0;
14671 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 char * kwnames
[] = {
14680 (char *) "self",(char *) "count", NULL
14683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14685 if (!SWIG_IsOK(res1
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14688 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14689 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14690 if (!SWIG_IsOK(ecode2
)) {
14691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14693 arg2
= static_cast< size_t >(val2
);
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 (arg1
)->SetItemCount(arg2
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= SWIG_Py_Void();
14707 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14708 PyObject
*resultobj
= 0;
14709 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14712 PyObject
*swig_obj
[1] ;
14714 if (!args
) SWIG_fail
;
14715 swig_obj
[0] = args
;
14716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14717 if (!SWIG_IsOK(res1
)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14720 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_Py_Void();
14734 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
= 0;
14736 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 char * kwnames
[] = {
14745 (char *) "self",(char *) "selection", NULL
14748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14750 if (!SWIG_IsOK(res1
)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14753 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14755 if (!SWIG_IsOK(ecode2
)) {
14756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14758 arg2
= static_cast< int >(val2
);
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 (arg1
)->SetSelection(arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_Py_Void();
14772 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
= 0;
14774 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14776 bool arg3
= (bool) true ;
14784 PyObject
* obj0
= 0 ;
14785 PyObject
* obj1
= 0 ;
14786 PyObject
* obj2
= 0 ;
14787 char * kwnames
[] = {
14788 (char *) "self",(char *) "item",(char *) "select", NULL
14791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14793 if (!SWIG_IsOK(res1
)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14796 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14797 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14798 if (!SWIG_IsOK(ecode2
)) {
14799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14801 arg2
= static_cast< size_t >(val2
);
14803 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14804 if (!SWIG_IsOK(ecode3
)) {
14805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14807 arg3
= static_cast< bool >(val3
);
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14824 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
= 0;
14826 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 PyObject
* obj2
= 0 ;
14839 char * kwnames
[] = {
14840 (char *) "self",(char *) "from",(char *) "to", NULL
14843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14848 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14849 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14850 if (!SWIG_IsOK(ecode2
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14853 arg2
= static_cast< size_t >(val2
);
14854 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14855 if (!SWIG_IsOK(ecode3
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14858 arg3
= static_cast< size_t >(val3
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
= 0;
14876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 char * kwnames
[] = {
14885 (char *) "self",(char *) "item", NULL
14888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14890 if (!SWIG_IsOK(res1
)) {
14891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14893 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14894 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14895 if (!SWIG_IsOK(ecode2
)) {
14896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14898 arg2
= static_cast< size_t >(val2
);
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 (arg1
)->Toggle(arg2
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= SWIG_Py_Void();
14912 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14913 PyObject
*resultobj
= 0;
14914 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14918 PyObject
*swig_obj
[1] ;
14920 if (!args
) SWIG_fail
;
14921 swig_obj
[0] = args
;
14922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14923 if (!SWIG_IsOK(res1
)) {
14924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14926 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (bool)(arg1
)->SelectAll();
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14942 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14943 PyObject
*resultobj
= 0;
14944 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14948 PyObject
*swig_obj
[1] ;
14950 if (!args
) SWIG_fail
;
14951 swig_obj
[0] = args
;
14952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14953 if (!SWIG_IsOK(res1
)) {
14954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14956 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (bool)(arg1
)->DeselectAll();
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14972 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
= 0;
14974 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14975 wxPoint
*arg2
= 0 ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 char * kwnames
[] = {
14982 (char *) "self",(char *) "pt", NULL
14985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14987 if (!SWIG_IsOK(res1
)) {
14988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14990 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_Py_Void();
15008 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= 0;
15010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 PyObject
* obj2
= 0 ;
15022 char * kwnames
[] = {
15023 (char *) "self",(char *) "x",(char *) "y", NULL
15026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15028 if (!SWIG_IsOK(res1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15031 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15033 if (!SWIG_IsOK(ecode2
)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15036 arg2
= static_cast< int >(val2
);
15037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15038 if (!SWIG_IsOK(ecode3
)) {
15039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15041 arg3
= static_cast< int >(val3
);
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 (arg1
)->SetMargins(arg2
,arg3
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= SWIG_Py_Void();
15055 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
= 0;
15057 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15058 wxColour
*arg2
= 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char * kwnames
[] = {
15065 (char *) "self",(char *) "col", NULL
15068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15073 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15076 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= SWIG_Py_Void();
15091 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
= 0;
15093 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 PyObject
* obj2
= 0 ;
15107 PyObject
* obj3
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15117 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15119 if (!SWIG_IsOK(res2
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15125 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15128 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15130 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15131 if (!SWIG_IsOK(ecode4
)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15134 arg4
= static_cast< size_t >(val4
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_Py_Void();
15148 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
= 0;
15150 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 PyObject
* obj1
= 0 ;
15163 PyObject
* obj2
= 0 ;
15164 PyObject
* obj3
= 0 ;
15165 char * kwnames
[] = {
15166 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15171 if (!SWIG_IsOK(res1
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15174 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15176 if (!SWIG_IsOK(res2
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15182 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15185 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15187 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15188 if (!SWIG_IsOK(ecode4
)) {
15189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15191 arg4
= static_cast< size_t >(val4
);
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= SWIG_Py_Void();
15205 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15208 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15209 return SWIG_Py_Void();
15212 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15213 return SWIG_Python_InitShadowInstance(args
);
15216 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
= 0;
15218 wxWindow
*arg1
= (wxWindow
*) 0 ;
15219 int arg2
= (int) wxID_ANY
;
15220 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15221 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15222 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15223 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15224 long arg5
= (long) 0 ;
15225 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15226 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15227 wxPyHtmlListBox
*result
= 0 ;
15236 bool temp6
= false ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 PyObject
* obj2
= 0 ;
15240 PyObject
* obj3
= 0 ;
15241 PyObject
* obj4
= 0 ;
15242 PyObject
* obj5
= 0 ;
15243 char * kwnames
[] = {
15244 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15249 if (!SWIG_IsOK(res1
)) {
15250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15255 if (!SWIG_IsOK(ecode2
)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15258 arg2
= static_cast< int >(val2
);
15263 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15269 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15273 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15274 if (!SWIG_IsOK(ecode5
)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15277 arg5
= static_cast< long >(val5
);
15281 arg6
= wxString_in_helper(obj5
);
15282 if (arg6
== NULL
) SWIG_fail
;
15287 if (!wxPyCheckForApp()) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15308 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15309 PyObject
*resultobj
= 0;
15310 wxPyHtmlListBox
*result
= 0 ;
15312 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15314 if (!wxPyCheckForApp()) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15327 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
= 0;
15329 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15330 PyObject
*arg2
= (PyObject
*) 0 ;
15331 PyObject
*arg3
= (PyObject
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 PyObject
* obj2
= 0 ;
15337 char * kwnames
[] = {
15338 (char *) "self",(char *) "self",(char *) "_class", NULL
15341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15343 if (!SWIG_IsOK(res1
)) {
15344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15346 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= SWIG_Py_Void();
15362 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
= 0;
15364 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15365 wxWindow
*arg2
= (wxWindow
*) 0 ;
15366 int arg3
= (int) wxID_ANY
;
15367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15371 long arg6
= (long) 0 ;
15372 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15385 bool temp7
= false ;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 PyObject
* obj2
= 0 ;
15389 PyObject
* obj3
= 0 ;
15390 PyObject
* obj4
= 0 ;
15391 PyObject
* obj5
= 0 ;
15392 PyObject
* obj6
= 0 ;
15393 char * kwnames
[] = {
15394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15399 if (!SWIG_IsOK(res1
)) {
15400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15402 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15404 if (!SWIG_IsOK(res2
)) {
15405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15407 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15410 if (!SWIG_IsOK(ecode3
)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15413 arg3
= static_cast< int >(val3
);
15418 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15424 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15428 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15429 if (!SWIG_IsOK(ecode6
)) {
15430 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15432 arg6
= static_cast< long >(val6
);
15436 arg7
= wxString_in_helper(obj6
);
15437 if (arg7
== NULL
) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15464 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= 0;
15466 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "count", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15483 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15484 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15485 if (!SWIG_IsOK(ecode2
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15488 arg2
= static_cast< size_t >(val2
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetItemCount(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15502 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15503 PyObject
*resultobj
= 0;
15504 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15505 wxFileSystem
*result
= 0 ;
15508 PyObject
*swig_obj
[1] ;
15510 if (!args
) SWIG_fail
;
15511 swig_obj
[0] = args
;
15512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15513 if (!SWIG_IsOK(res1
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15516 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15521 result
= (wxFileSystem
*) &_result_ref
;
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15533 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
= 0;
15535 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15537 wxHtmlLinkInfo
*arg3
= 0 ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 char * kwnames
[] = {
15548 (char *) "self",(char *) "n",(char *) "link", NULL
15551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15553 if (!SWIG_IsOK(res1
)) {
15554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15556 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15557 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15558 if (!SWIG_IsOK(ecode2
)) {
15559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15561 arg2
= static_cast< size_t >(val2
);
15562 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15563 if (!SWIG_IsOK(res3
)) {
15564 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15569 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_Py_Void();
15583 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15587 return SWIG_Py_Void();
15590 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15591 return SWIG_Python_InitShadowInstance(args
);
15594 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15595 PyObject
*resultobj
= 0;
15596 wxPyTaskBarIcon
*result
= 0 ;
15598 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15600 if (!wxPyCheckForApp()) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15613 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15614 PyObject
*resultobj
= 0;
15615 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15618 PyObject
*swig_obj
[1] ;
15620 if (!args
) SWIG_fail
;
15621 swig_obj
[0] = args
;
15622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15623 if (!SWIG_IsOK(res1
)) {
15624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15626 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_Py_Void();
15641 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
= 0;
15643 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15644 PyObject
*arg2
= (PyObject
*) 0 ;
15645 PyObject
*arg3
= (PyObject
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 PyObject
* obj2
= 0 ;
15654 PyObject
* obj3
= 0 ;
15655 char * kwnames
[] = {
15656 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15661 if (!SWIG_IsOK(res1
)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15664 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15668 if (!SWIG_IsOK(ecode4
)) {
15669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15671 arg4
= static_cast< int >(val4
);
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= SWIG_Py_Void();
15685 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15686 PyObject
*resultobj
= 0;
15687 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15690 PyObject
*swig_obj
[1] ;
15692 if (!args
) SWIG_fail
;
15693 swig_obj
[0] = args
;
15694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15695 if (!SWIG_IsOK(res1
)) {
15696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15698 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 wxPyTaskBarIcon_Destroy(arg1
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_Py_Void();
15712 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15713 PyObject
*resultobj
= 0;
15714 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15718 PyObject
*swig_obj
[1] ;
15720 if (!args
) SWIG_fail
;
15721 swig_obj
[0] = args
;
15722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15726 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15742 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15743 PyObject
*resultobj
= 0;
15744 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15748 PyObject
*swig_obj
[1] ;
15750 if (!args
) SWIG_fail
;
15751 swig_obj
[0] = args
;
15752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15753 if (!SWIG_IsOK(res1
)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15756 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15772 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
= 0;
15774 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15776 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15777 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15783 bool temp3
= false ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 PyObject
* obj2
= 0 ;
15787 char * kwnames
[] = {
15788 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15793 if (!SWIG_IsOK(res1
)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15796 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15798 if (!SWIG_IsOK(res2
)) {
15799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15804 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15807 arg3
= wxString_in_helper(obj2
);
15808 if (arg3
== NULL
) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15835 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15836 PyObject
*resultobj
= 0;
15837 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15841 PyObject
*swig_obj
[1] ;
15843 if (!args
) SWIG_fail
;
15844 swig_obj
[0] = args
;
15845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15846 if (!SWIG_IsOK(res1
)) {
15847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15849 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (bool)(arg1
)->RemoveIcon();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15865 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
= 0;
15867 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15868 wxMenu
*arg2
= (wxMenu
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 char * kwnames
[] = {
15877 (char *) "self",(char *) "menu", NULL
15880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15882 if (!SWIG_IsOK(res1
)) {
15883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15885 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15887 if (!SWIG_IsOK(res2
)) {
15888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15890 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (bool)(arg1
)->PopupMenu(arg2
);
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15906 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15909 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15910 return SWIG_Py_Void();
15913 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 return SWIG_Python_InitShadowInstance(args
);
15917 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
= 0;
15920 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15921 wxTaskBarIconEvent
*result
= 0 ;
15926 PyObject
* obj0
= 0 ;
15927 PyObject
* obj1
= 0 ;
15928 char * kwnames
[] = {
15929 (char *) "evtType",(char *) "tbIcon", NULL
15932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15934 if (!SWIG_IsOK(ecode1
)) {
15935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15937 arg1
= static_cast< wxEventType
>(val1
);
15938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15939 if (!SWIG_IsOK(res2
)) {
15940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15942 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15956 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15959 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15960 return SWIG_Py_Void();
15963 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15964 return SWIG_Python_InitShadowInstance(args
);
15967 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15968 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15973 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15974 PyObject
*pyobj
= 0;
15978 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15980 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15987 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15988 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15993 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15994 PyObject
*pyobj
= 0;
15998 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16000 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16007 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16008 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16013 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16014 PyObject
*pyobj
= 0;
16018 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16020 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16027 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16028 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16033 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16034 PyObject
*pyobj
= 0;
16038 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16040 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16047 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16048 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16053 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16054 PyObject
*pyobj
= 0;
16058 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16060 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16067 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16068 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16073 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16074 PyObject
*pyobj
= 0;
16078 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16080 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16087 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16088 PyObject
*resultobj
= 0;
16089 wxColourData
*result
= 0 ;
16091 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (wxColourData
*)new wxColourData();
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16105 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16106 PyObject
*resultobj
= 0;
16107 wxColourData
*arg1
= (wxColourData
*) 0 ;
16110 PyObject
*swig_obj
[1] ;
16112 if (!args
) SWIG_fail
;
16113 swig_obj
[0] = args
;
16114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16115 if (!SWIG_IsOK(res1
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16118 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_Py_Void();
16133 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16134 PyObject
*resultobj
= 0;
16135 wxColourData
*arg1
= (wxColourData
*) 0 ;
16139 PyObject
*swig_obj
[1] ;
16141 if (!args
) SWIG_fail
;
16142 swig_obj
[0] = args
;
16143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16144 if (!SWIG_IsOK(res1
)) {
16145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16147 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (bool)(arg1
)->GetChooseFull();
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16163 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16164 PyObject
*resultobj
= 0;
16165 wxColourData
*arg1
= (wxColourData
*) 0 ;
16169 PyObject
*swig_obj
[1] ;
16171 if (!args
) SWIG_fail
;
16172 swig_obj
[0] = args
;
16173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16174 if (!SWIG_IsOK(res1
)) {
16175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16177 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 result
= (arg1
)->GetColour();
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16191 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
= 0;
16193 wxColourData
*arg1
= (wxColourData
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char * kwnames
[] = {
16203 (char *) "self",(char *) "i", NULL
16206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16208 if (!SWIG_IsOK(res1
)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16211 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16213 if (!SWIG_IsOK(ecode2
)) {
16214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16216 arg2
= static_cast< int >(val2
);
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (arg1
)->GetCustomColour(arg2
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16230 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
= 0;
16232 wxColourData
*arg1
= (wxColourData
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char * kwnames
[] = {
16241 (char *) "self",(char *) "flag", NULL
16244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16249 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16251 if (!SWIG_IsOK(ecode2
)) {
16252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16254 arg2
= static_cast< int >(val2
);
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 (arg1
)->SetChooseFull(arg2
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= SWIG_Py_Void();
16268 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
= 0;
16270 wxColourData
*arg1
= (wxColourData
*) 0 ;
16271 wxColour
*arg2
= 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 char * kwnames
[] = {
16278 (char *) "self",(char *) "colour", NULL
16281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16286 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 (arg1
)->SetColour((wxColour
const &)*arg2
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= SWIG_Py_Void();
16304 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
= 0;
16306 wxColourData
*arg1
= (wxColourData
*) 0 ;
16308 wxColour
*arg3
= 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 PyObject
* obj2
= 0 ;
16317 char * kwnames
[] = {
16318 (char *) "self",(char *) "i",(char *) "colour", NULL
16321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16323 if (!SWIG_IsOK(res1
)) {
16324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16326 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16328 if (!SWIG_IsOK(ecode2
)) {
16329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16331 arg2
= static_cast< int >(val2
);
16334 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= SWIG_Py_Void();
16349 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16352 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16353 return SWIG_Py_Void();
16356 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16357 return SWIG_Python_InitShadowInstance(args
);
16360 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
= 0;
16362 wxWindow
*arg1
= (wxWindow
*) 0 ;
16363 wxColourData
*arg2
= (wxColourData
*) NULL
;
16364 wxColourDialog
*result
= 0 ;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char * kwnames
[] = {
16372 (char *) "parent",(char *) "data", NULL
16375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16380 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16383 if (!SWIG_IsOK(res2
)) {
16384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16386 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16389 if (!wxPyCheckForApp()) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16402 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16403 PyObject
*resultobj
= 0;
16404 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16405 wxColourData
*result
= 0 ;
16408 PyObject
*swig_obj
[1] ;
16410 if (!args
) SWIG_fail
;
16411 swig_obj
[0] = args
;
16412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16413 if (!SWIG_IsOK(res1
)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16416 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16421 result
= (wxColourData
*) &_result_ref
;
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16433 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16436 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16437 return SWIG_Py_Void();
16440 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16441 return SWIG_Python_InitShadowInstance(args
);
16444 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
= 0;
16446 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16447 wxColour
const &arg2_defvalue
= wxNullColour
;
16448 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16449 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16450 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16455 bool temp3
= false ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 PyObject
* obj2
= 0 ;
16459 char * kwnames
[] = {
16460 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16466 if (!SWIG_IsOK(res1
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16479 arg3
= wxString_in_helper(obj2
);
16480 if (arg3
== NULL
) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16505 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
= 0;
16507 wxWindow
*arg1
= (wxWindow
*) 0 ;
16508 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16509 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16510 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16511 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16512 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16513 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16514 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16515 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16516 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16517 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16518 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16519 wxDirDialog
*result
= 0 ;
16522 bool temp2
= false ;
16523 bool temp3
= false ;
16528 bool temp7
= false ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 PyObject
* obj2
= 0 ;
16532 PyObject
* obj3
= 0 ;
16533 PyObject
* obj4
= 0 ;
16534 PyObject
* obj5
= 0 ;
16535 PyObject
* obj6
= 0 ;
16536 char * kwnames
[] = {
16537 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16548 arg2
= wxString_in_helper(obj1
);
16549 if (arg2
== NULL
) SWIG_fail
;
16555 arg3
= wxString_in_helper(obj2
);
16556 if (arg3
== NULL
) SWIG_fail
;
16561 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16562 if (!SWIG_IsOK(ecode4
)) {
16563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16565 arg4
= static_cast< long >(val4
);
16570 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16576 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16581 arg7
= wxString_in_helper(obj6
);
16582 if (arg7
== NULL
) SWIG_fail
;
16587 if (!wxPyCheckForApp()) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16624 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16625 PyObject
*resultobj
= 0;
16626 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16630 PyObject
*swig_obj
[1] ;
16632 if (!args
) SWIG_fail
;
16633 swig_obj
[0] = args
;
16634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16635 if (!SWIG_IsOK(res1
)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16638 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (arg1
)->GetPath();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16658 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16659 PyObject
*resultobj
= 0;
16660 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16664 PyObject
*swig_obj
[1] ;
16666 if (!args
) SWIG_fail
;
16667 swig_obj
[0] = args
;
16668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16672 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (arg1
)->GetMessage();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16692 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= 0;
16694 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16695 wxString
*arg2
= 0 ;
16698 bool temp2
= false ;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 char * kwnames
[] = {
16702 (char *) "self",(char *) "message", NULL
16705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16707 if (!SWIG_IsOK(res1
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16710 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16712 arg2
= wxString_in_helper(obj1
);
16713 if (arg2
== NULL
) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 (arg1
)->SetMessage((wxString
const &)*arg2
);
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= SWIG_Py_Void();
16737 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
= 0;
16739 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16740 wxString
*arg2
= 0 ;
16743 bool temp2
= false ;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "self",(char *) "path", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16755 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16757 arg2
= wxString_in_helper(obj1
);
16758 if (arg2
== NULL
) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 (arg1
)->SetPath((wxString
const &)*arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_Py_Void();
16782 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16785 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16786 return SWIG_Py_Void();
16789 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16790 return SWIG_Python_InitShadowInstance(args
);
16793 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
= 0;
16795 wxWindow
*arg1
= (wxWindow
*) 0 ;
16796 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16797 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16798 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16799 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16800 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16802 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16803 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16804 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16805 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16806 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16807 wxFileDialog
*result
= 0 ;
16810 bool temp2
= false ;
16811 bool temp3
= false ;
16812 bool temp4
= false ;
16813 bool temp5
= false ;
16817 PyObject
* obj0
= 0 ;
16818 PyObject
* obj1
= 0 ;
16819 PyObject
* obj2
= 0 ;
16820 PyObject
* obj3
= 0 ;
16821 PyObject
* obj4
= 0 ;
16822 PyObject
* obj5
= 0 ;
16823 PyObject
* obj6
= 0 ;
16824 char * kwnames
[] = {
16825 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16833 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16836 arg2
= wxString_in_helper(obj1
);
16837 if (arg2
== NULL
) SWIG_fail
;
16843 arg3
= wxString_in_helper(obj2
);
16844 if (arg3
== NULL
) SWIG_fail
;
16850 arg4
= wxString_in_helper(obj3
);
16851 if (arg4
== NULL
) SWIG_fail
;
16857 arg5
= wxString_in_helper(obj4
);
16858 if (arg5
== NULL
) SWIG_fail
;
16863 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16864 if (!SWIG_IsOK(ecode6
)) {
16865 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16867 arg6
= static_cast< long >(val6
);
16872 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16876 if (!wxPyCheckForApp()) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16921 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
= 0;
16923 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16924 wxString
*arg2
= 0 ;
16927 bool temp2
= false ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 char * kwnames
[] = {
16931 (char *) "self",(char *) "message", NULL
16934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16939 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16941 arg2
= wxString_in_helper(obj1
);
16942 if (arg2
== NULL
) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 (arg1
)->SetMessage((wxString
const &)*arg2
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_Py_Void();
16966 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
= 0;
16968 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16969 wxString
*arg2
= 0 ;
16972 bool temp2
= false ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 char * kwnames
[] = {
16976 (char *) "self",(char *) "path", NULL
16979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16981 if (!SWIG_IsOK(res1
)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16984 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16986 arg2
= wxString_in_helper(obj1
);
16987 if (arg2
== NULL
) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 (arg1
)->SetPath((wxString
const &)*arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= SWIG_Py_Void();
17011 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
= 0;
17013 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17014 wxString
*arg2
= 0 ;
17017 bool temp2
= false ;
17018 PyObject
* obj0
= 0 ;
17019 PyObject
* obj1
= 0 ;
17020 char * kwnames
[] = {
17021 (char *) "self",(char *) "dir", NULL
17024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17026 if (!SWIG_IsOK(res1
)) {
17027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17029 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17031 arg2
= wxString_in_helper(obj1
);
17032 if (arg2
== NULL
) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= SWIG_Py_Void();
17056 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
= 0;
17058 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17059 wxString
*arg2
= 0 ;
17062 bool temp2
= false ;
17063 PyObject
* obj0
= 0 ;
17064 PyObject
* obj1
= 0 ;
17065 char * kwnames
[] = {
17066 (char *) "self",(char *) "name", NULL
17069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17071 if (!SWIG_IsOK(res1
)) {
17072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17074 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17076 arg2
= wxString_in_helper(obj1
);
17077 if (arg2
== NULL
) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 (arg1
)->SetFilename((wxString
const &)*arg2
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_Py_Void();
17101 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
= 0;
17103 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17104 wxString
*arg2
= 0 ;
17107 bool temp2
= false ;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char * kwnames
[] = {
17111 (char *) "self",(char *) "wildCard", NULL
17114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17116 if (!SWIG_IsOK(res1
)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17119 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17121 arg2
= wxString_in_helper(obj1
);
17122 if (arg2
== NULL
) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= SWIG_Py_Void();
17146 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
= 0;
17148 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 char * kwnames
[] = {
17157 (char *) "self",(char *) "filterIndex", NULL
17160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17162 if (!SWIG_IsOK(res1
)) {
17163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17165 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17167 if (!SWIG_IsOK(ecode2
)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17170 arg2
= static_cast< int >(val2
);
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->SetFilterIndex(arg2
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_Py_Void();
17184 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 PyObject
*resultobj
= 0;
17186 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17190 PyObject
*swig_obj
[1] ;
17192 if (!args
) SWIG_fail
;
17193 swig_obj
[0] = args
;
17194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17195 if (!SWIG_IsOK(res1
)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17198 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17218 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17219 PyObject
*resultobj
= 0;
17220 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17224 PyObject
*swig_obj
[1] ;
17226 if (!args
) SWIG_fail
;
17227 swig_obj
[0] = args
;
17228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17229 if (!SWIG_IsOK(res1
)) {
17230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17232 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17252 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17253 PyObject
*resultobj
= 0;
17254 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17258 PyObject
*swig_obj
[1] ;
17260 if (!args
) SWIG_fail
;
17261 swig_obj
[0] = args
;
17262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17263 if (!SWIG_IsOK(res1
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17266 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17286 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17287 PyObject
*resultobj
= 0;
17288 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17292 PyObject
*swig_obj
[1] ;
17294 if (!args
) SWIG_fail
;
17295 swig_obj
[0] = args
;
17296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17300 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17320 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17321 PyObject
*resultobj
= 0;
17322 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17326 PyObject
*swig_obj
[1] ;
17328 if (!args
) SWIG_fail
;
17329 swig_obj
[0] = args
;
17330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17331 if (!SWIG_IsOK(res1
)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17334 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17354 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17355 PyObject
*resultobj
= 0;
17356 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17360 PyObject
*swig_obj
[1] ;
17362 if (!args
) SWIG_fail
;
17363 swig_obj
[0] = args
;
17364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17368 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_From_int(static_cast< int >(result
));
17382 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17383 PyObject
*resultobj
= 0;
17384 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17385 PyObject
*result
= 0 ;
17388 PyObject
*swig_obj
[1] ;
17390 if (!args
) SWIG_fail
;
17391 swig_obj
[0] = args
;
17392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17393 if (!SWIG_IsOK(res1
)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17396 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= result
;
17410 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17411 PyObject
*resultobj
= 0;
17412 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17413 PyObject
*result
= 0 ;
17416 PyObject
*swig_obj
[1] ;
17418 if (!args
) SWIG_fail
;
17419 swig_obj
[0] = args
;
17420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17421 if (!SWIG_IsOK(res1
)) {
17422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17424 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= result
;
17438 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17441 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17442 return SWIG_Py_Void();
17445 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17446 return SWIG_Python_InitShadowInstance(args
);
17449 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
= 0;
17451 wxWindow
*arg1
= (wxWindow
*) 0 ;
17452 wxString
*arg2
= 0 ;
17453 wxString
*arg3
= 0 ;
17454 int arg4
= (int) 0 ;
17455 wxString
*arg5
= (wxString
*) NULL
;
17456 long arg6
= (long) wxCHOICEDLG_STYLE
;
17457 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17458 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17459 wxMultiChoiceDialog
*result
= 0 ;
17462 bool temp2
= false ;
17463 bool temp3
= false ;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 PyObject
* obj2
= 0 ;
17470 PyObject
* obj3
= 0 ;
17471 PyObject
* obj4
= 0 ;
17472 PyObject
* obj5
= 0 ;
17473 char * kwnames
[] = {
17474 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17479 if (!SWIG_IsOK(res1
)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17484 arg2
= wxString_in_helper(obj1
);
17485 if (arg2
== NULL
) SWIG_fail
;
17489 arg3
= wxString_in_helper(obj2
);
17490 if (arg3
== NULL
) SWIG_fail
;
17495 arg4
= PyList_Size(obj3
);
17496 arg5
= wxString_LIST_helper(obj3
);
17497 if (arg5
== NULL
) SWIG_fail
;
17501 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17502 if (!SWIG_IsOK(ecode6
)) {
17503 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17505 arg6
= static_cast< long >(val6
);
17510 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17514 if (!wxPyCheckForApp()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17530 if (arg5
) delete [] arg5
;
17543 if (arg5
) delete [] arg5
;
17549 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
= 0;
17551 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17552 wxArrayInt
*arg2
= 0 ;
17555 bool temp2
= false ;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 char * kwnames
[] = {
17559 (char *) "self",(char *) "selections", NULL
17562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17564 if (!SWIG_IsOK(res1
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17567 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17569 if (! PySequence_Check(obj1
)) {
17570 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17573 arg2
= new wxArrayInt
;
17575 int i
, len
=PySequence_Length(obj1
);
17576 for (i
=0; i
<len
; i
++) {
17577 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17578 PyObject
* number
= PyNumber_Int(item
);
17579 arg2
->Add(PyInt_AS_LONG(number
));
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= SWIG_Py_Void();
17592 if (temp2
) delete arg2
;
17597 if (temp2
) delete arg2
;
17603 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17604 PyObject
*resultobj
= 0;
17605 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17606 PyObject
*result
= 0 ;
17609 PyObject
*swig_obj
[1] ;
17611 if (!args
) SWIG_fail
;
17612 swig_obj
[0] = args
;
17613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17617 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
;
17631 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17634 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17635 return SWIG_Py_Void();
17638 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17639 return SWIG_Python_InitShadowInstance(args
);
17642 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
= 0;
17644 wxWindow
*arg1
= (wxWindow
*) 0 ;
17645 wxString
*arg2
= 0 ;
17646 wxString
*arg3
= 0 ;
17648 wxString
*arg5
= (wxString
*) 0 ;
17649 long arg6
= (long) wxCHOICEDLG_STYLE
;
17650 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17651 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17652 wxSingleChoiceDialog
*result
= 0 ;
17655 bool temp2
= false ;
17656 bool temp3
= false ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 PyObject
* obj2
= 0 ;
17663 PyObject
* obj3
= 0 ;
17664 PyObject
* obj4
= 0 ;
17665 PyObject
* obj5
= 0 ;
17666 char * kwnames
[] = {
17667 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17675 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17677 arg2
= wxString_in_helper(obj1
);
17678 if (arg2
== NULL
) SWIG_fail
;
17682 arg3
= wxString_in_helper(obj2
);
17683 if (arg3
== NULL
) SWIG_fail
;
17687 arg4
= PyList_Size(obj3
);
17688 arg5
= wxString_LIST_helper(obj3
);
17689 if (arg5
== NULL
) SWIG_fail
;
17692 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17693 if (!SWIG_IsOK(ecode6
)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17696 arg6
= static_cast< long >(val6
);
17701 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17705 if (!wxPyCheckForApp()) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17721 if (arg5
) delete [] arg5
;
17734 if (arg5
) delete [] arg5
;
17740 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17741 PyObject
*resultobj
= 0;
17742 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17746 PyObject
*swig_obj
[1] ;
17748 if (!args
) SWIG_fail
;
17749 swig_obj
[0] = args
;
17750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17751 if (!SWIG_IsOK(res1
)) {
17752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17754 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (int)(arg1
)->GetSelection();
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_From_int(static_cast< int >(result
));
17768 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17769 PyObject
*resultobj
= 0;
17770 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17774 PyObject
*swig_obj
[1] ;
17776 if (!args
) SWIG_fail
;
17777 swig_obj
[0] = args
;
17778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17779 if (!SWIG_IsOK(res1
)) {
17780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17782 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (arg1
)->GetStringSelection();
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17802 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
= 0;
17804 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 char * kwnames
[] = {
17813 (char *) "self",(char *) "sel", NULL
17816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17818 if (!SWIG_IsOK(res1
)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17821 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17823 if (!SWIG_IsOK(ecode2
)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17826 arg2
= static_cast< int >(val2
);
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 (arg1
)->SetSelection(arg2
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 resultobj
= SWIG_Py_Void();
17840 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17843 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17844 return SWIG_Py_Void();
17847 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17848 return SWIG_Python_InitShadowInstance(args
);
17851 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
= 0;
17853 wxWindow
*arg1
= (wxWindow
*) 0 ;
17854 wxString
*arg2
= 0 ;
17855 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17857 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17858 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17859 long arg5
= (long) wxTextEntryDialogStyle
;
17860 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17861 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17862 wxTextEntryDialog
*result
= 0 ;
17865 bool temp2
= false ;
17866 bool temp3
= false ;
17867 bool temp4
= false ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 PyObject
* obj2
= 0 ;
17874 PyObject
* obj3
= 0 ;
17875 PyObject
* obj4
= 0 ;
17876 PyObject
* obj5
= 0 ;
17877 char * kwnames
[] = {
17878 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17883 if (!SWIG_IsOK(res1
)) {
17884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17888 arg2
= wxString_in_helper(obj1
);
17889 if (arg2
== NULL
) SWIG_fail
;
17894 arg3
= wxString_in_helper(obj2
);
17895 if (arg3
== NULL
) SWIG_fail
;
17901 arg4
= wxString_in_helper(obj3
);
17902 if (arg4
== NULL
) SWIG_fail
;
17907 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17908 if (!SWIG_IsOK(ecode5
)) {
17909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17911 arg5
= static_cast< long >(val5
);
17916 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17920 if (!wxPyCheckForApp()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
17957 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17958 PyObject
*resultobj
= 0;
17959 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17963 PyObject
*swig_obj
[1] ;
17965 if (!args
) SWIG_fail
;
17966 swig_obj
[0] = args
;
17967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17971 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (arg1
)->GetValue();
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17991 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
= 0;
17993 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17994 wxString
*arg2
= 0 ;
17997 bool temp2
= false ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "self",(char *) "value", NULL
18004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18009 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18011 arg2
= wxString_in_helper(obj1
);
18012 if (arg2
== NULL
) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 (arg1
)->SetValue((wxString
const &)*arg2
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_Py_Void();
18036 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18039 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18040 return SWIG_Py_Void();
18043 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18044 return SWIG_Python_InitShadowInstance(args
);
18047 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18048 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18053 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18054 PyObject
*pyobj
= 0;
18058 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18060 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18067 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
= 0;
18069 wxWindow
*arg1
= (wxWindow
*) 0 ;
18070 wxString
*arg2
= 0 ;
18071 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18072 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18073 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18074 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18075 long arg5
= (long) wxTextEntryDialogStyle
;
18076 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18077 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18078 wxPasswordEntryDialog
*result
= 0 ;
18081 bool temp2
= false ;
18082 bool temp3
= false ;
18083 bool temp4
= false ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 PyObject
* obj2
= 0 ;
18090 PyObject
* obj3
= 0 ;
18091 PyObject
* obj4
= 0 ;
18092 PyObject
* obj5
= 0 ;
18093 char * kwnames
[] = {
18094 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18104 arg2
= wxString_in_helper(obj1
);
18105 if (arg2
== NULL
) SWIG_fail
;
18110 arg3
= wxString_in_helper(obj2
);
18111 if (arg3
== NULL
) SWIG_fail
;
18117 arg4
= wxString_in_helper(obj3
);
18118 if (arg4
== NULL
) SWIG_fail
;
18123 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18124 if (!SWIG_IsOK(ecode5
)) {
18125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18127 arg5
= static_cast< long >(val5
);
18132 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18172 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18176 return SWIG_Py_Void();
18179 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18180 return SWIG_Python_InitShadowInstance(args
);
18183 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
= 0;
18185 wxWindow
*arg1
= (wxWindow
*) 0 ;
18186 wxString
*arg2
= 0 ;
18187 wxString
*arg3
= 0 ;
18188 wxString
*arg4
= 0 ;
18192 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18193 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18194 wxNumberEntryDialog
*result
= 0 ;
18197 bool temp2
= false ;
18198 bool temp3
= false ;
18199 bool temp4
= false ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 PyObject
* obj5
= 0 ;
18213 PyObject
* obj6
= 0 ;
18214 PyObject
* obj7
= 0 ;
18215 char * kwnames
[] = {
18216 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18221 if (!SWIG_IsOK(res1
)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18226 arg2
= wxString_in_helper(obj1
);
18227 if (arg2
== NULL
) SWIG_fail
;
18231 arg3
= wxString_in_helper(obj2
);
18232 if (arg3
== NULL
) SWIG_fail
;
18236 arg4
= wxString_in_helper(obj3
);
18237 if (arg4
== NULL
) SWIG_fail
;
18240 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18241 if (!SWIG_IsOK(ecode5
)) {
18242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18244 arg5
= static_cast< long >(val5
);
18245 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18246 if (!SWIG_IsOK(ecode6
)) {
18247 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18249 arg6
= static_cast< long >(val6
);
18250 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18251 if (!SWIG_IsOK(ecode7
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18254 arg7
= static_cast< long >(val7
);
18258 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18262 if (!wxPyCheckForApp()) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18299 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18300 PyObject
*resultobj
= 0;
18301 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18305 PyObject
*swig_obj
[1] ;
18307 if (!args
) SWIG_fail
;
18308 swig_obj
[0] = args
;
18309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18310 if (!SWIG_IsOK(res1
)) {
18311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18313 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= (long)(arg1
)->GetValue();
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= SWIG_From_long(static_cast< long >(result
));
18327 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18330 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18331 return SWIG_Py_Void();
18334 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18335 return SWIG_Python_InitShadowInstance(args
);
18338 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18339 PyObject
*resultobj
= 0;
18340 wxFontData
*result
= 0 ;
18342 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (wxFontData
*)new wxFontData();
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18356 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18357 PyObject
*resultobj
= 0;
18358 wxFontData
*arg1
= (wxFontData
*) 0 ;
18361 PyObject
*swig_obj
[1] ;
18363 if (!args
) SWIG_fail
;
18364 swig_obj
[0] = args
;
18365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18369 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_Py_Void();
18384 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
= 0;
18386 wxFontData
*arg1
= (wxFontData
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char * kwnames
[] = {
18395 (char *) "self",(char *) "enable", NULL
18398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18403 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18404 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18405 if (!SWIG_IsOK(ecode2
)) {
18406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18408 arg2
= static_cast< bool >(val2
);
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 (arg1
)->EnableEffects(arg2
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_Py_Void();
18422 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18423 PyObject
*resultobj
= 0;
18424 wxFontData
*arg1
= (wxFontData
*) 0 ;
18428 PyObject
*swig_obj
[1] ;
18430 if (!args
) SWIG_fail
;
18431 swig_obj
[0] = args
;
18432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18436 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (bool)(arg1
)->GetAllowSymbols();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18452 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18453 PyObject
*resultobj
= 0;
18454 wxFontData
*arg1
= (wxFontData
*) 0 ;
18458 PyObject
*swig_obj
[1] ;
18460 if (!args
) SWIG_fail
;
18461 swig_obj
[0] = args
;
18462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18466 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (arg1
)->GetColour();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18480 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18481 PyObject
*resultobj
= 0;
18482 wxFontData
*arg1
= (wxFontData
*) 0 ;
18486 PyObject
*swig_obj
[1] ;
18488 if (!args
) SWIG_fail
;
18489 swig_obj
[0] = args
;
18490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18491 if (!SWIG_IsOK(res1
)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18494 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (arg1
)->GetChosenFont();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18508 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18509 PyObject
*resultobj
= 0;
18510 wxFontData
*arg1
= (wxFontData
*) 0 ;
18514 PyObject
*swig_obj
[1] ;
18516 if (!args
) SWIG_fail
;
18517 swig_obj
[0] = args
;
18518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18519 if (!SWIG_IsOK(res1
)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18522 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (bool)(arg1
)->GetEnableEffects();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18538 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18539 PyObject
*resultobj
= 0;
18540 wxFontData
*arg1
= (wxFontData
*) 0 ;
18544 PyObject
*swig_obj
[1] ;
18546 if (!args
) SWIG_fail
;
18547 swig_obj
[0] = args
;
18548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18549 if (!SWIG_IsOK(res1
)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18552 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (arg1
)->GetInitialFont();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18566 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18567 PyObject
*resultobj
= 0;
18568 wxFontData
*arg1
= (wxFontData
*) 0 ;
18572 PyObject
*swig_obj
[1] ;
18574 if (!args
) SWIG_fail
;
18575 swig_obj
[0] = args
;
18576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18577 if (!SWIG_IsOK(res1
)) {
18578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18580 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (bool)(arg1
)->GetShowHelp();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18596 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
= 0;
18598 wxFontData
*arg1
= (wxFontData
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 PyObject
* obj1
= 0 ;
18606 char * kwnames
[] = {
18607 (char *) "self",(char *) "allowSymbols", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18615 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18617 if (!SWIG_IsOK(ecode2
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18620 arg2
= static_cast< bool >(val2
);
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->SetAllowSymbols(arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_Py_Void();
18634 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
= 0;
18636 wxFontData
*arg1
= (wxFontData
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char * kwnames
[] = {
18645 (char *) "self",(char *) "font", NULL
18648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18650 if (!SWIG_IsOK(res1
)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18653 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18655 if (!SWIG_IsOK(res2
)) {
18656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18661 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_Py_Void();
18675 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
= 0;
18677 wxFontData
*arg1
= (wxFontData
*) 0 ;
18678 wxColour
*arg2
= 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 char * kwnames
[] = {
18685 (char *) "self",(char *) "colour", NULL
18688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18690 if (!SWIG_IsOK(res1
)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18693 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 (arg1
)->SetColour((wxColour
const &)*arg2
);
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_Py_Void();
18711 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
= 0;
18713 wxFontData
*arg1
= (wxFontData
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 char * kwnames
[] = {
18722 (char *) "self",(char *) "font", NULL
18725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18727 if (!SWIG_IsOK(res1
)) {
18728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18730 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18732 if (!SWIG_IsOK(res2
)) {
18733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18738 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_Py_Void();
18752 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
= 0;
18754 wxFontData
*arg1
= (wxFontData
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 PyObject
* obj2
= 0 ;
18766 char * kwnames
[] = {
18767 (char *) "self",(char *) "min",(char *) "max", NULL
18770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18772 if (!SWIG_IsOK(res1
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18775 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18777 if (!SWIG_IsOK(ecode2
)) {
18778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18780 arg2
= static_cast< int >(val2
);
18781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18782 if (!SWIG_IsOK(ecode3
)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18785 arg3
= static_cast< int >(val3
);
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 (arg1
)->SetRange(arg2
,arg3
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_Py_Void();
18799 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
= 0;
18801 wxFontData
*arg1
= (wxFontData
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 char * kwnames
[] = {
18810 (char *) "self",(char *) "showHelp", NULL
18813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18815 if (!SWIG_IsOK(res1
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18818 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18819 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18820 if (!SWIG_IsOK(ecode2
)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18823 arg2
= static_cast< bool >(val2
);
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->SetShowHelp(arg2
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_Py_Void();
18837 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18840 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18841 return SWIG_Py_Void();
18844 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18845 return SWIG_Python_InitShadowInstance(args
);
18848 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
= 0;
18850 wxWindow
*arg1
= (wxWindow
*) 0 ;
18851 wxFontData
*arg2
= 0 ;
18852 wxFontDialog
*result
= 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char * kwnames
[] = {
18860 (char *) "parent",(char *) "data", NULL
18863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18865 if (!SWIG_IsOK(res1
)) {
18866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18870 if (!SWIG_IsOK(res2
)) {
18871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18876 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18878 if (!wxPyCheckForApp()) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18891 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18892 PyObject
*resultobj
= 0;
18893 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18894 wxFontData
*result
= 0 ;
18897 PyObject
*swig_obj
[1] ;
18899 if (!args
) SWIG_fail
;
18900 swig_obj
[0] = args
;
18901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18902 if (!SWIG_IsOK(res1
)) {
18903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18905 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18910 result
= (wxFontData
*) &_result_ref
;
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18922 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18925 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18926 return SWIG_Py_Void();
18929 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18930 return SWIG_Python_InitShadowInstance(args
);
18933 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
= 0;
18935 wxWindow
*arg1
= (wxWindow
*) NULL
;
18936 wxFont
const &arg2_defvalue
= wxNullFont
;
18937 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18945 bool temp3
= false ;
18946 PyObject
* obj0
= 0 ;
18947 PyObject
* obj1
= 0 ;
18948 PyObject
* obj2
= 0 ;
18949 char * kwnames
[] = {
18950 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18959 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18963 if (!SWIG_IsOK(res2
)) {
18964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18969 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18973 arg3
= wxString_in_helper(obj2
);
18974 if (arg3
== NULL
) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18999 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
= 0;
19001 wxWindow
*arg1
= (wxWindow
*) 0 ;
19002 wxString
*arg2
= 0 ;
19003 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19004 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19005 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19006 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19007 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19008 wxMessageDialog
*result
= 0 ;
19011 bool temp2
= false ;
19012 bool temp3
= false ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 PyObject
* obj2
= 0 ;
19019 PyObject
* obj3
= 0 ;
19020 PyObject
* obj4
= 0 ;
19021 char * kwnames
[] = {
19022 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19027 if (!SWIG_IsOK(res1
)) {
19028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19032 arg2
= wxString_in_helper(obj1
);
19033 if (arg2
== NULL
) SWIG_fail
;
19038 arg3
= wxString_in_helper(obj2
);
19039 if (arg3
== NULL
) SWIG_fail
;
19044 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19045 if (!SWIG_IsOK(ecode4
)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19048 arg4
= static_cast< long >(val4
);
19053 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19057 if (!wxPyCheckForApp()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19086 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19089 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19090 return SWIG_Py_Void();
19093 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19094 return SWIG_Python_InitShadowInstance(args
);
19097 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= 0;
19099 wxString
*arg1
= 0 ;
19100 wxString
*arg2
= 0 ;
19101 int arg3
= (int) 100 ;
19102 wxWindow
*arg4
= (wxWindow
*) NULL
;
19103 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19104 wxProgressDialog
*result
= 0 ;
19105 bool temp1
= false ;
19106 bool temp2
= false ;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 PyObject
* obj2
= 0 ;
19116 PyObject
* obj3
= 0 ;
19117 PyObject
* obj4
= 0 ;
19118 char * kwnames
[] = {
19119 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19124 arg1
= wxString_in_helper(obj0
);
19125 if (arg1
== NULL
) SWIG_fail
;
19129 arg2
= wxString_in_helper(obj1
);
19130 if (arg2
== NULL
) SWIG_fail
;
19134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19135 if (!SWIG_IsOK(ecode3
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19138 arg3
= static_cast< int >(val3
);
19141 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19142 if (!SWIG_IsOK(res4
)) {
19143 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19145 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19148 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19149 if (!SWIG_IsOK(ecode5
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19152 arg5
= static_cast< int >(val5
);
19155 if (!wxPyCheckForApp()) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19184 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19190 bool *arg4
= (bool *) 0 ;
19196 bool temp3
= false ;
19198 int res4
= SWIG_TMPOBJ
;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 PyObject
* obj2
= 0 ;
19202 char * kwnames
[] = {
19203 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19209 if (!SWIG_IsOK(res1
)) {
19210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19212 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19214 if (!SWIG_IsOK(ecode2
)) {
19215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19217 arg2
= static_cast< int >(val2
);
19220 arg3
= wxString_in_helper(obj2
);
19221 if (arg3
== NULL
) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19234 if (SWIG_IsTmpObj(res4
)) {
19235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19237 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19254 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19255 PyObject
*resultobj
= 0;
19256 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19259 PyObject
*swig_obj
[1] ;
19261 if (!args
) SWIG_fail
;
19262 swig_obj
[0] = args
;
19263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19264 if (!SWIG_IsOK(res1
)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19267 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= SWIG_Py_Void();
19281 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19284 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19285 return SWIG_Py_Void();
19288 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19289 return SWIG_Python_InitShadowInstance(args
);
19292 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
= 0;
19294 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19295 int arg2
= (int) 0 ;
19296 wxFindDialogEvent
*result
= 0 ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char * kwnames
[] = {
19304 (char *) "commandType",(char *) "id", NULL
19307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19309 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19310 if (!SWIG_IsOK(ecode1
)) {
19311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19313 arg1
= static_cast< wxEventType
>(val1
);
19316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19317 if (!SWIG_IsOK(ecode2
)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19320 arg2
= static_cast< int >(val2
);
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19335 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19336 PyObject
*resultobj
= 0;
19337 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19341 PyObject
*swig_obj
[1] ;
19343 if (!args
) SWIG_fail
;
19344 swig_obj
[0] = args
;
19345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19349 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (int)(arg1
)->GetFlags();
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_From_int(static_cast< int >(result
));
19363 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19364 PyObject
*resultobj
= 0;
19365 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19366 wxString
*result
= 0 ;
19369 PyObject
*swig_obj
[1] ;
19371 if (!args
) SWIG_fail
;
19372 swig_obj
[0] = args
;
19373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19374 if (!SWIG_IsOK(res1
)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19377 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 wxString
const &_result_ref
= (arg1
)->GetFindString();
19382 result
= (wxString
*) &_result_ref
;
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19391 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19400 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19401 PyObject
*resultobj
= 0;
19402 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19403 wxString
*result
= 0 ;
19406 PyObject
*swig_obj
[1] ;
19408 if (!args
) SWIG_fail
;
19409 swig_obj
[0] = args
;
19410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19414 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19419 result
= (wxString
*) &_result_ref
;
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19428 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19437 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19438 PyObject
*resultobj
= 0;
19439 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19440 wxFindReplaceDialog
*result
= 0 ;
19443 PyObject
*swig_obj
[1] ;
19445 if (!args
) SWIG_fail
;
19446 swig_obj
[0] = args
;
19447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19448 if (!SWIG_IsOK(res1
)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19451 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19465 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
= 0;
19467 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 char * kwnames
[] = {
19476 (char *) "self",(char *) "flags", NULL
19479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19481 if (!SWIG_IsOK(res1
)) {
19482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19484 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19486 if (!SWIG_IsOK(ecode2
)) {
19487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19489 arg2
= static_cast< int >(val2
);
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 (arg1
)->SetFlags(arg2
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= SWIG_Py_Void();
19503 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
= 0;
19505 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19506 wxString
*arg2
= 0 ;
19509 bool temp2
= false ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 char * kwnames
[] = {
19513 (char *) "self",(char *) "str", NULL
19516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19518 if (!SWIG_IsOK(res1
)) {
19519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19521 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19523 arg2
= wxString_in_helper(obj1
);
19524 if (arg2
== NULL
) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 (arg1
)->SetFindString((wxString
const &)*arg2
);
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= SWIG_Py_Void();
19548 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
= 0;
19550 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19551 wxString
*arg2
= 0 ;
19554 bool temp2
= false ;
19555 PyObject
* obj0
= 0 ;
19556 PyObject
* obj1
= 0 ;
19557 char * kwnames
[] = {
19558 (char *) "self",(char *) "str", NULL
19561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19563 if (!SWIG_IsOK(res1
)) {
19564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19566 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19568 arg2
= wxString_in_helper(obj1
);
19569 if (arg2
== NULL
) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_Py_Void();
19593 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19596 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19597 return SWIG_Py_Void();
19600 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19601 return SWIG_Python_InitShadowInstance(args
);
19604 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
= 0;
19606 int arg1
= (int) 0 ;
19607 wxFindReplaceData
*result
= 0 ;
19610 PyObject
* obj0
= 0 ;
19611 char * kwnames
[] = {
19612 (char *) "flags", NULL
19615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19617 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19618 if (!SWIG_IsOK(ecode1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19621 arg1
= static_cast< int >(val1
);
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19636 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19637 PyObject
*resultobj
= 0;
19638 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19641 PyObject
*swig_obj
[1] ;
19643 if (!args
) SWIG_fail
;
19644 swig_obj
[0] = args
;
19645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19646 if (!SWIG_IsOK(res1
)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19649 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_Py_Void();
19664 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19665 PyObject
*resultobj
= 0;
19666 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19667 wxString
*result
= 0 ;
19670 PyObject
*swig_obj
[1] ;
19672 if (!args
) SWIG_fail
;
19673 swig_obj
[0] = args
;
19674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19678 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 wxString
const &_result_ref
= (arg1
)->GetFindString();
19683 result
= (wxString
*) &_result_ref
;
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19692 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19701 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19702 PyObject
*resultobj
= 0;
19703 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19704 wxString
*result
= 0 ;
19707 PyObject
*swig_obj
[1] ;
19709 if (!args
) SWIG_fail
;
19710 swig_obj
[0] = args
;
19711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19715 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19720 result
= (wxString
*) &_result_ref
;
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19738 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19739 PyObject
*resultobj
= 0;
19740 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19744 PyObject
*swig_obj
[1] ;
19746 if (!args
) SWIG_fail
;
19747 swig_obj
[0] = args
;
19748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19752 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (int)(arg1
)->GetFlags();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= SWIG_From_int(static_cast< int >(result
));
19766 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
= 0;
19768 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char * kwnames
[] = {
19777 (char *) "self",(char *) "flags", NULL
19780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19785 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19787 if (!SWIG_IsOK(ecode2
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19790 arg2
= static_cast< int >(val2
);
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->SetFlags(arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_Py_Void();
19804 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
= 0;
19806 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19807 wxString
*arg2
= 0 ;
19810 bool temp2
= false ;
19811 PyObject
* obj0
= 0 ;
19812 PyObject
* obj1
= 0 ;
19813 char * kwnames
[] = {
19814 (char *) "self",(char *) "str", NULL
19817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19819 if (!SWIG_IsOK(res1
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19822 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19824 arg2
= wxString_in_helper(obj1
);
19825 if (arg2
== NULL
) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 (arg1
)->SetFindString((wxString
const &)*arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= SWIG_Py_Void();
19849 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= 0;
19851 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19852 wxString
*arg2
= 0 ;
19855 bool temp2
= false ;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 char * kwnames
[] = {
19859 (char *) "self",(char *) "str", NULL
19862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19864 if (!SWIG_IsOK(res1
)) {
19865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19867 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19869 arg2
= wxString_in_helper(obj1
);
19870 if (arg2
== NULL
) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= SWIG_Py_Void();
19894 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19897 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19898 return SWIG_Py_Void();
19901 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19902 return SWIG_Python_InitShadowInstance(args
);
19905 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
= 0;
19907 wxWindow
*arg1
= (wxWindow
*) 0 ;
19908 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19909 wxString
*arg3
= 0 ;
19910 int arg4
= (int) 0 ;
19911 wxFindReplaceDialog
*result
= 0 ;
19916 bool temp3
= false ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 PyObject
* obj2
= 0 ;
19922 PyObject
* obj3
= 0 ;
19923 char * kwnames
[] = {
19924 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19929 if (!SWIG_IsOK(res1
)) {
19930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19934 if (!SWIG_IsOK(res2
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19937 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19939 arg3
= wxString_in_helper(obj2
);
19940 if (arg3
== NULL
) SWIG_fail
;
19944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19945 if (!SWIG_IsOK(ecode4
)) {
19946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19948 arg4
= static_cast< int >(val4
);
19951 if (!wxPyCheckForApp()) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19972 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19973 PyObject
*resultobj
= 0;
19974 wxFindReplaceDialog
*result
= 0 ;
19976 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19978 if (!wxPyCheckForApp()) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19991 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
= 0;
19993 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19994 wxWindow
*arg2
= (wxWindow
*) 0 ;
19995 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19996 wxString
*arg4
= 0 ;
19997 int arg5
= (int) 0 ;
20005 bool temp4
= false ;
20008 PyObject
* obj0
= 0 ;
20009 PyObject
* obj1
= 0 ;
20010 PyObject
* obj2
= 0 ;
20011 PyObject
* obj3
= 0 ;
20012 PyObject
* obj4
= 0 ;
20013 char * kwnames
[] = {
20014 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20019 if (!SWIG_IsOK(res1
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20022 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20024 if (!SWIG_IsOK(res2
)) {
20025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20027 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20028 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20029 if (!SWIG_IsOK(res3
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20032 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20034 arg4
= wxString_in_helper(obj3
);
20035 if (arg4
== NULL
) SWIG_fail
;
20039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20040 if (!SWIG_IsOK(ecode5
)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20043 arg5
= static_cast< int >(val5
);
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20068 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20069 PyObject
*resultobj
= 0;
20070 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20071 wxFindReplaceData
*result
= 0 ;
20074 PyObject
*swig_obj
[1] ;
20076 if (!args
) SWIG_fail
;
20077 swig_obj
[0] = args
;
20078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20082 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20096 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
= 0;
20098 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20099 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "data", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20115 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20116 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20117 if (!SWIG_IsOK(res2
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20120 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->SetData(arg2
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_Py_Void();
20134 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20137 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20138 return SWIG_Py_Void();
20141 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20142 return SWIG_Python_InitShadowInstance(args
);
20145 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
= 0;
20147 wxWindow
*arg1
= (wxWindow
*) 0 ;
20148 int arg2
= (int) (int)-1 ;
20149 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20150 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20155 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20156 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20158 wxMDIParentFrame
*result
= 0 ;
20163 bool temp3
= false ;
20168 bool temp7
= false ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 PyObject
* obj2
= 0 ;
20172 PyObject
* obj3
= 0 ;
20173 PyObject
* obj4
= 0 ;
20174 PyObject
* obj5
= 0 ;
20175 PyObject
* obj6
= 0 ;
20176 char * kwnames
[] = {
20177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20182 if (!SWIG_IsOK(res1
)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20188 if (!SWIG_IsOK(ecode2
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20191 arg2
= static_cast< int >(val2
);
20195 arg3
= wxString_in_helper(obj2
);
20196 if (arg3
== NULL
) SWIG_fail
;
20203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20213 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20214 if (!SWIG_IsOK(ecode6
)) {
20215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20217 arg6
= static_cast< long >(val6
);
20221 arg7
= wxString_in_helper(obj6
);
20222 if (arg7
== NULL
) SWIG_fail
;
20227 if (!wxPyCheckForApp()) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20256 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20257 PyObject
*resultobj
= 0;
20258 wxMDIParentFrame
*result
= 0 ;
20260 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20262 if (!wxPyCheckForApp()) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20275 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
= 0;
20277 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20278 wxWindow
*arg2
= (wxWindow
*) 0 ;
20279 int arg3
= (int) (int)-1 ;
20280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20282 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20283 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20284 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20285 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20286 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20287 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20296 bool temp4
= false ;
20301 bool temp8
= false ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 PyObject
* obj2
= 0 ;
20305 PyObject
* obj3
= 0 ;
20306 PyObject
* obj4
= 0 ;
20307 PyObject
* obj5
= 0 ;
20308 PyObject
* obj6
= 0 ;
20309 PyObject
* obj7
= 0 ;
20310 char * kwnames
[] = {
20311 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20316 if (!SWIG_IsOK(res1
)) {
20317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20319 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20321 if (!SWIG_IsOK(res2
)) {
20322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20327 if (!SWIG_IsOK(ecode3
)) {
20328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20330 arg3
= static_cast< int >(val3
);
20334 arg4
= wxString_in_helper(obj3
);
20335 if (arg4
== NULL
) SWIG_fail
;
20342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20352 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20353 if (!SWIG_IsOK(ecode7
)) {
20354 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20356 arg7
= static_cast< long >(val7
);
20360 arg8
= wxString_in_helper(obj7
);
20361 if (arg8
== NULL
) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20396 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20397 PyObject
*resultobj
= 0;
20398 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20401 PyObject
*swig_obj
[1] ;
20403 if (!args
) SWIG_fail
;
20404 swig_obj
[0] = args
;
20405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20409 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 (arg1
)->ActivateNext();
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_Py_Void();
20423 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20424 PyObject
*resultobj
= 0;
20425 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20428 PyObject
*swig_obj
[1] ;
20430 if (!args
) SWIG_fail
;
20431 swig_obj
[0] = args
;
20432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20433 if (!SWIG_IsOK(res1
)) {
20434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20436 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 (arg1
)->ActivatePrevious();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_Py_Void();
20450 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20451 PyObject
*resultobj
= 0;
20452 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20455 PyObject
*swig_obj
[1] ;
20457 if (!args
) SWIG_fail
;
20458 swig_obj
[0] = args
;
20459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20463 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 (arg1
)->ArrangeIcons();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= SWIG_Py_Void();
20477 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20478 PyObject
*resultobj
= 0;
20479 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20482 PyObject
*swig_obj
[1] ;
20484 if (!args
) SWIG_fail
;
20485 swig_obj
[0] = args
;
20486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20490 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_Py_Void();
20504 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20505 PyObject
*resultobj
= 0;
20506 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20507 wxMDIChildFrame
*result
= 0 ;
20510 PyObject
*swig_obj
[1] ;
20512 if (!args
) SWIG_fail
;
20513 swig_obj
[0] = args
;
20514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20515 if (!SWIG_IsOK(res1
)) {
20516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20518 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20534 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20535 PyObject
*resultobj
= 0;
20536 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20537 wxMDIClientWindow
*result
= 0 ;
20540 PyObject
*swig_obj
[1] ;
20542 if (!args
) SWIG_fail
;
20543 swig_obj
[0] = args
;
20544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20545 if (!SWIG_IsOK(res1
)) {
20546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20548 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20564 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20565 PyObject
*resultobj
= 0;
20566 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20567 wxWindow
*result
= 0 ;
20570 PyObject
*swig_obj
[1] ;
20572 if (!args
) SWIG_fail
;
20573 swig_obj
[0] = args
;
20574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20578 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (wxWindow
*)(arg1
)->GetToolBar();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= wxPyMake_wxObject(result
, 0);
20594 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= 0;
20596 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20597 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 char * kwnames
[] = {
20605 (char *) "self",(char *) "orient", NULL
20608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20610 if (!SWIG_IsOK(res1
)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20613 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20616 if (!SWIG_IsOK(ecode2
)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20619 arg2
= static_cast< wxOrientation
>(val2
);
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 (arg1
)->Tile(arg2
);
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20627 resultobj
= SWIG_Py_Void();
20634 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20637 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20638 return SWIG_Py_Void();
20641 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20642 return SWIG_Python_InitShadowInstance(args
);
20645 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
= 0;
20647 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20648 int arg2
= (int) (int)-1 ;
20649 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20650 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20651 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20652 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20653 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20654 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20655 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20656 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20658 wxMDIChildFrame
*result
= 0 ;
20663 bool temp3
= false ;
20668 bool temp7
= false ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 PyObject
* obj2
= 0 ;
20672 PyObject
* obj3
= 0 ;
20673 PyObject
* obj4
= 0 ;
20674 PyObject
* obj5
= 0 ;
20675 PyObject
* obj6
= 0 ;
20676 char * kwnames
[] = {
20677 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20682 if (!SWIG_IsOK(res1
)) {
20683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20685 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20688 if (!SWIG_IsOK(ecode2
)) {
20689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20691 arg2
= static_cast< int >(val2
);
20695 arg3
= wxString_in_helper(obj2
);
20696 if (arg3
== NULL
) SWIG_fail
;
20703 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20709 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20713 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20714 if (!SWIG_IsOK(ecode6
)) {
20715 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20717 arg6
= static_cast< long >(val6
);
20721 arg7
= wxString_in_helper(obj6
);
20722 if (arg7
== NULL
) SWIG_fail
;
20727 if (!wxPyCheckForApp()) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20756 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20757 PyObject
*resultobj
= 0;
20758 wxMDIChildFrame
*result
= 0 ;
20760 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20762 if (!wxPyCheckForApp()) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20775 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
= 0;
20777 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20778 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20779 int arg3
= (int) (int)-1 ;
20780 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20781 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20782 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20783 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20784 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20785 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20786 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20787 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20788 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20796 bool temp4
= false ;
20801 bool temp8
= false ;
20802 PyObject
* obj0
= 0 ;
20803 PyObject
* obj1
= 0 ;
20804 PyObject
* obj2
= 0 ;
20805 PyObject
* obj3
= 0 ;
20806 PyObject
* obj4
= 0 ;
20807 PyObject
* obj5
= 0 ;
20808 PyObject
* obj6
= 0 ;
20809 PyObject
* obj7
= 0 ;
20810 char * kwnames
[] = {
20811 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20816 if (!SWIG_IsOK(res1
)) {
20817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20819 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20821 if (!SWIG_IsOK(res2
)) {
20822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20824 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20827 if (!SWIG_IsOK(ecode3
)) {
20828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20830 arg3
= static_cast< int >(val3
);
20834 arg4
= wxString_in_helper(obj3
);
20835 if (arg4
== NULL
) SWIG_fail
;
20842 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20848 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20852 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20853 if (!SWIG_IsOK(ecode7
)) {
20854 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20856 arg7
= static_cast< long >(val7
);
20860 arg8
= wxString_in_helper(obj7
);
20861 if (arg8
== NULL
) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20896 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20897 PyObject
*resultobj
= 0;
20898 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20901 PyObject
*swig_obj
[1] ;
20903 if (!args
) SWIG_fail
;
20904 swig_obj
[0] = args
;
20905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20906 if (!SWIG_IsOK(res1
)) {
20907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20909 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 (arg1
)->Activate();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_Py_Void();
20923 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20926 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20927 return SWIG_Py_Void();
20930 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20931 return SWIG_Python_InitShadowInstance(args
);
20934 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
= 0;
20936 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20937 long arg2
= (long) 0 ;
20938 wxMDIClientWindow
*result
= 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char * kwnames
[] = {
20946 (char *) "parent",(char *) "style", NULL
20949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20951 if (!SWIG_IsOK(res1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20954 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20956 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20957 if (!SWIG_IsOK(ecode2
)) {
20958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20960 arg2
= static_cast< long >(val2
);
20963 if (!wxPyCheckForApp()) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20976 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20977 PyObject
*resultobj
= 0;
20978 wxMDIClientWindow
*result
= 0 ;
20980 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20982 if (!wxPyCheckForApp()) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20995 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
= 0;
20997 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20998 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20999 long arg3
= (long) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21009 PyObject
* obj2
= 0 ;
21010 char * kwnames
[] = {
21011 (char *) "self",(char *) "parent",(char *) "style", NULL
21014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21016 if (!SWIG_IsOK(res1
)) {
21017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21019 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21021 if (!SWIG_IsOK(res2
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21024 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21026 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21027 if (!SWIG_IsOK(ecode3
)) {
21028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21030 arg3
= static_cast< long >(val3
);
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21047 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21050 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21051 return SWIG_Py_Void();
21054 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21055 return SWIG_Python_InitShadowInstance(args
);
21058 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
= 0;
21060 wxWindow
*arg1
= (wxWindow
*) 0 ;
21061 int arg2
= (int) (int)-1 ;
21062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21066 long arg5
= (long) 0 ;
21067 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21068 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21069 wxPyWindow
*result
= 0 ;
21078 bool temp6
= false ;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 PyObject
* obj2
= 0 ;
21082 PyObject
* obj3
= 0 ;
21083 PyObject
* obj4
= 0 ;
21084 PyObject
* obj5
= 0 ;
21085 char * kwnames
[] = {
21086 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21091 if (!SWIG_IsOK(res1
)) {
21092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21097 if (!SWIG_IsOK(ecode2
)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21100 arg2
= static_cast< int >(val2
);
21105 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21111 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21115 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21116 if (!SWIG_IsOK(ecode5
)) {
21117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21119 arg5
= static_cast< long >(val5
);
21123 arg6
= wxString_in_helper(obj5
);
21124 if (arg6
== NULL
) SWIG_fail
;
21129 if (!wxPyCheckForApp()) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21150 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 PyObject
*resultobj
= 0;
21152 wxPyWindow
*result
= 0 ;
21154 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21156 if (!wxPyCheckForApp()) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (wxPyWindow
*)new wxPyWindow();
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21169 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
= 0;
21171 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21172 PyObject
*arg2
= (PyObject
*) 0 ;
21173 PyObject
*arg3
= (PyObject
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 PyObject
* obj1
= 0 ;
21178 PyObject
* obj2
= 0 ;
21179 char * kwnames
[] = {
21180 (char *) "self",(char *) "self",(char *) "_class", NULL
21183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21185 if (!SWIG_IsOK(res1
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21188 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_Py_Void();
21204 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
= 0;
21206 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char * kwnames
[] = {
21214 (char *) "self",(char *) "size", NULL
21217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21222 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_Py_Void();
21240 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
= 0;
21242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21243 wxDC
*arg2
= (wxDC
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char * kwnames
[] = {
21252 (char *) "self",(char *) "dc", NULL
21255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21257 if (!SWIG_IsOK(res1
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21260 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21262 if (!SWIG_IsOK(res2
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21265 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21281 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
= 0;
21283 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 PyObject
* obj2
= 0 ;
21301 PyObject
* obj3
= 0 ;
21302 PyObject
* obj4
= 0 ;
21303 char * kwnames
[] = {
21304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21309 if (!SWIG_IsOK(res1
)) {
21310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21312 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21314 if (!SWIG_IsOK(ecode2
)) {
21315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21317 arg2
= static_cast< int >(val2
);
21318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21319 if (!SWIG_IsOK(ecode3
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21322 arg3
= static_cast< int >(val3
);
21323 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21324 if (!SWIG_IsOK(ecode4
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21327 arg4
= static_cast< int >(val4
);
21328 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21329 if (!SWIG_IsOK(ecode5
)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21332 arg5
= static_cast< int >(val5
);
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_Py_Void();
21346 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
= 0;
21348 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21353 int arg6
= (int) wxSIZE_AUTO
;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 PyObject
* obj2
= 0 ;
21369 PyObject
* obj3
= 0 ;
21370 PyObject
* obj4
= 0 ;
21371 PyObject
* obj5
= 0 ;
21372 char * kwnames
[] = {
21373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21378 if (!SWIG_IsOK(res1
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21381 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21383 if (!SWIG_IsOK(ecode2
)) {
21384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21386 arg2
= static_cast< int >(val2
);
21387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21388 if (!SWIG_IsOK(ecode3
)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21391 arg3
= static_cast< int >(val3
);
21392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21393 if (!SWIG_IsOK(ecode4
)) {
21394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21396 arg4
= static_cast< int >(val4
);
21397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21398 if (!SWIG_IsOK(ecode5
)) {
21399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21401 arg5
= static_cast< int >(val5
);
21403 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21404 if (!SWIG_IsOK(ecode6
)) {
21405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21407 arg6
= static_cast< int >(val6
);
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_Py_Void();
21422 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
= 0;
21424 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 PyObject
* obj2
= 0 ;
21436 char * kwnames
[] = {
21437 (char *) "self",(char *) "width",(char *) "height", NULL
21440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21442 if (!SWIG_IsOK(res1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21445 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21447 if (!SWIG_IsOK(ecode2
)) {
21448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21450 arg2
= static_cast< int >(val2
);
21451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21452 if (!SWIG_IsOK(ecode3
)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21455 arg3
= static_cast< int >(val3
);
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 (arg1
)->DoSetClientSize(arg2
,arg3
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= SWIG_Py_Void();
21469 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
= 0;
21471 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 PyObject
* obj2
= 0 ;
21483 char * kwnames
[] = {
21484 (char *) "self",(char *) "x",(char *) "y", NULL
21487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21492 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21494 if (!SWIG_IsOK(ecode2
)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21497 arg2
= static_cast< int >(val2
);
21498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21499 if (!SWIG_IsOK(ecode3
)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21502 arg3
= static_cast< int >(val3
);
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_Py_Void();
21516 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21517 PyObject
*resultobj
= 0;
21518 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21519 int *arg2
= (int *) 0 ;
21520 int *arg3
= (int *) 0 ;
21524 int res2
= SWIG_TMPOBJ
;
21526 int res3
= SWIG_TMPOBJ
;
21527 PyObject
*swig_obj
[1] ;
21531 if (!args
) SWIG_fail
;
21532 swig_obj
[0] = args
;
21533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21537 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_Py_Void();
21545 if (SWIG_IsTmpObj(res2
)) {
21546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21548 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21551 if (SWIG_IsTmpObj(res3
)) {
21552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21554 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21563 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21564 PyObject
*resultobj
= 0;
21565 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21566 int *arg2
= (int *) 0 ;
21567 int *arg3
= (int *) 0 ;
21571 int res2
= SWIG_TMPOBJ
;
21573 int res3
= SWIG_TMPOBJ
;
21574 PyObject
*swig_obj
[1] ;
21578 if (!args
) SWIG_fail
;
21579 swig_obj
[0] = args
;
21580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21581 if (!SWIG_IsOK(res1
)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21584 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_Py_Void();
21592 if (SWIG_IsTmpObj(res2
)) {
21593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21595 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21598 if (SWIG_IsTmpObj(res3
)) {
21599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21601 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21610 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21611 PyObject
*resultobj
= 0;
21612 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21613 int *arg2
= (int *) 0 ;
21614 int *arg3
= (int *) 0 ;
21618 int res2
= SWIG_TMPOBJ
;
21620 int res3
= SWIG_TMPOBJ
;
21621 PyObject
*swig_obj
[1] ;
21625 if (!args
) SWIG_fail
;
21626 swig_obj
[0] = args
;
21627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21628 if (!SWIG_IsOK(res1
)) {
21629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21631 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 resultobj
= SWIG_Py_Void();
21639 if (SWIG_IsTmpObj(res2
)) {
21640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21642 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21645 if (SWIG_IsTmpObj(res3
)) {
21646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21648 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21657 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 PyObject
*resultobj
= 0;
21659 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21663 PyObject
*swig_obj
[1] ;
21665 if (!args
) SWIG_fail
;
21666 swig_obj
[0] = args
;
21667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21668 if (!SWIG_IsOK(res1
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21671 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21685 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21686 PyObject
*resultobj
= 0;
21687 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21691 PyObject
*swig_obj
[1] ;
21693 if (!args
) SWIG_fail
;
21694 swig_obj
[0] = args
;
21695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21696 if (!SWIG_IsOK(res1
)) {
21697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21699 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21713 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21714 PyObject
*resultobj
= 0;
21715 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21716 SwigValueWrapper
<wxVisualAttributes
> result
;
21719 PyObject
*swig_obj
[1] ;
21721 if (!args
) SWIG_fail
;
21722 swig_obj
[0] = args
;
21723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21724 if (!SWIG_IsOK(res1
)) {
21725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21727 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (arg1
)->GetDefaultAttributes();
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21741 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 PyObject
*resultobj
= 0;
21743 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21746 PyObject
*swig_obj
[1] ;
21748 if (!args
) SWIG_fail
;
21749 swig_obj
[0] = args
;
21750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21751 if (!SWIG_IsOK(res1
)) {
21752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21754 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 (arg1
)->OnInternalIdle();
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= SWIG_Py_Void();
21768 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21772 return SWIG_Py_Void();
21775 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21776 return SWIG_Python_InitShadowInstance(args
);
21779 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
= 0;
21781 wxWindow
*arg1
= (wxWindow
*) 0 ;
21782 int arg2
= (int) (int)-1 ;
21783 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21784 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21785 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21786 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21787 long arg5
= (long) 0 ;
21788 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21789 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21790 wxPyPanel
*result
= 0 ;
21799 bool temp6
= false ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 PyObject
* obj2
= 0 ;
21803 PyObject
* obj3
= 0 ;
21804 PyObject
* obj4
= 0 ;
21805 PyObject
* obj5
= 0 ;
21806 char * kwnames
[] = {
21807 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21815 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21818 if (!SWIG_IsOK(ecode2
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21821 arg2
= static_cast< int >(val2
);
21826 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21832 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21836 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21837 if (!SWIG_IsOK(ecode5
)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21840 arg5
= static_cast< long >(val5
);
21844 arg6
= wxString_in_helper(obj5
);
21845 if (arg6
== NULL
) SWIG_fail
;
21850 if (!wxPyCheckForApp()) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21871 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21872 PyObject
*resultobj
= 0;
21873 wxPyPanel
*result
= 0 ;
21875 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21877 if (!wxPyCheckForApp()) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (wxPyPanel
*)new wxPyPanel();
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21890 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
= 0;
21892 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21893 PyObject
*arg2
= (PyObject
*) 0 ;
21894 PyObject
*arg3
= (PyObject
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 PyObject
* obj2
= 0 ;
21900 char * kwnames
[] = {
21901 (char *) "self",(char *) "self",(char *) "_class", NULL
21904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21906 if (!SWIG_IsOK(res1
)) {
21907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21909 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_Py_Void();
21925 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
= 0;
21927 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 char * kwnames
[] = {
21935 (char *) "self",(char *) "size", NULL
21938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21940 if (!SWIG_IsOK(res1
)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21943 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_Py_Void();
21961 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
= 0;
21963 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21964 wxDC
*arg2
= (wxDC
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 char * kwnames
[] = {
21973 (char *) "self",(char *) "dc", NULL
21976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21978 if (!SWIG_IsOK(res1
)) {
21979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21981 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21983 if (!SWIG_IsOK(res2
)) {
21984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21986 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22002 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
= 0;
22004 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 PyObject
* obj2
= 0 ;
22022 PyObject
* obj3
= 0 ;
22023 PyObject
* obj4
= 0 ;
22024 char * kwnames
[] = {
22025 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22030 if (!SWIG_IsOK(res1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22033 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22035 if (!SWIG_IsOK(ecode2
)) {
22036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22038 arg2
= static_cast< int >(val2
);
22039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22040 if (!SWIG_IsOK(ecode3
)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22043 arg3
= static_cast< int >(val3
);
22044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22045 if (!SWIG_IsOK(ecode4
)) {
22046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22048 arg4
= static_cast< int >(val4
);
22049 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22050 if (!SWIG_IsOK(ecode5
)) {
22051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22053 arg5
= static_cast< int >(val5
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_Py_Void();
22067 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
= 0;
22069 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22074 int arg6
= (int) wxSIZE_AUTO
;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 PyObject
* obj2
= 0 ;
22090 PyObject
* obj3
= 0 ;
22091 PyObject
* obj4
= 0 ;
22092 PyObject
* obj5
= 0 ;
22093 char * kwnames
[] = {
22094 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22099 if (!SWIG_IsOK(res1
)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22102 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22104 if (!SWIG_IsOK(ecode2
)) {
22105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22107 arg2
= static_cast< int >(val2
);
22108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22109 if (!SWIG_IsOK(ecode3
)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22112 arg3
= static_cast< int >(val3
);
22113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22114 if (!SWIG_IsOK(ecode4
)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22117 arg4
= static_cast< int >(val4
);
22118 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22119 if (!SWIG_IsOK(ecode5
)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22122 arg5
= static_cast< int >(val5
);
22124 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22125 if (!SWIG_IsOK(ecode6
)) {
22126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22128 arg6
= static_cast< int >(val6
);
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_Py_Void();
22143 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
= 0;
22145 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char * kwnames
[] = {
22158 (char *) "self",(char *) "width",(char *) "height", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22166 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22168 if (!SWIG_IsOK(ecode2
)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22171 arg2
= static_cast< int >(val2
);
22172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22173 if (!SWIG_IsOK(ecode3
)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22176 arg3
= static_cast< int >(val3
);
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->DoSetClientSize(arg2
,arg3
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_Py_Void();
22190 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
= 0;
22192 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 PyObject
* obj2
= 0 ;
22204 char * kwnames
[] = {
22205 (char *) "self",(char *) "x",(char *) "y", NULL
22208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22213 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22215 if (!SWIG_IsOK(ecode2
)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22218 arg2
= static_cast< int >(val2
);
22219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22220 if (!SWIG_IsOK(ecode3
)) {
22221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22223 arg3
= static_cast< int >(val3
);
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= SWIG_Py_Void();
22237 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22238 PyObject
*resultobj
= 0;
22239 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22240 int *arg2
= (int *) 0 ;
22241 int *arg3
= (int *) 0 ;
22245 int res2
= SWIG_TMPOBJ
;
22247 int res3
= SWIG_TMPOBJ
;
22248 PyObject
*swig_obj
[1] ;
22252 if (!args
) SWIG_fail
;
22253 swig_obj
[0] = args
;
22254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22255 if (!SWIG_IsOK(res1
)) {
22256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22258 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= SWIG_Py_Void();
22266 if (SWIG_IsTmpObj(res2
)) {
22267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22269 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22272 if (SWIG_IsTmpObj(res3
)) {
22273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22275 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22284 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22285 PyObject
*resultobj
= 0;
22286 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22287 int *arg2
= (int *) 0 ;
22288 int *arg3
= (int *) 0 ;
22292 int res2
= SWIG_TMPOBJ
;
22294 int res3
= SWIG_TMPOBJ
;
22295 PyObject
*swig_obj
[1] ;
22299 if (!args
) SWIG_fail
;
22300 swig_obj
[0] = args
;
22301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22302 if (!SWIG_IsOK(res1
)) {
22303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22305 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_Py_Void();
22313 if (SWIG_IsTmpObj(res2
)) {
22314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22316 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22319 if (SWIG_IsTmpObj(res3
)) {
22320 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22322 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22331 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22332 PyObject
*resultobj
= 0;
22333 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22334 int *arg2
= (int *) 0 ;
22335 int *arg3
= (int *) 0 ;
22339 int res2
= SWIG_TMPOBJ
;
22341 int res3
= SWIG_TMPOBJ
;
22342 PyObject
*swig_obj
[1] ;
22346 if (!args
) SWIG_fail
;
22347 swig_obj
[0] = args
;
22348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22349 if (!SWIG_IsOK(res1
)) {
22350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22352 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_Py_Void();
22360 if (SWIG_IsTmpObj(res2
)) {
22361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22363 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22366 if (SWIG_IsTmpObj(res3
)) {
22367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22369 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22378 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22392 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22406 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22420 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22434 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22437 SwigValueWrapper
<wxVisualAttributes
> result
;
22440 PyObject
*swig_obj
[1] ;
22442 if (!args
) SWIG_fail
;
22443 swig_obj
[0] = args
;
22444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22448 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (arg1
)->GetDefaultAttributes();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22462 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22467 PyObject
*swig_obj
[1] ;
22469 if (!args
) SWIG_fail
;
22470 swig_obj
[0] = args
;
22471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22472 if (!SWIG_IsOK(res1
)) {
22473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22475 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 (arg1
)->OnInternalIdle();
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_Py_Void();
22489 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22493 return SWIG_Py_Void();
22496 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22497 return SWIG_Python_InitShadowInstance(args
);
22500 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
= 0;
22502 wxWindow
*arg1
= (wxWindow
*) 0 ;
22503 int arg2
= (int) (int)-1 ;
22504 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22505 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22506 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22507 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22508 long arg5
= (long) 0 ;
22509 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22510 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22511 wxPyScrolledWindow
*result
= 0 ;
22520 bool temp6
= false ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 PyObject
* obj3
= 0 ;
22525 PyObject
* obj4
= 0 ;
22526 PyObject
* obj5
= 0 ;
22527 char * kwnames
[] = {
22528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22539 if (!SWIG_IsOK(ecode2
)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22542 arg2
= static_cast< int >(val2
);
22547 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22553 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22557 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22558 if (!SWIG_IsOK(ecode5
)) {
22559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22561 arg5
= static_cast< long >(val5
);
22565 arg6
= wxString_in_helper(obj5
);
22566 if (arg6
== NULL
) SWIG_fail
;
22571 if (!wxPyCheckForApp()) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22592 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22593 PyObject
*resultobj
= 0;
22594 wxPyScrolledWindow
*result
= 0 ;
22596 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22598 if (!wxPyCheckForApp()) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22611 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
= 0;
22613 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22614 PyObject
*arg2
= (PyObject
*) 0 ;
22615 PyObject
*arg3
= (PyObject
*) 0 ;
22618 PyObject
* obj0
= 0 ;
22619 PyObject
* obj1
= 0 ;
22620 PyObject
* obj2
= 0 ;
22621 char * kwnames
[] = {
22622 (char *) "self",(char *) "self",(char *) "_class", NULL
22625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22627 if (!SWIG_IsOK(res1
)) {
22628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22630 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= SWIG_Py_Void();
22646 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
= 0;
22648 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 char * kwnames
[] = {
22656 (char *) "self",(char *) "size", NULL
22659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22664 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22667 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_Py_Void();
22682 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
= 0;
22684 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22685 wxDC
*arg2
= (wxDC
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 char * kwnames
[] = {
22694 (char *) "self",(char *) "dc", NULL
22697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22702 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22704 if (!SWIG_IsOK(res2
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22707 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22723 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
= 0;
22725 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 PyObject
* obj2
= 0 ;
22743 PyObject
* obj3
= 0 ;
22744 PyObject
* obj4
= 0 ;
22745 char * kwnames
[] = {
22746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22751 if (!SWIG_IsOK(res1
)) {
22752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22754 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22756 if (!SWIG_IsOK(ecode2
)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22759 arg2
= static_cast< int >(val2
);
22760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22761 if (!SWIG_IsOK(ecode3
)) {
22762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22764 arg3
= static_cast< int >(val3
);
22765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22766 if (!SWIG_IsOK(ecode4
)) {
22767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22769 arg4
= static_cast< int >(val4
);
22770 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22771 if (!SWIG_IsOK(ecode5
)) {
22772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22774 arg5
= static_cast< int >(val5
);
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= SWIG_Py_Void();
22788 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
= 0;
22790 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22795 int arg6
= (int) wxSIZE_AUTO
;
22808 PyObject
* obj0
= 0 ;
22809 PyObject
* obj1
= 0 ;
22810 PyObject
* obj2
= 0 ;
22811 PyObject
* obj3
= 0 ;
22812 PyObject
* obj4
= 0 ;
22813 PyObject
* obj5
= 0 ;
22814 char * kwnames
[] = {
22815 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22823 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22825 if (!SWIG_IsOK(ecode2
)) {
22826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22828 arg2
= static_cast< int >(val2
);
22829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22830 if (!SWIG_IsOK(ecode3
)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22833 arg3
= static_cast< int >(val3
);
22834 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22835 if (!SWIG_IsOK(ecode4
)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22838 arg4
= static_cast< int >(val4
);
22839 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22840 if (!SWIG_IsOK(ecode5
)) {
22841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22843 arg5
= static_cast< int >(val5
);
22845 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22846 if (!SWIG_IsOK(ecode6
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22849 arg6
= static_cast< int >(val6
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= SWIG_Py_Void();
22864 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
= 0;
22866 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 PyObject
* obj2
= 0 ;
22878 char * kwnames
[] = {
22879 (char *) "self",(char *) "width",(char *) "height", NULL
22882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22884 if (!SWIG_IsOK(res1
)) {
22885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22887 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22889 if (!SWIG_IsOK(ecode2
)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22892 arg2
= static_cast< int >(val2
);
22893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22894 if (!SWIG_IsOK(ecode3
)) {
22895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22897 arg3
= static_cast< int >(val3
);
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 (arg1
)->DoSetClientSize(arg2
,arg3
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_Py_Void();
22911 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
= 0;
22913 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 PyObject
* obj2
= 0 ;
22925 char * kwnames
[] = {
22926 (char *) "self",(char *) "x",(char *) "y", NULL
22929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22934 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22936 if (!SWIG_IsOK(ecode2
)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22939 arg2
= static_cast< int >(val2
);
22940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22941 if (!SWIG_IsOK(ecode3
)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22944 arg3
= static_cast< int >(val3
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_Py_Void();
22958 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22961 int *arg2
= (int *) 0 ;
22962 int *arg3
= (int *) 0 ;
22966 int res2
= SWIG_TMPOBJ
;
22968 int res3
= SWIG_TMPOBJ
;
22969 PyObject
*swig_obj
[1] ;
22973 if (!args
) SWIG_fail
;
22974 swig_obj
[0] = args
;
22975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22976 if (!SWIG_IsOK(res1
)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22979 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= SWIG_Py_Void();
22987 if (SWIG_IsTmpObj(res2
)) {
22988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22990 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22993 if (SWIG_IsTmpObj(res3
)) {
22994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22996 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23005 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23006 PyObject
*resultobj
= 0;
23007 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23008 int *arg2
= (int *) 0 ;
23009 int *arg3
= (int *) 0 ;
23013 int res2
= SWIG_TMPOBJ
;
23015 int res3
= SWIG_TMPOBJ
;
23016 PyObject
*swig_obj
[1] ;
23020 if (!args
) SWIG_fail
;
23021 swig_obj
[0] = args
;
23022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23023 if (!SWIG_IsOK(res1
)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23026 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_Py_Void();
23034 if (SWIG_IsTmpObj(res2
)) {
23035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23037 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23040 if (SWIG_IsTmpObj(res3
)) {
23041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23043 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23052 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23053 PyObject
*resultobj
= 0;
23054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23055 int *arg2
= (int *) 0 ;
23056 int *arg3
= (int *) 0 ;
23060 int res2
= SWIG_TMPOBJ
;
23062 int res3
= SWIG_TMPOBJ
;
23063 PyObject
*swig_obj
[1] ;
23067 if (!args
) SWIG_fail
;
23068 swig_obj
[0] = args
;
23069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23073 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_Py_Void();
23081 if (SWIG_IsTmpObj(res2
)) {
23082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23084 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23087 if (SWIG_IsTmpObj(res3
)) {
23088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23099 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23100 PyObject
*resultobj
= 0;
23101 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23105 PyObject
*swig_obj
[1] ;
23107 if (!args
) SWIG_fail
;
23108 swig_obj
[0] = args
;
23109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23110 if (!SWIG_IsOK(res1
)) {
23111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23113 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23127 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23128 PyObject
*resultobj
= 0;
23129 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23133 PyObject
*swig_obj
[1] ;
23135 if (!args
) SWIG_fail
;
23136 swig_obj
[0] = args
;
23137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23138 if (!SWIG_IsOK(res1
)) {
23139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23141 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23155 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23156 PyObject
*resultobj
= 0;
23157 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23158 SwigValueWrapper
<wxVisualAttributes
> result
;
23161 PyObject
*swig_obj
[1] ;
23163 if (!args
) SWIG_fail
;
23164 swig_obj
[0] = args
;
23165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23169 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (arg1
)->GetDefaultAttributes();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23183 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23184 PyObject
*resultobj
= 0;
23185 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23188 PyObject
*swig_obj
[1] ;
23190 if (!args
) SWIG_fail
;
23191 swig_obj
[0] = args
;
23192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23193 if (!SWIG_IsOK(res1
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23196 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 (arg1
)->OnInternalIdle();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_Py_Void();
23210 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23213 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23214 return SWIG_Py_Void();
23217 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23218 return SWIG_Python_InitShadowInstance(args
);
23221 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23222 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23227 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23228 PyObject
*pyobj
= 0;
23232 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23234 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23241 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23242 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23247 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23248 PyObject
*pyobj
= 0;
23252 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23254 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23261 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23262 PyObject
*resultobj
= 0;
23263 wxPrintData
*result
= 0 ;
23265 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (wxPrintData
*)new wxPrintData();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23279 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23280 PyObject
*resultobj
= 0;
23281 wxPrintData
*arg1
= 0 ;
23282 wxPrintData
*result
= 0 ;
23286 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23288 if (!SWIG_IsOK(res1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23294 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23308 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23312 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23315 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23318 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23322 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23327 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23328 PyObject
*resultobj
= 0;
23329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23332 PyObject
*swig_obj
[1] ;
23334 if (!args
) SWIG_fail
;
23335 swig_obj
[0] = args
;
23336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23340 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_Py_Void();
23355 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23356 PyObject
*resultobj
= 0;
23357 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23361 PyObject
*swig_obj
[1] ;
23363 if (!args
) SWIG_fail
;
23364 swig_obj
[0] = args
;
23365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23366 if (!SWIG_IsOK(res1
)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23369 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (int)(arg1
)->GetNoCopies();
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_From_int(static_cast< int >(result
));
23383 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23384 PyObject
*resultobj
= 0;
23385 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23389 PyObject
*swig_obj
[1] ;
23391 if (!args
) SWIG_fail
;
23392 swig_obj
[0] = args
;
23393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23394 if (!SWIG_IsOK(res1
)) {
23395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23397 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= (bool)(arg1
)->GetCollate();
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23413 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23414 PyObject
*resultobj
= 0;
23415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23419 PyObject
*swig_obj
[1] ;
23421 if (!args
) SWIG_fail
;
23422 swig_obj
[0] = args
;
23423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23424 if (!SWIG_IsOK(res1
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23427 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (int)(arg1
)->GetOrientation();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_From_int(static_cast< int >(result
));
23441 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 PyObject
*resultobj
= 0;
23443 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23447 PyObject
*swig_obj
[1] ;
23449 if (!args
) SWIG_fail
;
23450 swig_obj
[0] = args
;
23451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23452 if (!SWIG_IsOK(res1
)) {
23453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23455 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= (bool)(arg1
)->Ok();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23471 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23472 PyObject
*resultobj
= 0;
23473 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23474 wxString
*result
= 0 ;
23477 PyObject
*swig_obj
[1] ;
23479 if (!args
) SWIG_fail
;
23480 swig_obj
[0] = args
;
23481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23485 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23490 result
= (wxString
*) &_result_ref
;
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23499 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23508 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23509 PyObject
*resultobj
= 0;
23510 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23514 PyObject
*swig_obj
[1] ;
23516 if (!args
) SWIG_fail
;
23517 swig_obj
[0] = args
;
23518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23522 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (bool)(arg1
)->GetColour();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23538 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23539 PyObject
*resultobj
= 0;
23540 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23541 wxDuplexMode result
;
23544 PyObject
*swig_obj
[1] ;
23546 if (!args
) SWIG_fail
;
23547 swig_obj
[0] = args
;
23548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23549 if (!SWIG_IsOK(res1
)) {
23550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23552 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_From_int(static_cast< int >(result
));
23566 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23567 PyObject
*resultobj
= 0;
23568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23569 wxPaperSize result
;
23572 PyObject
*swig_obj
[1] ;
23574 if (!args
) SWIG_fail
;
23575 swig_obj
[0] = args
;
23576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23580 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_From_int(static_cast< int >(result
));
23594 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23595 PyObject
*resultobj
= 0;
23596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23597 wxSize
*result
= 0 ;
23600 PyObject
*swig_obj
[1] ;
23602 if (!args
) SWIG_fail
;
23603 swig_obj
[0] = args
;
23604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23605 if (!SWIG_IsOK(res1
)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23608 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23613 result
= (wxSize
*) &_result_ref
;
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23625 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23626 PyObject
*resultobj
= 0;
23627 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23631 PyObject
*swig_obj
[1] ;
23633 if (!args
) SWIG_fail
;
23634 swig_obj
[0] = args
;
23635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23639 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (int)(arg1
)->GetQuality();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_From_int(static_cast< int >(result
));
23653 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23654 PyObject
*resultobj
= 0;
23655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23659 PyObject
*swig_obj
[1] ;
23661 if (!args
) SWIG_fail
;
23662 swig_obj
[0] = args
;
23663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23664 if (!SWIG_IsOK(res1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23667 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (wxPrintBin
)(arg1
)->GetBin();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_From_int(static_cast< int >(result
));
23681 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23682 PyObject
*resultobj
= 0;
23683 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23684 wxPrintMode result
;
23687 PyObject
*swig_obj
[1] ;
23689 if (!args
) SWIG_fail
;
23690 swig_obj
[0] = args
;
23691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23692 if (!SWIG_IsOK(res1
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23695 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_From_int(static_cast< int >(result
));
23709 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
= 0;
23711 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 PyObject
* obj1
= 0 ;
23719 char * kwnames
[] = {
23720 (char *) "self",(char *) "v", NULL
23723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23725 if (!SWIG_IsOK(res1
)) {
23726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23728 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23730 if (!SWIG_IsOK(ecode2
)) {
23731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23733 arg2
= static_cast< int >(val2
);
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 (arg1
)->SetNoCopies(arg2
);
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_Py_Void();
23747 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
= 0;
23749 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char * kwnames
[] = {
23758 (char *) "self",(char *) "flag", NULL
23761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23766 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23768 if (!SWIG_IsOK(ecode2
)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23771 arg2
= static_cast< bool >(val2
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->SetCollate(arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_Py_Void();
23785 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
= 0;
23787 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char * kwnames
[] = {
23796 (char *) "self",(char *) "orient", NULL
23799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23801 if (!SWIG_IsOK(res1
)) {
23802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23804 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23806 if (!SWIG_IsOK(ecode2
)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23809 arg2
= static_cast< int >(val2
);
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 (arg1
)->SetOrientation(arg2
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_Py_Void();
23823 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= 0;
23825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23826 wxString
*arg2
= 0 ;
23829 bool temp2
= false ;
23830 PyObject
* obj0
= 0 ;
23831 PyObject
* obj1
= 0 ;
23832 char * kwnames
[] = {
23833 (char *) "self",(char *) "name", NULL
23836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23838 if (!SWIG_IsOK(res1
)) {
23839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23841 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23843 arg2
= wxString_in_helper(obj1
);
23844 if (arg2
== NULL
) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_Py_Void();
23868 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
= 0;
23870 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 char * kwnames
[] = {
23879 (char *) "self",(char *) "colour", NULL
23882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23884 if (!SWIG_IsOK(res1
)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23887 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23888 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23889 if (!SWIG_IsOK(ecode2
)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23892 arg2
= static_cast< bool >(val2
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 (arg1
)->SetColour(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_Py_Void();
23906 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= 0;
23908 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23909 wxDuplexMode arg2
;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 char * kwnames
[] = {
23917 (char *) "self",(char *) "duplex", NULL
23920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23922 if (!SWIG_IsOK(res1
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23925 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23927 if (!SWIG_IsOK(ecode2
)) {
23928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23930 arg2
= static_cast< wxDuplexMode
>(val2
);
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 (arg1
)->SetDuplex(arg2
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= SWIG_Py_Void();
23944 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
= 0;
23946 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char * kwnames
[] = {
23955 (char *) "self",(char *) "sizeId", NULL
23958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23960 if (!SWIG_IsOK(res1
)) {
23961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23963 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23965 if (!SWIG_IsOK(ecode2
)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23968 arg2
= static_cast< wxPaperSize
>(val2
);
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 (arg1
)->SetPaperId(arg2
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= SWIG_Py_Void();
23982 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
= 0;
23984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "self",(char *) "sz", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24000 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24003 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_Py_Void();
24018 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
= 0;
24020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char * kwnames
[] = {
24029 (char *) "self",(char *) "quality", NULL
24032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24037 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24039 if (!SWIG_IsOK(ecode2
)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24042 arg2
= static_cast< int >(val2
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->SetQuality(arg2
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= SWIG_Py_Void();
24056 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
= 0;
24058 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char * kwnames
[] = {
24067 (char *) "self",(char *) "bin", NULL
24070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24075 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24077 if (!SWIG_IsOK(ecode2
)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24080 arg2
= static_cast< wxPrintBin
>(val2
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->SetBin(arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_Py_Void();
24094 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char * kwnames
[] = {
24105 (char *) "self",(char *) "printMode", NULL
24108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24110 if (!SWIG_IsOK(res1
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24113 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24115 if (!SWIG_IsOK(ecode2
)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24118 arg2
= static_cast< wxPrintMode
>(val2
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 (arg1
)->SetPrintMode(arg2
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_Py_Void();
24132 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 PyObject
*resultobj
= 0;
24134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24138 PyObject
*swig_obj
[1] ;
24140 if (!args
) SWIG_fail
;
24141 swig_obj
[0] = args
;
24142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24146 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24166 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
= 0;
24168 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24169 wxString
*arg2
= 0 ;
24172 bool temp2
= false ;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char * kwnames
[] = {
24176 (char *) "self",(char *) "filename", NULL
24179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24184 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24186 arg2
= wxString_in_helper(obj1
);
24187 if (arg2
== NULL
) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 (arg1
)->SetFilename((wxString
const &)*arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_Py_Void();
24211 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24212 PyObject
*resultobj
= 0;
24213 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24214 PyObject
*result
= 0 ;
24217 PyObject
*swig_obj
[1] ;
24219 if (!args
) SWIG_fail
;
24220 swig_obj
[0] = args
;
24221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24222 if (!SWIG_IsOK(res1
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24225 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= result
;
24239 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
= 0;
24241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24242 PyObject
*arg2
= (PyObject
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "self",(char *) "data", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24256 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 wxPrintData_SetPrivData(arg1
,arg2
);
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_Py_Void();
24271 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24275 return SWIG_Py_Void();
24278 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24279 return SWIG_Python_InitShadowInstance(args
);
24282 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24283 PyObject
*resultobj
= 0;
24284 wxPageSetupDialogData
*result
= 0 ;
24286 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24300 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24301 PyObject
*resultobj
= 0;
24302 wxPageSetupDialogData
*arg1
= 0 ;
24303 wxPageSetupDialogData
*result
= 0 ;
24307 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24309 if (!SWIG_IsOK(res1
)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24315 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24329 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24330 PyObject
*resultobj
= 0;
24331 wxPrintData
*arg1
= 0 ;
24332 wxPageSetupDialogData
*result
= 0 ;
24336 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24338 if (!SWIG_IsOK(res1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24344 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24358 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24362 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24365 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24370 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24371 _v
= SWIG_CheckState(res
);
24373 if (!_v
) goto check_2
;
24374 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24379 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24383 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24388 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 PyObject
*resultobj
= 0;
24390 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24393 PyObject
*swig_obj
[1] ;
24395 if (!args
) SWIG_fail
;
24396 swig_obj
[0] = args
;
24397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24398 if (!SWIG_IsOK(res1
)) {
24399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24401 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_Py_Void();
24416 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
= 0;
24418 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char * kwnames
[] = {
24427 (char *) "self",(char *) "flag", NULL
24430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24432 if (!SWIG_IsOK(res1
)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24435 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24436 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24437 if (!SWIG_IsOK(ecode2
)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24440 arg2
= static_cast< bool >(val2
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 (arg1
)->EnableHelp(arg2
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_Py_Void();
24454 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char * kwnames
[] = {
24465 (char *) "self",(char *) "flag", NULL
24468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24470 if (!SWIG_IsOK(res1
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24473 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24474 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24475 if (!SWIG_IsOK(ecode2
)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24478 arg2
= static_cast< bool >(val2
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->EnableMargins(arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_Py_Void();
24492 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 char * kwnames
[] = {
24503 (char *) "self",(char *) "flag", NULL
24506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24511 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24512 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24513 if (!SWIG_IsOK(ecode2
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24516 arg2
= static_cast< bool >(val2
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->EnableOrientation(arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_Py_Void();
24530 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
= 0;
24532 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 char * kwnames
[] = {
24541 (char *) "self",(char *) "flag", NULL
24544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24546 if (!SWIG_IsOK(res1
)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24549 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24550 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24551 if (!SWIG_IsOK(ecode2
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24554 arg2
= static_cast< bool >(val2
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->EnablePaper(arg2
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_Py_Void();
24568 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
= 0;
24570 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char * kwnames
[] = {
24579 (char *) "self",(char *) "flag", NULL
24582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24584 if (!SWIG_IsOK(res1
)) {
24585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24587 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24589 if (!SWIG_IsOK(ecode2
)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24592 arg2
= static_cast< bool >(val2
);
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->EnablePrinter(arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_Py_Void();
24606 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24607 PyObject
*resultobj
= 0;
24608 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24612 PyObject
*swig_obj
[1] ;
24614 if (!args
) SWIG_fail
;
24615 swig_obj
[0] = args
;
24616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24617 if (!SWIG_IsOK(res1
)) {
24618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24620 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (bool)(arg1
)->GetDefaultMinMargins();
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24636 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24637 PyObject
*resultobj
= 0;
24638 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24642 PyObject
*swig_obj
[1] ;
24644 if (!args
) SWIG_fail
;
24645 swig_obj
[0] = args
;
24646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24647 if (!SWIG_IsOK(res1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24650 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (bool)(arg1
)->GetEnableMargins();
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24666 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24667 PyObject
*resultobj
= 0;
24668 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24672 PyObject
*swig_obj
[1] ;
24674 if (!args
) SWIG_fail
;
24675 swig_obj
[0] = args
;
24676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24680 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (bool)(arg1
)->GetEnableOrientation();
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24696 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24697 PyObject
*resultobj
= 0;
24698 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24702 PyObject
*swig_obj
[1] ;
24704 if (!args
) SWIG_fail
;
24705 swig_obj
[0] = args
;
24706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24710 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= (bool)(arg1
)->GetEnablePaper();
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24726 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24727 PyObject
*resultobj
= 0;
24728 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24732 PyObject
*swig_obj
[1] ;
24734 if (!args
) SWIG_fail
;
24735 swig_obj
[0] = args
;
24736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24740 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (bool)(arg1
)->GetEnablePrinter();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24756 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24757 PyObject
*resultobj
= 0;
24758 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24762 PyObject
*swig_obj
[1] ;
24764 if (!args
) SWIG_fail
;
24765 swig_obj
[0] = args
;
24766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24767 if (!SWIG_IsOK(res1
)) {
24768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24770 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (bool)(arg1
)->GetEnableHelp();
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24786 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 PyObject
*resultobj
= 0;
24788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24792 PyObject
*swig_obj
[1] ;
24794 if (!args
) SWIG_fail
;
24795 swig_obj
[0] = args
;
24796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24800 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (bool)(arg1
)->GetDefaultInfo();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24816 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24817 PyObject
*resultobj
= 0;
24818 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24822 PyObject
*swig_obj
[1] ;
24824 if (!args
) SWIG_fail
;
24825 swig_obj
[0] = args
;
24826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24827 if (!SWIG_IsOK(res1
)) {
24828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24830 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (arg1
)->GetMarginTopLeft();
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24844 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24845 PyObject
*resultobj
= 0;
24846 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24850 PyObject
*swig_obj
[1] ;
24852 if (!args
) SWIG_fail
;
24853 swig_obj
[0] = args
;
24854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24858 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (arg1
)->GetMarginBottomRight();
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24872 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24878 PyObject
*swig_obj
[1] ;
24880 if (!args
) SWIG_fail
;
24881 swig_obj
[0] = args
;
24882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24886 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (arg1
)->GetMinMarginTopLeft();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24900 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 PyObject
*resultobj
= 0;
24902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24906 PyObject
*swig_obj
[1] ;
24908 if (!args
) SWIG_fail
;
24909 swig_obj
[0] = args
;
24910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24914 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (arg1
)->GetMinMarginBottomRight();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24928 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24929 PyObject
*resultobj
= 0;
24930 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24931 wxPaperSize result
;
24934 PyObject
*swig_obj
[1] ;
24936 if (!args
) SWIG_fail
;
24937 swig_obj
[0] = args
;
24938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24942 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_From_int(static_cast< int >(result
));
24956 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 PyObject
*resultobj
= 0;
24958 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24962 PyObject
*swig_obj
[1] ;
24964 if (!args
) SWIG_fail
;
24965 swig_obj
[0] = args
;
24966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24970 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (arg1
)->GetPaperSize();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24984 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24985 PyObject
*resultobj
= 0;
24986 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24987 wxPrintData
*result
= 0 ;
24990 PyObject
*swig_obj
[1] ;
24992 if (!args
) SWIG_fail
;
24993 swig_obj
[0] = args
;
24994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24995 if (!SWIG_IsOK(res1
)) {
24996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24998 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25003 result
= (wxPrintData
*) &_result_ref
;
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25015 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25016 PyObject
*resultobj
= 0;
25017 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25021 PyObject
*swig_obj
[1] ;
25023 if (!args
) SWIG_fail
;
25024 swig_obj
[0] = args
;
25025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25026 if (!SWIG_IsOK(res1
)) {
25027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25029 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (bool)(arg1
)->Ok();
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25045 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
= 0;
25047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 char * kwnames
[] = {
25056 (char *) "self",(char *) "flag", NULL
25059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25064 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25065 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25066 if (!SWIG_IsOK(ecode2
)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25069 arg2
= static_cast< bool >(val2
);
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 (arg1
)->SetDefaultInfo(arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= SWIG_Py_Void();
25083 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
= 0;
25085 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char * kwnames
[] = {
25094 (char *) "self",(char *) "flag", NULL
25097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25099 if (!SWIG_IsOK(res1
)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25102 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25103 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25104 if (!SWIG_IsOK(ecode2
)) {
25105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25107 arg2
= static_cast< bool >(val2
);
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->SetDefaultMinMargins(arg2
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_Py_Void();
25121 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
= 0;
25123 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25124 wxPoint
*arg2
= 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char * kwnames
[] = {
25131 (char *) "self",(char *) "pt", NULL
25134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25136 if (!SWIG_IsOK(res1
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25139 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_Py_Void();
25157 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
= 0;
25159 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25160 wxPoint
*arg2
= 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char * kwnames
[] = {
25167 (char *) "self",(char *) "pt", NULL
25170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25172 if (!SWIG_IsOK(res1
)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25175 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_Py_Void();
25193 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
= 0;
25195 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25196 wxPoint
*arg2
= 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 char * kwnames
[] = {
25203 (char *) "self",(char *) "pt", NULL
25206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25208 if (!SWIG_IsOK(res1
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25211 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_Py_Void();
25229 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25232 wxPoint
*arg2
= 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char * kwnames
[] = {
25239 (char *) "self",(char *) "pt", NULL
25242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25244 if (!SWIG_IsOK(res1
)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_Py_Void();
25265 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
= 0;
25267 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "self",(char *) "id", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25286 if (!SWIG_IsOK(ecode2
)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25289 arg2
= static_cast< wxPaperSize
>(val2
);
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 (arg1
)->SetPaperId(arg2
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_Py_Void();
25303 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
= 0;
25305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 char * kwnames
[] = {
25313 (char *) "self",(char *) "size", NULL
25316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25318 if (!SWIG_IsOK(res1
)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25321 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25324 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_Py_Void();
25339 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
= 0;
25341 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25342 wxPrintData
*arg2
= 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char * kwnames
[] = {
25350 (char *) "self",(char *) "printData", NULL
25353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25355 if (!SWIG_IsOK(res1
)) {
25356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25358 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25360 if (!SWIG_IsOK(res2
)) {
25361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25366 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= SWIG_Py_Void();
25380 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25381 PyObject
*resultobj
= 0;
25382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25385 PyObject
*swig_obj
[1] ;
25387 if (!args
) SWIG_fail
;
25388 swig_obj
[0] = args
;
25389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25390 if (!SWIG_IsOK(res1
)) {
25391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25393 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 (arg1
)->CalculateIdFromPaperSize();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= SWIG_Py_Void();
25407 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25408 PyObject
*resultobj
= 0;
25409 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25412 PyObject
*swig_obj
[1] ;
25414 if (!args
) SWIG_fail
;
25415 swig_obj
[0] = args
;
25416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25420 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 (arg1
)->CalculatePaperSizeFromId();
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_Py_Void();
25434 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25437 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25438 return SWIG_Py_Void();
25441 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25442 return SWIG_Python_InitShadowInstance(args
);
25445 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
= 0;
25447 wxWindow
*arg1
= (wxWindow
*) 0 ;
25448 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25449 wxPageSetupDialog
*result
= 0 ;
25454 PyObject
* obj0
= 0 ;
25455 PyObject
* obj1
= 0 ;
25456 char * kwnames
[] = {
25457 (char *) "parent",(char *) "data", NULL
25460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25462 if (!SWIG_IsOK(res1
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25465 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25468 if (!SWIG_IsOK(res2
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25471 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25474 if (!wxPyCheckForApp()) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25487 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25488 PyObject
*resultobj
= 0;
25489 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25492 PyObject
*swig_obj
[1] ;
25494 if (!args
) SWIG_fail
;
25495 swig_obj
[0] = args
;
25496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25500 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_Py_Void();
25515 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 PyObject
*resultobj
= 0;
25517 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25518 wxPageSetupDialogData
*result
= 0 ;
25521 PyObject
*swig_obj
[1] ;
25523 if (!args
) SWIG_fail
;
25524 swig_obj
[0] = args
;
25525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25526 if (!SWIG_IsOK(res1
)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25529 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25534 result
= (wxPageSetupDialogData
*) &_result_ref
;
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25546 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25547 PyObject
*resultobj
= 0;
25548 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25549 wxPageSetupDialogData
*result
= 0 ;
25552 PyObject
*swig_obj
[1] ;
25554 if (!args
) SWIG_fail
;
25555 swig_obj
[0] = args
;
25556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25557 if (!SWIG_IsOK(res1
)) {
25558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25560 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25565 result
= (wxPageSetupDialogData
*) &_result_ref
;
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25577 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25578 PyObject
*resultobj
= 0;
25579 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25583 PyObject
*swig_obj
[1] ;
25585 if (!args
) SWIG_fail
;
25586 swig_obj
[0] = args
;
25587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25588 if (!SWIG_IsOK(res1
)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25591 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (int)(arg1
)->ShowModal();
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_From_int(static_cast< int >(result
));
25605 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25609 return SWIG_Py_Void();
25612 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25613 return SWIG_Python_InitShadowInstance(args
);
25616 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25617 PyObject
*resultobj
= 0;
25618 wxPrintDialogData
*result
= 0 ;
25620 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25634 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25635 PyObject
*resultobj
= 0;
25636 wxPrintData
*arg1
= 0 ;
25637 wxPrintDialogData
*result
= 0 ;
25641 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25643 if (!SWIG_IsOK(res1
)) {
25644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25649 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25663 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25664 PyObject
*resultobj
= 0;
25665 wxPrintDialogData
*arg1
= 0 ;
25666 wxPrintDialogData
*result
= 0 ;
25670 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25672 if (!SWIG_IsOK(res1
)) {
25673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25678 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25692 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25696 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25699 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25704 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25705 _v
= SWIG_CheckState(res
);
25707 if (!_v
) goto check_2
;
25708 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25713 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25717 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25722 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25723 PyObject
*resultobj
= 0;
25724 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25727 PyObject
*swig_obj
[1] ;
25729 if (!args
) SWIG_fail
;
25730 swig_obj
[0] = args
;
25731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25735 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_Py_Void();
25750 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25756 PyObject
*swig_obj
[1] ;
25758 if (!args
) SWIG_fail
;
25759 swig_obj
[0] = args
;
25760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25764 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_From_int(static_cast< int >(result
));
25778 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 PyObject
*resultobj
= 0;
25780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25784 PyObject
*swig_obj
[1] ;
25786 if (!args
) SWIG_fail
;
25787 swig_obj
[0] = args
;
25788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25789 if (!SWIG_IsOK(res1
)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25792 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_From_int(static_cast< int >(result
));
25806 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25807 PyObject
*resultobj
= 0;
25808 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25812 PyObject
*swig_obj
[1] ;
25814 if (!args
) SWIG_fail
;
25815 swig_obj
[0] = args
;
25816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25820 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= SWIG_From_int(static_cast< int >(result
));
25834 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25835 PyObject
*resultobj
= 0;
25836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25840 PyObject
*swig_obj
[1] ;
25842 if (!args
) SWIG_fail
;
25843 swig_obj
[0] = args
;
25844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25845 if (!SWIG_IsOK(res1
)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25848 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= SWIG_From_int(static_cast< int >(result
));
25862 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 PyObject
*resultobj
= 0;
25864 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25868 PyObject
*swig_obj
[1] ;
25870 if (!args
) SWIG_fail
;
25871 swig_obj
[0] = args
;
25872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25876 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_From_int(static_cast< int >(result
));
25890 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 PyObject
*resultobj
= 0;
25892 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25896 PyObject
*swig_obj
[1] ;
25898 if (!args
) SWIG_fail
;
25899 swig_obj
[0] = args
;
25900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25901 if (!SWIG_IsOK(res1
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25904 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25920 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25921 PyObject
*resultobj
= 0;
25922 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25926 PyObject
*swig_obj
[1] ;
25928 if (!args
) SWIG_fail
;
25929 swig_obj
[0] = args
;
25930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25931 if (!SWIG_IsOK(res1
)) {
25932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25934 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25950 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25951 PyObject
*resultobj
= 0;
25952 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25956 PyObject
*swig_obj
[1] ;
25958 if (!args
) SWIG_fail
;
25959 swig_obj
[0] = args
;
25960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25961 if (!SWIG_IsOK(res1
)) {
25962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25964 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25980 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25981 PyObject
*resultobj
= 0;
25982 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25986 PyObject
*swig_obj
[1] ;
25988 if (!args
) SWIG_fail
;
25989 swig_obj
[0] = args
;
25990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25991 if (!SWIG_IsOK(res1
)) {
25992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25994 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26010 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
= 0;
26012 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 char * kwnames
[] = {
26021 (char *) "self",(char *) "v", NULL
26024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26026 if (!SWIG_IsOK(res1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26029 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26031 if (!SWIG_IsOK(ecode2
)) {
26032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26034 arg2
= static_cast< int >(val2
);
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 (arg1
)->SetFromPage(arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= SWIG_Py_Void();
26048 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
= 0;
26050 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 char * kwnames
[] = {
26059 (char *) "self",(char *) "v", NULL
26062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26064 if (!SWIG_IsOK(res1
)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26067 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26069 if (!SWIG_IsOK(ecode2
)) {
26070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26072 arg2
= static_cast< int >(val2
);
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 (arg1
)->SetToPage(arg2
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_Py_Void();
26086 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
= 0;
26088 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 char * kwnames
[] = {
26097 (char *) "self",(char *) "v", NULL
26100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26102 if (!SWIG_IsOK(res1
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26105 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26107 if (!SWIG_IsOK(ecode2
)) {
26108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26110 arg2
= static_cast< int >(val2
);
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 (arg1
)->SetMinPage(arg2
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= SWIG_Py_Void();
26124 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
= 0;
26126 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 char * kwnames
[] = {
26135 (char *) "self",(char *) "v", NULL
26138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26140 if (!SWIG_IsOK(res1
)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26143 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26145 if (!SWIG_IsOK(ecode2
)) {
26146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26148 arg2
= static_cast< int >(val2
);
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->SetMaxPage(arg2
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= 0;
26164 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26170 PyObject
* obj0
= 0 ;
26171 PyObject
* obj1
= 0 ;
26172 char * kwnames
[] = {
26173 (char *) "self",(char *) "v", NULL
26176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26178 if (!SWIG_IsOK(res1
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26181 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26183 if (!SWIG_IsOK(ecode2
)) {
26184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26186 arg2
= static_cast< int >(val2
);
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 (arg1
)->SetNoCopies(arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_Py_Void();
26200 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
= 0;
26202 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 char * kwnames
[] = {
26211 (char *) "self",(char *) "flag", NULL
26214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26216 if (!SWIG_IsOK(res1
)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26219 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26220 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26221 if (!SWIG_IsOK(ecode2
)) {
26222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26224 arg2
= static_cast< bool >(val2
);
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->SetAllPages(arg2
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_Py_Void();
26238 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
= 0;
26240 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 char * kwnames
[] = {
26249 (char *) "self",(char *) "flag", NULL
26252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26254 if (!SWIG_IsOK(res1
)) {
26255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26257 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26258 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26259 if (!SWIG_IsOK(ecode2
)) {
26260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26262 arg2
= static_cast< bool >(val2
);
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 (arg1
)->SetSelection(arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= SWIG_Py_Void();
26276 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
= 0;
26278 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 char * kwnames
[] = {
26287 (char *) "self",(char *) "flag", NULL
26290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26292 if (!SWIG_IsOK(res1
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26295 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26296 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26297 if (!SWIG_IsOK(ecode2
)) {
26298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26300 arg2
= static_cast< bool >(val2
);
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->SetCollate(arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_Py_Void();
26314 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26315 PyObject
*resultobj
= 0;
26316 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 char * kwnames
[] = {
26325 (char *) "self",(char *) "flag", NULL
26328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26330 if (!SWIG_IsOK(res1
)) {
26331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26333 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26334 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26335 if (!SWIG_IsOK(ecode2
)) {
26336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26338 arg2
= static_cast< bool >(val2
);
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 (arg1
)->SetPrintToFile(arg2
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= SWIG_Py_Void();
26352 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
= 0;
26354 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 char * kwnames
[] = {
26363 (char *) "self",(char *) "flag", NULL
26366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26371 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26373 if (!SWIG_IsOK(ecode2
)) {
26374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26376 arg2
= static_cast< bool >(val2
);
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 (arg1
)->EnablePrintToFile(arg2
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= SWIG_Py_Void();
26390 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
= 0;
26392 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 char * kwnames
[] = {
26401 (char *) "self",(char *) "flag", NULL
26404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26406 if (!SWIG_IsOK(res1
)) {
26407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26409 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26410 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26411 if (!SWIG_IsOK(ecode2
)) {
26412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26414 arg2
= static_cast< bool >(val2
);
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 (arg1
)->EnableSelection(arg2
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= SWIG_Py_Void();
26428 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
= 0;
26430 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 char * kwnames
[] = {
26439 (char *) "self",(char *) "flag", NULL
26442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26444 if (!SWIG_IsOK(res1
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26447 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26449 if (!SWIG_IsOK(ecode2
)) {
26450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26452 arg2
= static_cast< bool >(val2
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 (arg1
)->EnablePageNumbers(arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_Py_Void();
26466 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
= 0;
26468 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char * kwnames
[] = {
26477 (char *) "self",(char *) "flag", NULL
26480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26485 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26487 if (!SWIG_IsOK(ecode2
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26490 arg2
= static_cast< bool >(val2
);
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 (arg1
)->EnableHelp(arg2
);
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_Py_Void();
26504 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26505 PyObject
*resultobj
= 0;
26506 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26510 PyObject
*swig_obj
[1] ;
26512 if (!args
) SWIG_fail
;
26513 swig_obj
[0] = args
;
26514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26515 if (!SWIG_IsOK(res1
)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26518 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26534 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26535 PyObject
*resultobj
= 0;
26536 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26540 PyObject
*swig_obj
[1] ;
26542 if (!args
) SWIG_fail
;
26543 swig_obj
[0] = args
;
26544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26545 if (!SWIG_IsOK(res1
)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26548 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26564 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26565 PyObject
*resultobj
= 0;
26566 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26570 PyObject
*swig_obj
[1] ;
26572 if (!args
) SWIG_fail
;
26573 swig_obj
[0] = args
;
26574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26578 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26594 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26595 PyObject
*resultobj
= 0;
26596 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26608 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26624 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26625 PyObject
*resultobj
= 0;
26626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26630 PyObject
*swig_obj
[1] ;
26632 if (!args
) SWIG_fail
;
26633 swig_obj
[0] = args
;
26634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26635 if (!SWIG_IsOK(res1
)) {
26636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26638 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26654 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26655 PyObject
*resultobj
= 0;
26656 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26657 wxPrintData
*result
= 0 ;
26660 PyObject
*swig_obj
[1] ;
26662 if (!args
) SWIG_fail
;
26663 swig_obj
[0] = args
;
26664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26668 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26673 result
= (wxPrintData
*) &_result_ref
;
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26685 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
= 0;
26687 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26688 wxPrintData
*arg2
= 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char * kwnames
[] = {
26696 (char *) "self",(char *) "printData", NULL
26699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26704 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26706 if (!SWIG_IsOK(res2
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26712 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= SWIG_Py_Void();
26726 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26729 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26730 return SWIG_Py_Void();
26733 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 return SWIG_Python_InitShadowInstance(args
);
26737 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxWindow
*arg1
= (wxWindow
*) 0 ;
26740 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26741 wxPrintDialog
*result
= 0 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 char * kwnames
[] = {
26749 (char *) "parent",(char *) "data", NULL
26752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26754 if (!SWIG_IsOK(res1
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26757 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26759 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26760 if (!SWIG_IsOK(res2
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26763 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26766 if (!wxPyCheckForApp()) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26779 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26780 PyObject
*resultobj
= 0;
26781 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26784 PyObject
*swig_obj
[1] ;
26786 if (!args
) SWIG_fail
;
26787 swig_obj
[0] = args
;
26788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26789 if (!SWIG_IsOK(res1
)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26792 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= SWIG_Py_Void();
26807 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26808 PyObject
*resultobj
= 0;
26809 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26813 PyObject
*swig_obj
[1] ;
26815 if (!args
) SWIG_fail
;
26816 swig_obj
[0] = args
;
26817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26818 if (!SWIG_IsOK(res1
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26821 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 result
= (int)(arg1
)->ShowModal();
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_From_int(static_cast< int >(result
));
26835 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26836 PyObject
*resultobj
= 0;
26837 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26838 wxPrintDialogData
*result
= 0 ;
26841 PyObject
*swig_obj
[1] ;
26843 if (!args
) SWIG_fail
;
26844 swig_obj
[0] = args
;
26845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26849 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26854 result
= (wxPrintDialogData
*) &_result_ref
;
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26866 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26867 PyObject
*resultobj
= 0;
26868 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26869 wxPrintData
*result
= 0 ;
26872 PyObject
*swig_obj
[1] ;
26874 if (!args
) SWIG_fail
;
26875 swig_obj
[0] = args
;
26876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26877 if (!SWIG_IsOK(res1
)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26880 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26885 result
= (wxPrintData
*) &_result_ref
;
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26897 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26898 PyObject
*resultobj
= 0;
26899 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26903 PyObject
*swig_obj
[1] ;
26905 if (!args
) SWIG_fail
;
26906 swig_obj
[0] = args
;
26907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26908 if (!SWIG_IsOK(res1
)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26911 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= (wxDC
*)(arg1
)->GetPrintDC();
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26927 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26931 return SWIG_Py_Void();
26934 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26935 return SWIG_Python_InitShadowInstance(args
);
26938 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
= 0;
26940 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26941 wxPrinter
*result
= 0 ;
26944 PyObject
* obj0
= 0 ;
26945 char * kwnames
[] = {
26946 (char *) "data", NULL
26949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26952 if (!SWIG_IsOK(res1
)) {
26953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26955 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26958 if (!wxPyCheckForApp()) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (wxPrinter
*)new wxPrinter(arg1
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26971 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26972 PyObject
*resultobj
= 0;
26973 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26976 PyObject
*swig_obj
[1] ;
26978 if (!args
) SWIG_fail
;
26979 swig_obj
[0] = args
;
26980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26981 if (!SWIG_IsOK(res1
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26984 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= SWIG_Py_Void();
26999 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
= 0;
27001 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27002 wxWindow
*arg2
= (wxWindow
*) 0 ;
27003 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27004 wxWindow
*result
= 0 ;
27011 PyObject
* obj0
= 0 ;
27012 PyObject
* obj1
= 0 ;
27013 PyObject
* obj2
= 0 ;
27014 char * kwnames
[] = {
27015 (char *) "self",(char *) "parent",(char *) "printout", NULL
27018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27023 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27025 if (!SWIG_IsOK(res2
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27028 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27029 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27030 if (!SWIG_IsOK(res3
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27033 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= wxPyMake_wxObject(result
, 0);
27049 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
= 0;
27051 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27052 wxWindow
*arg2
= (wxWindow
*) 0 ;
27053 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27054 wxString
*arg4
= 0 ;
27061 bool temp4
= false ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 PyObject
* obj2
= 0 ;
27065 PyObject
* obj3
= 0 ;
27066 char * kwnames
[] = {
27067 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27072 if (!SWIG_IsOK(res1
)) {
27073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27075 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27077 if (!SWIG_IsOK(res2
)) {
27078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27080 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27081 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27082 if (!SWIG_IsOK(res3
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27085 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27087 arg4
= wxString_in_helper(obj3
);
27088 if (arg4
== NULL
) SWIG_fail
;
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= SWIG_Py_Void();
27112 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
= 0;
27114 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27115 wxWindow
*arg2
= (wxWindow
*) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 PyObject
* obj1
= 0 ;
27123 char * kwnames
[] = {
27124 (char *) "self",(char *) "parent", NULL
27127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27129 if (!SWIG_IsOK(res1
)) {
27130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27132 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27134 if (!SWIG_IsOK(res2
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27137 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (bool)(arg1
)->Setup(arg2
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27153 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
= 0;
27155 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27156 wxWindow
*arg2
= (wxWindow
*) 0 ;
27157 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27158 bool arg4
= (bool) true ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 PyObject
* obj2
= 0 ;
27171 PyObject
* obj3
= 0 ;
27172 char * kwnames
[] = {
27173 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27178 if (!SWIG_IsOK(res1
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27181 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27183 if (!SWIG_IsOK(res2
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27186 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27187 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27188 if (!SWIG_IsOK(res3
)) {
27189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27191 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27193 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27194 if (!SWIG_IsOK(ecode4
)) {
27195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27197 arg4
= static_cast< bool >(val4
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27214 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
= 0;
27216 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27217 wxWindow
*arg2
= (wxWindow
*) 0 ;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 char * kwnames
[] = {
27226 (char *) "self",(char *) "parent", NULL
27229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27231 if (!SWIG_IsOK(res1
)) {
27232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27234 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27236 if (!SWIG_IsOK(res2
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27255 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27256 PyObject
*resultobj
= 0;
27257 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27258 wxPrintDialogData
*result
= 0 ;
27261 PyObject
*swig_obj
[1] ;
27263 if (!args
) SWIG_fail
;
27264 swig_obj
[0] = args
;
27265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27269 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27274 result
= (wxPrintDialogData
*) &_result_ref
;
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27286 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27287 PyObject
*resultobj
= 0;
27288 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27292 PyObject
*swig_obj
[1] ;
27294 if (!args
) SWIG_fail
;
27295 swig_obj
[0] = args
;
27296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27297 if (!SWIG_IsOK(res1
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27300 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (bool)(arg1
)->GetAbort();
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27316 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27317 PyObject
*resultobj
= 0;
27318 wxPrinterError result
;
27320 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (wxPrinterError
)wxPrinter::GetLastError();
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_From_int(static_cast< int >(result
));
27334 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27338 return SWIG_Py_Void();
27341 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 return SWIG_Python_InitShadowInstance(args
);
27345 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
= 0;
27347 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27348 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27349 wxPyPrintout
*result
= 0 ;
27350 bool temp1
= false ;
27351 PyObject
* obj0
= 0 ;
27352 char * kwnames
[] = {
27353 (char *) "title", NULL
27356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27359 arg1
= wxString_in_helper(obj0
);
27360 if (arg1
== NULL
) SWIG_fail
;
27365 if (!wxPyCheckForApp()) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27386 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27387 PyObject
*resultobj
= 0;
27388 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27391 PyObject
*swig_obj
[1] ;
27393 if (!args
) SWIG_fail
;
27394 swig_obj
[0] = args
;
27395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27396 if (!SWIG_IsOK(res1
)) {
27397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27399 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= SWIG_Py_Void();
27414 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
= 0;
27416 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27417 PyObject
*arg2
= (PyObject
*) 0 ;
27418 PyObject
*arg3
= (PyObject
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 PyObject
* obj2
= 0 ;
27424 char * kwnames
[] = {
27425 (char *) "self",(char *) "self",(char *) "_class", NULL
27428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27430 if (!SWIG_IsOK(res1
)) {
27431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27433 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= SWIG_Py_Void();
27449 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27450 PyObject
*resultobj
= 0;
27451 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27455 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_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27463 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27483 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 PyObject
*resultobj
= 0;
27485 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27489 PyObject
*swig_obj
[1] ;
27491 if (!args
) SWIG_fail
;
27492 swig_obj
[0] = args
;
27493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27494 if (!SWIG_IsOK(res1
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27497 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (wxDC
*)(arg1
)->GetDC();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27513 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
= 0;
27515 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27516 wxDC
*arg2
= (wxDC
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char * kwnames
[] = {
27524 (char *) "self",(char *) "dc", NULL
27527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27529 if (!SWIG_IsOK(res1
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27532 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27534 if (!SWIG_IsOK(res2
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27537 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 (arg1
)->SetDC(arg2
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= SWIG_Py_Void();
27551 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= 0;
27553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 PyObject
* obj2
= 0 ;
27565 char * kwnames
[] = {
27566 (char *) "self",(char *) "w",(char *) "h", NULL
27569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27571 if (!SWIG_IsOK(res1
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27574 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27576 if (!SWIG_IsOK(ecode2
)) {
27577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27579 arg2
= static_cast< int >(val2
);
27580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27581 if (!SWIG_IsOK(ecode3
)) {
27582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27584 arg3
= static_cast< int >(val3
);
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_Py_Void();
27598 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27599 PyObject
*resultobj
= 0;
27600 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27601 int *arg2
= (int *) 0 ;
27602 int *arg3
= (int *) 0 ;
27606 int res2
= SWIG_TMPOBJ
;
27608 int res3
= SWIG_TMPOBJ
;
27609 PyObject
*swig_obj
[1] ;
27613 if (!args
) SWIG_fail
;
27614 swig_obj
[0] = args
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27619 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= SWIG_Py_Void();
27627 if (SWIG_IsTmpObj(res2
)) {
27628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27630 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27633 if (SWIG_IsTmpObj(res3
)) {
27634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27636 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27645 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
= 0;
27647 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 char * kwnames
[] = {
27660 (char *) "self",(char *) "w",(char *) "h", NULL
27663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27665 if (!SWIG_IsOK(res1
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27668 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27670 if (!SWIG_IsOK(ecode2
)) {
27671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27673 arg2
= static_cast< int >(val2
);
27674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27675 if (!SWIG_IsOK(ecode3
)) {
27676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27678 arg3
= static_cast< int >(val3
);
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= SWIG_Py_Void();
27692 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27693 PyObject
*resultobj
= 0;
27694 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27695 int *arg2
= (int *) 0 ;
27696 int *arg3
= (int *) 0 ;
27700 int res2
= SWIG_TMPOBJ
;
27702 int res3
= SWIG_TMPOBJ
;
27703 PyObject
*swig_obj
[1] ;
27707 if (!args
) SWIG_fail
;
27708 swig_obj
[0] = args
;
27709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27710 if (!SWIG_IsOK(res1
)) {
27711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27713 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= SWIG_Py_Void();
27721 if (SWIG_IsTmpObj(res2
)) {
27722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27724 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27727 if (SWIG_IsTmpObj(res3
)) {
27728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27730 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27739 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
= 0;
27741 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 PyObject
* obj2
= 0 ;
27753 char * kwnames
[] = {
27754 (char *) "self",(char *) "x",(char *) "y", NULL
27757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27762 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27764 if (!SWIG_IsOK(ecode2
)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27767 arg2
= static_cast< int >(val2
);
27768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27769 if (!SWIG_IsOK(ecode3
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27772 arg3
= static_cast< int >(val3
);
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 (arg1
)->SetPPIScreen(arg2
,arg3
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= SWIG_Py_Void();
27786 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27787 PyObject
*resultobj
= 0;
27788 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27789 int *arg2
= (int *) 0 ;
27790 int *arg3
= (int *) 0 ;
27794 int res2
= SWIG_TMPOBJ
;
27796 int res3
= SWIG_TMPOBJ
;
27797 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27807 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 (arg1
)->GetPPIScreen(arg2
,arg3
);
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_Py_Void();
27815 if (SWIG_IsTmpObj(res2
)) {
27816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27818 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27821 if (SWIG_IsTmpObj(res3
)) {
27822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27824 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27833 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
= 0;
27835 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 PyObject
* obj2
= 0 ;
27847 char * kwnames
[] = {
27848 (char *) "self",(char *) "x",(char *) "y", NULL
27851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27856 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27858 if (!SWIG_IsOK(ecode2
)) {
27859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27861 arg2
= static_cast< int >(val2
);
27862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27863 if (!SWIG_IsOK(ecode3
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27866 arg3
= static_cast< int >(val3
);
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_Py_Void();
27880 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27881 PyObject
*resultobj
= 0;
27882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27883 int *arg2
= (int *) 0 ;
27884 int *arg3
= (int *) 0 ;
27888 int res2
= SWIG_TMPOBJ
;
27890 int res3
= SWIG_TMPOBJ
;
27891 PyObject
*swig_obj
[1] ;
27895 if (!args
) SWIG_fail
;
27896 swig_obj
[0] = args
;
27897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27898 if (!SWIG_IsOK(res1
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27901 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_Py_Void();
27909 if (SWIG_IsTmpObj(res2
)) {
27910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27912 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27915 if (SWIG_IsTmpObj(res3
)) {
27916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27918 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27927 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27928 PyObject
*resultobj
= 0;
27929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27933 PyObject
*swig_obj
[1] ;
27935 if (!args
) SWIG_fail
;
27936 swig_obj
[0] = args
;
27937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27938 if (!SWIG_IsOK(res1
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27941 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 result
= (bool)(arg1
)->IsPreview();
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27957 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 char * kwnames
[] = {
27968 (char *) "self",(char *) "p", NULL
27971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27976 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27977 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27978 if (!SWIG_IsOK(ecode2
)) {
27979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27981 arg2
= static_cast< bool >(val2
);
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 (arg1
)->SetIsPreview(arg2
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= SWIG_Py_Void();
27995 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
= 0;
27997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28007 PyObject
* obj0
= 0 ;
28008 PyObject
* obj1
= 0 ;
28009 PyObject
* obj2
= 0 ;
28010 char * kwnames
[] = {
28011 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28016 if (!SWIG_IsOK(res1
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28019 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28021 if (!SWIG_IsOK(ecode2
)) {
28022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28024 arg2
= static_cast< int >(val2
);
28025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28026 if (!SWIG_IsOK(ecode3
)) {
28027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28029 arg3
= static_cast< int >(val3
);
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28045 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28046 PyObject
*resultobj
= 0;
28047 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28050 PyObject
*swig_obj
[1] ;
28052 if (!args
) SWIG_fail
;
28053 swig_obj
[0] = args
;
28054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28055 if (!SWIG_IsOK(res1
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28058 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 (arg1
)->OnEndDocument();
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= SWIG_Py_Void();
28072 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 PyObject
*resultobj
= 0;
28074 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28077 PyObject
*swig_obj
[1] ;
28079 if (!args
) SWIG_fail
;
28080 swig_obj
[0] = args
;
28081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28082 if (!SWIG_IsOK(res1
)) {
28083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28085 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 (arg1
)->OnBeginPrinting();
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= SWIG_Py_Void();
28099 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28100 PyObject
*resultobj
= 0;
28101 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28104 PyObject
*swig_obj
[1] ;
28106 if (!args
) SWIG_fail
;
28107 swig_obj
[0] = args
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28112 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->OnEndPrinting();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= SWIG_Py_Void();
28126 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28127 PyObject
*resultobj
= 0;
28128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28131 PyObject
*swig_obj
[1] ;
28133 if (!args
) SWIG_fail
;
28134 swig_obj
[0] = args
;
28135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28139 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 (arg1
)->OnPreparePrinting();
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 PyObject
* obj1
= 0 ;
28164 char * kwnames
[] = {
28165 (char *) "self",(char *) "page", NULL
28168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28173 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28175 if (!SWIG_IsOK(ecode2
)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28178 arg2
= static_cast< int >(val2
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= (bool)(arg1
)->HasPage(arg2
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28194 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28195 PyObject
*resultobj
= 0;
28196 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28197 int *arg2
= (int *) 0 ;
28198 int *arg3
= (int *) 0 ;
28199 int *arg4
= (int *) 0 ;
28200 int *arg5
= (int *) 0 ;
28204 int res2
= SWIG_TMPOBJ
;
28206 int res3
= SWIG_TMPOBJ
;
28208 int res4
= SWIG_TMPOBJ
;
28210 int res5
= SWIG_TMPOBJ
;
28211 PyObject
*swig_obj
[1] ;
28217 if (!args
) SWIG_fail
;
28218 swig_obj
[0] = args
;
28219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28220 if (!SWIG_IsOK(res1
)) {
28221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28223 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_Py_Void();
28231 if (SWIG_IsTmpObj(res2
)) {
28232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28234 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28237 if (SWIG_IsTmpObj(res3
)) {
28238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28240 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28243 if (SWIG_IsTmpObj(res4
)) {
28244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28246 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28249 if (SWIG_IsTmpObj(res5
)) {
28250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28252 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28261 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28264 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28265 return SWIG_Py_Void();
28268 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28269 return SWIG_Python_InitShadowInstance(args
);
28272 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
= 0;
28274 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28275 wxWindow
*arg2
= (wxWindow
*) 0 ;
28276 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28277 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28278 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28279 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28280 long arg5
= (long) 0 ;
28281 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28282 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28283 wxPreviewCanvas
*result
= 0 ;
28292 bool temp6
= false ;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 PyObject
* obj2
= 0 ;
28296 PyObject
* obj3
= 0 ;
28297 PyObject
* obj4
= 0 ;
28298 PyObject
* obj5
= 0 ;
28299 char * kwnames
[] = {
28300 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28308 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28310 if (!SWIG_IsOK(res2
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28317 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28323 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28327 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28328 if (!SWIG_IsOK(ecode5
)) {
28329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28331 arg5
= static_cast< long >(val5
);
28335 arg6
= wxString_in_helper(obj5
);
28336 if (arg6
== NULL
) SWIG_fail
;
28341 if (!wxPyCheckForApp()) SWIG_fail
;
28342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28343 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28362 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28365 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28366 return SWIG_Py_Void();
28369 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28370 return SWIG_Python_InitShadowInstance(args
);
28373 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28374 PyObject
*resultobj
= 0;
28375 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28376 wxFrame
*arg2
= (wxFrame
*) 0 ;
28377 wxString
*arg3
= 0 ;
28378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28382 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28383 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28384 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28385 wxPreviewFrame
*result
= 0 ;
28389 bool temp3
= false ;
28394 bool temp7
= false ;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 PyObject
* obj2
= 0 ;
28398 PyObject
* obj3
= 0 ;
28399 PyObject
* obj4
= 0 ;
28400 PyObject
* obj5
= 0 ;
28401 PyObject
* obj6
= 0 ;
28402 char * kwnames
[] = {
28403 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28407 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28408 if (!SWIG_IsOK(res1
)) {
28409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28412 if (!SWIG_IsOK(res2
)) {
28413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28415 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28417 arg3
= wxString_in_helper(obj2
);
28418 if (arg3
== NULL
) SWIG_fail
;
28424 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28430 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28434 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28435 if (!SWIG_IsOK(ecode6
)) {
28436 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28438 arg6
= static_cast< long >(val6
);
28442 arg7
= wxString_in_helper(obj6
);
28443 if (arg7
== NULL
) SWIG_fail
;
28448 if (!wxPyCheckForApp()) SWIG_fail
;
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28477 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 PyObject
*resultobj
= 0;
28479 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28482 PyObject
*swig_obj
[1] ;
28484 if (!args
) SWIG_fail
;
28485 swig_obj
[0] = args
;
28486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28487 if (!SWIG_IsOK(res1
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28490 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 (arg1
)->Initialize();
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= SWIG_Py_Void();
28504 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28505 PyObject
*resultobj
= 0;
28506 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28509 PyObject
*swig_obj
[1] ;
28511 if (!args
) SWIG_fail
;
28512 swig_obj
[0] = args
;
28513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28514 if (!SWIG_IsOK(res1
)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28517 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 (arg1
)->CreateControlBar();
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_Py_Void();
28531 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 PyObject
*resultobj
= 0;
28533 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28536 PyObject
*swig_obj
[1] ;
28538 if (!args
) SWIG_fail
;
28539 swig_obj
[0] = args
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28544 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 (arg1
)->CreateCanvas();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_Py_Void();
28558 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28559 PyObject
*resultobj
= 0;
28560 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28561 wxPreviewControlBar
*result
= 0 ;
28564 PyObject
*swig_obj
[1] ;
28566 if (!args
) SWIG_fail
;
28567 swig_obj
[0] = args
;
28568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28569 if (!SWIG_IsOK(res1
)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28572 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28586 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28589 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28590 return SWIG_Py_Void();
28593 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28594 return SWIG_Python_InitShadowInstance(args
);
28597 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
= 0;
28599 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28601 wxWindow
*arg3
= (wxWindow
*) 0 ;
28602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28606 long arg6
= (long) wxTAB_TRAVERSAL
;
28607 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28608 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28609 wxPreviewControlBar
*result
= 0 ;
28620 bool temp7
= false ;
28621 PyObject
* obj0
= 0 ;
28622 PyObject
* obj1
= 0 ;
28623 PyObject
* obj2
= 0 ;
28624 PyObject
* obj3
= 0 ;
28625 PyObject
* obj4
= 0 ;
28626 PyObject
* obj5
= 0 ;
28627 PyObject
* obj6
= 0 ;
28628 char * kwnames
[] = {
28629 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28634 if (!SWIG_IsOK(res1
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28637 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28639 if (!SWIG_IsOK(ecode2
)) {
28640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28642 arg2
= static_cast< long >(val2
);
28643 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28644 if (!SWIG_IsOK(res3
)) {
28645 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28647 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28661 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28662 if (!SWIG_IsOK(ecode6
)) {
28663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28665 arg6
= static_cast< long >(val6
);
28669 arg7
= wxString_in_helper(obj6
);
28670 if (arg7
== NULL
) SWIG_fail
;
28675 if (!wxPyCheckForApp()) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28696 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28697 PyObject
*resultobj
= 0;
28698 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28702 PyObject
*swig_obj
[1] ;
28704 if (!args
) SWIG_fail
;
28705 swig_obj
[0] = args
;
28706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28707 if (!SWIG_IsOK(res1
)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28710 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (int)(arg1
)->GetZoomControl();
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_From_int(static_cast< int >(result
));
28724 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
= 0;
28726 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char * kwnames
[] = {
28735 (char *) "self",(char *) "zoom", NULL
28738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28743 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28745 if (!SWIG_IsOK(ecode2
)) {
28746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28748 arg2
= static_cast< int >(val2
);
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 (arg1
)->SetZoomControl(arg2
);
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_Py_Void();
28762 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28763 PyObject
*resultobj
= 0;
28764 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28765 wxPrintPreview
*result
= 0 ;
28768 PyObject
*swig_obj
[1] ;
28770 if (!args
) SWIG_fail
;
28771 swig_obj
[0] = args
;
28772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28773 if (!SWIG_IsOK(res1
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28776 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28790 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28791 PyObject
*resultobj
= 0;
28792 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28795 PyObject
*swig_obj
[1] ;
28797 if (!args
) SWIG_fail
;
28798 swig_obj
[0] = args
;
28799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28800 if (!SWIG_IsOK(res1
)) {
28801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28803 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_Py_Void();
28817 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 PyObject
*resultobj
= 0;
28819 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28822 PyObject
*swig_obj
[1] ;
28824 if (!args
) SWIG_fail
;
28825 swig_obj
[0] = args
;
28826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28827 if (!SWIG_IsOK(res1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28830 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 (arg1
)->OnPrevious();
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= SWIG_Py_Void();
28844 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 PyObject
*resultobj
= 0;
28846 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28849 PyObject
*swig_obj
[1] ;
28851 if (!args
) SWIG_fail
;
28852 swig_obj
[0] = args
;
28853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28854 if (!SWIG_IsOK(res1
)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28857 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= SWIG_Py_Void();
28871 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28872 PyObject
*resultobj
= 0;
28873 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28876 PyObject
*swig_obj
[1] ;
28878 if (!args
) SWIG_fail
;
28879 swig_obj
[0] = args
;
28880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28884 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_Py_Void();
28898 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28899 PyObject
*resultobj
= 0;
28900 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28903 PyObject
*swig_obj
[1] ;
28905 if (!args
) SWIG_fail
;
28906 swig_obj
[0] = args
;
28907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28908 if (!SWIG_IsOK(res1
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28911 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_Py_Void();
28925 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28928 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28929 return SWIG_Py_Void();
28932 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28933 return SWIG_Python_InitShadowInstance(args
);
28936 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28937 PyObject
*resultobj
= 0;
28938 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28939 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28940 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28941 wxPrintPreview
*result
= 0 ;
28947 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28948 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28949 if (!SWIG_IsOK(res1
)) {
28950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28952 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28953 if (!SWIG_IsOK(res2
)) {
28954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28957 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28958 if (!SWIG_IsOK(res3
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28961 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28964 if (!wxPyCheckForApp()) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28977 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28978 PyObject
*resultobj
= 0;
28979 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28980 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28981 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28982 wxPrintPreview
*result
= 0 ;
28988 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28989 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28990 if (!SWIG_IsOK(res1
)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28993 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28994 if (!SWIG_IsOK(res2
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28997 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28998 if (!SWIG_IsOK(res3
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29001 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29003 if (!wxPyCheckForApp()) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29016 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29020 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29022 if ((argc
>= 2) && (argc
<= 3)) {
29027 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29028 _v
= SWIG_CheckState(res
);
29030 if (!_v
) goto check_1
;
29032 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29037 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29041 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29046 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29047 PyObject
*resultobj
= 0;
29048 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29051 PyObject
*swig_obj
[1] ;
29053 if (!args
) SWIG_fail
;
29054 swig_obj
[0] = args
;
29055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29056 if (!SWIG_IsOK(res1
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29059 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 resultobj
= SWIG_Py_Void();
29074 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
= 0;
29076 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 char * kwnames
[] = {
29086 (char *) "self",(char *) "pageNum", NULL
29089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29094 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29096 if (!SWIG_IsOK(ecode2
)) {
29097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29099 arg2
= static_cast< int >(val2
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29115 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29116 PyObject
*resultobj
= 0;
29117 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29121 PyObject
*swig_obj
[1] ;
29123 if (!args
) SWIG_fail
;
29124 swig_obj
[0] = args
;
29125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29129 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 result
= (int)(arg1
)->GetCurrentPage();
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= SWIG_From_int(static_cast< int >(result
));
29143 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
= 0;
29145 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29146 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 char * kwnames
[] = {
29153 (char *) "self",(char *) "printout", NULL
29156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29158 if (!SWIG_IsOK(res1
)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29161 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29162 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29163 if (!SWIG_IsOK(res2
)) {
29164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 (arg1
)->SetPrintout(arg2
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 resultobj
= SWIG_Py_Void();
29179 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29180 PyObject
*resultobj
= 0;
29181 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29182 wxPyPrintout
*result
= 0 ;
29185 PyObject
*swig_obj
[1] ;
29187 if (!args
) SWIG_fail
;
29188 swig_obj
[0] = args
;
29189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29190 if (!SWIG_IsOK(res1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29193 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= wxPyMake_wxObject(result
, 0);
29209 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29210 PyObject
*resultobj
= 0;
29211 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29212 wxPyPrintout
*result
= 0 ;
29215 PyObject
*swig_obj
[1] ;
29217 if (!args
) SWIG_fail
;
29218 swig_obj
[0] = args
;
29219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29220 if (!SWIG_IsOK(res1
)) {
29221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29223 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= wxPyMake_wxObject(result
, 0);
29239 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
= 0;
29241 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29242 wxFrame
*arg2
= (wxFrame
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 char * kwnames
[] = {
29250 (char *) "self",(char *) "frame", NULL
29253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29255 if (!SWIG_IsOK(res1
)) {
29256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29258 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29260 if (!SWIG_IsOK(res2
)) {
29261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29263 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 (arg1
)->SetFrame(arg2
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_Py_Void();
29277 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= 0;
29279 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29280 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char * kwnames
[] = {
29288 (char *) "self",(char *) "canvas", NULL
29291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29296 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29298 if (!SWIG_IsOK(res2
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29301 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 (arg1
)->SetCanvas(arg2
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_Py_Void();
29315 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29316 PyObject
*resultobj
= 0;
29317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29318 wxFrame
*result
= 0 ;
29321 PyObject
*swig_obj
[1] ;
29323 if (!args
) SWIG_fail
;
29324 swig_obj
[0] = args
;
29325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29326 if (!SWIG_IsOK(res1
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29329 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (wxFrame
*)(arg1
)->GetFrame();
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= wxPyMake_wxObject(result
, 0);
29345 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29346 PyObject
*resultobj
= 0;
29347 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29348 wxPreviewCanvas
*result
= 0 ;
29351 PyObject
*swig_obj
[1] ;
29353 if (!args
) SWIG_fail
;
29354 swig_obj
[0] = args
;
29355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29359 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29373 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29374 PyObject
*resultobj
= 0;
29375 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29376 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29385 PyObject
* obj0
= 0 ;
29386 PyObject
* obj1
= 0 ;
29387 PyObject
* obj2
= 0 ;
29388 char * kwnames
[] = {
29389 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29394 if (!SWIG_IsOK(res1
)) {
29395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29397 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29399 if (!SWIG_IsOK(res2
)) {
29400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29402 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29403 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29404 if (!SWIG_IsOK(res3
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29410 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29414 wxPyEndAllowThreads(__tstate
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29426 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
= 0;
29428 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29429 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 PyObject
* obj2
= 0 ;
29441 char * kwnames
[] = {
29442 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29447 if (!SWIG_IsOK(res1
)) {
29448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29450 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29452 if (!SWIG_IsOK(res2
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29455 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29456 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29457 if (!SWIG_IsOK(res3
)) {
29458 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29463 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29479 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
= 0;
29481 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29488 PyObject
* obj0
= 0 ;
29489 PyObject
* obj1
= 0 ;
29490 char * kwnames
[] = {
29491 (char *) "self",(char *) "pageNum", NULL
29494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29496 if (!SWIG_IsOK(res1
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29499 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29501 if (!SWIG_IsOK(ecode2
)) {
29502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29504 arg2
= static_cast< int >(val2
);
29506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29507 result
= (bool)(arg1
)->RenderPage(arg2
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29520 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
= 0;
29522 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29523 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 char * kwnames
[] = {
29531 (char *) "self",(char *) "canvas", NULL
29534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29536 if (!SWIG_IsOK(res1
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29539 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29541 if (!SWIG_IsOK(res2
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29544 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 (arg1
)->AdjustScrollbars(arg2
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= SWIG_Py_Void();
29558 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29559 PyObject
*resultobj
= 0;
29560 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29561 wxPrintDialogData
*result
= 0 ;
29564 PyObject
*swig_obj
[1] ;
29566 if (!args
) SWIG_fail
;
29567 swig_obj
[0] = args
;
29568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29572 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29577 result
= (wxPrintDialogData
*) &_result_ref
;
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29589 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
= 0;
29591 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 char * kwnames
[] = {
29600 (char *) "self",(char *) "percent", NULL
29603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29605 if (!SWIG_IsOK(res1
)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29608 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29610 if (!SWIG_IsOK(ecode2
)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29613 arg2
= static_cast< int >(val2
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 (arg1
)->SetZoom(arg2
);
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_Py_Void();
29627 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29633 PyObject
*swig_obj
[1] ;
29635 if (!args
) SWIG_fail
;
29636 swig_obj
[0] = args
;
29637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29641 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (int)(arg1
)->GetZoom();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_From_int(static_cast< int >(result
));
29655 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29656 PyObject
*resultobj
= 0;
29657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29661 PyObject
*swig_obj
[1] ;
29663 if (!args
) SWIG_fail
;
29664 swig_obj
[0] = args
;
29665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29666 if (!SWIG_IsOK(res1
)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29669 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= (int)(arg1
)->GetMaxPage();
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= SWIG_From_int(static_cast< int >(result
));
29683 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29684 PyObject
*resultobj
= 0;
29685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29689 PyObject
*swig_obj
[1] ;
29691 if (!args
) SWIG_fail
;
29692 swig_obj
[0] = args
;
29693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29694 if (!SWIG_IsOK(res1
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29697 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (int)(arg1
)->GetMinPage();
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= SWIG_From_int(static_cast< int >(result
));
29711 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29712 PyObject
*resultobj
= 0;
29713 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29717 PyObject
*swig_obj
[1] ;
29719 if (!args
) SWIG_fail
;
29720 swig_obj
[0] = args
;
29721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29725 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (bool)(arg1
)->Ok();
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29741 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
= 0;
29743 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 char * kwnames
[] = {
29752 (char *) "self",(char *) "ok", NULL
29755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29760 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29761 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29762 if (!SWIG_IsOK(ecode2
)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29765 arg2
= static_cast< bool >(val2
);
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 (arg1
)->SetOk(arg2
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= SWIG_Py_Void();
29779 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= 0;
29781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29788 PyObject
* obj0
= 0 ;
29789 PyObject
* obj1
= 0 ;
29790 char * kwnames
[] = {
29791 (char *) "self",(char *) "interactive", NULL
29794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29796 if (!SWIG_IsOK(res1
)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29799 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29800 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29801 if (!SWIG_IsOK(ecode2
)) {
29802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29804 arg2
= static_cast< bool >(val2
);
29806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29807 result
= (bool)(arg1
)->Print(arg2
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29820 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29821 PyObject
*resultobj
= 0;
29822 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29825 PyObject
*swig_obj
[1] ;
29827 if (!args
) SWIG_fail
;
29828 swig_obj
[0] = args
;
29829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29833 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 (arg1
)->DetermineScaling();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= SWIG_Py_Void();
29847 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29850 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29851 return SWIG_Py_Void();
29854 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29855 return SWIG_Python_InitShadowInstance(args
);
29858 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29859 PyObject
*resultobj
= 0;
29860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29861 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29862 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29863 wxPyPrintPreview
*result
= 0 ;
29869 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29870 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29871 if (!SWIG_IsOK(res1
)) {
29872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29874 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29875 if (!SWIG_IsOK(res2
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29879 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29880 if (!SWIG_IsOK(res3
)) {
29881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29883 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29886 if (!wxPyCheckForApp()) SWIG_fail
;
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29899 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29900 PyObject
*resultobj
= 0;
29901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29902 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29903 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29904 wxPyPrintPreview
*result
= 0 ;
29910 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29911 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29912 if (!SWIG_IsOK(res1
)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29915 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29916 if (!SWIG_IsOK(res2
)) {
29917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29919 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29920 if (!SWIG_IsOK(res3
)) {
29921 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29923 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29925 if (!wxPyCheckForApp()) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29938 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29942 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29944 if ((argc
>= 2) && (argc
<= 3)) {
29949 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29950 _v
= SWIG_CheckState(res
);
29952 if (!_v
) goto check_1
;
29954 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29959 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29963 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29968 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
= 0;
29970 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29971 PyObject
*arg2
= (PyObject
*) 0 ;
29972 PyObject
*arg3
= (PyObject
*) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 PyObject
* obj2
= 0 ;
29978 char * kwnames
[] = {
29979 (char *) "self",(char *) "self",(char *) "_class", NULL
29982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29984 if (!SWIG_IsOK(res1
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29987 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_Py_Void();
30003 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30007 return SWIG_Py_Void();
30010 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30011 return SWIG_Python_InitShadowInstance(args
);
30014 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30015 PyObject
*resultobj
= 0;
30016 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30017 wxFrame
*arg2
= (wxFrame
*) 0 ;
30018 wxString
*arg3
= 0 ;
30019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30023 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30024 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30026 wxPyPreviewFrame
*result
= 0 ;
30031 bool temp3
= false ;
30036 bool temp7
= false ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 PyObject
* obj2
= 0 ;
30040 PyObject
* obj3
= 0 ;
30041 PyObject
* obj4
= 0 ;
30042 PyObject
* obj5
= 0 ;
30043 PyObject
* obj6
= 0 ;
30044 char * kwnames
[] = {
30045 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30050 if (!SWIG_IsOK(res1
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30053 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30055 if (!SWIG_IsOK(res2
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30058 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30060 arg3
= wxString_in_helper(obj2
);
30061 if (arg3
== NULL
) SWIG_fail
;
30067 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30073 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30077 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30078 if (!SWIG_IsOK(ecode6
)) {
30079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30081 arg6
= static_cast< long >(val6
);
30085 arg7
= wxString_in_helper(obj6
);
30086 if (arg7
== NULL
) SWIG_fail
;
30091 if (!wxPyCheckForApp()) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30120 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
= 0;
30122 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30123 PyObject
*arg2
= (PyObject
*) 0 ;
30124 PyObject
*arg3
= (PyObject
*) 0 ;
30127 PyObject
* obj0
= 0 ;
30128 PyObject
* obj1
= 0 ;
30129 PyObject
* obj2
= 0 ;
30130 char * kwnames
[] = {
30131 (char *) "self",(char *) "self",(char *) "_class", NULL
30134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30136 if (!SWIG_IsOK(res1
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30139 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_Py_Void();
30155 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
= 0;
30157 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30158 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30163 PyObject
* obj0
= 0 ;
30164 PyObject
* obj1
= 0 ;
30165 char * kwnames
[] = {
30166 (char *) "self",(char *) "canvas", NULL
30169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30171 if (!SWIG_IsOK(res1
)) {
30172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30174 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30176 if (!SWIG_IsOK(res2
)) {
30177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30179 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 (arg1
)->SetPreviewCanvas(arg2
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= SWIG_Py_Void();
30193 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
= 0;
30195 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30196 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char * kwnames
[] = {
30204 (char *) "self",(char *) "bar", NULL
30207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30209 if (!SWIG_IsOK(res1
)) {
30210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30212 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30214 if (!SWIG_IsOK(res2
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30217 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 (arg1
)->SetControlBar(arg2
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30224 resultobj
= SWIG_Py_Void();
30231 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30232 PyObject
*resultobj
= 0;
30233 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30236 PyObject
*swig_obj
[1] ;
30238 if (!args
) SWIG_fail
;
30239 swig_obj
[0] = args
;
30240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30244 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 (arg1
)->Initialize();
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 resultobj
= SWIG_Py_Void();
30258 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30259 PyObject
*resultobj
= 0;
30260 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30263 PyObject
*swig_obj
[1] ;
30265 if (!args
) SWIG_fail
;
30266 swig_obj
[0] = args
;
30267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30268 if (!SWIG_IsOK(res1
)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30271 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30274 (arg1
)->CreateCanvas();
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_Py_Void();
30285 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30286 PyObject
*resultobj
= 0;
30287 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30290 PyObject
*swig_obj
[1] ;
30292 if (!args
) SWIG_fail
;
30293 swig_obj
[0] = args
;
30294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30298 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->CreateControlBar();
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30316 return SWIG_Py_Void();
30319 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30320 return SWIG_Python_InitShadowInstance(args
);
30323 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
= 0;
30325 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30327 wxWindow
*arg3
= (wxWindow
*) 0 ;
30328 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30329 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30330 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30331 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30332 long arg6
= (long) 0 ;
30333 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30334 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30335 wxPyPreviewControlBar
*result
= 0 ;
30346 bool temp7
= false ;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 PyObject
* obj2
= 0 ;
30350 PyObject
* obj3
= 0 ;
30351 PyObject
* obj4
= 0 ;
30352 PyObject
* obj5
= 0 ;
30353 PyObject
* obj6
= 0 ;
30354 char * kwnames
[] = {
30355 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30363 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30364 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30365 if (!SWIG_IsOK(ecode2
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30368 arg2
= static_cast< long >(val2
);
30369 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30370 if (!SWIG_IsOK(res3
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30373 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30387 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30388 if (!SWIG_IsOK(ecode6
)) {
30389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30391 arg6
= static_cast< long >(val6
);
30395 arg7
= wxString_in_helper(obj6
);
30396 if (arg7
== NULL
) SWIG_fail
;
30401 if (!wxPyCheckForApp()) SWIG_fail
;
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30422 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30425 PyObject
*arg2
= (PyObject
*) 0 ;
30426 PyObject
*arg3
= (PyObject
*) 0 ;
30429 PyObject
* obj0
= 0 ;
30430 PyObject
* obj1
= 0 ;
30431 PyObject
* obj2
= 0 ;
30432 char * kwnames
[] = {
30433 (char *) "self",(char *) "self",(char *) "_class", NULL
30436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30438 if (!SWIG_IsOK(res1
)) {
30439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30441 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_Py_Void();
30457 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
= 0;
30459 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30460 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30465 PyObject
* obj0
= 0 ;
30466 PyObject
* obj1
= 0 ;
30467 char * kwnames
[] = {
30468 (char *) "self",(char *) "preview", NULL
30471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30473 if (!SWIG_IsOK(res1
)) {
30474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30476 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30478 if (!SWIG_IsOK(res2
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30481 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 (arg1
)->SetPrintPreview(arg2
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= SWIG_Py_Void();
30495 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30496 PyObject
*resultobj
= 0;
30497 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30500 PyObject
*swig_obj
[1] ;
30502 if (!args
) SWIG_fail
;
30503 swig_obj
[0] = args
;
30504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30505 if (!SWIG_IsOK(res1
)) {
30506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30508 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 (arg1
)->CreateButtons();
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 resultobj
= SWIG_Py_Void();
30522 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
= 0;
30524 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30530 PyObject
* obj0
= 0 ;
30531 PyObject
* obj1
= 0 ;
30532 char * kwnames
[] = {
30533 (char *) "self",(char *) "zoom", NULL
30536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30538 if (!SWIG_IsOK(res1
)) {
30539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30541 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30543 if (!SWIG_IsOK(ecode2
)) {
30544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30546 arg2
= static_cast< int >(val2
);
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 (arg1
)->SetZoomControl(arg2
);
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_Py_Void();
30560 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30563 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30564 return SWIG_Py_Void();
30567 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30568 return SWIG_Python_InitShadowInstance(args
);
30571 static PyMethodDef SwigMethods
[] = {
30572 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30574 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30576 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30578 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30579 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30581 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30588 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30590 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30592 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30593 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30594 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30595 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30596 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30599 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30601 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30604 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30605 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30607 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30609 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30610 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30611 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30612 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30616 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30618 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30621 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30623 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30625 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30627 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30629 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30631 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30634 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30641 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30643 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30648 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30649 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30651 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30654 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30656 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30658 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30662 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30663 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30666 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30667 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30669 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30671 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30672 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30675 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30676 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30677 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30679 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30680 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30681 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30682 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30683 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30685 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30688 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30697 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30698 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30700 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30701 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30703 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30705 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30706 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30708 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30714 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30715 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30718 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30719 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30721 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30723 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30725 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30727 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30729 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30731 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30732 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30735 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30736 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30737 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30738 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30739 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30740 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30742 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30750 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30752 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30755 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30756 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30759 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30760 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30762 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30763 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30764 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30767 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30769 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30771 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30772 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30773 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30776 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30778 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30780 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30782 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30784 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30785 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30786 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30789 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30791 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30792 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30793 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30795 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30797 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30798 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30802 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30803 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30804 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30805 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30809 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30810 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30812 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30813 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30814 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30816 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30817 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30818 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30821 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30822 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30823 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30825 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30834 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30835 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30836 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30837 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30839 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30840 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30843 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30844 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30846 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30849 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30850 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30851 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30854 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30855 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30857 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30858 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30860 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30865 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30866 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30872 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30873 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30875 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30879 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30881 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30882 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30883 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30884 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30886 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30887 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30888 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30890 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30892 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30893 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30895 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30896 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30897 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30898 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30899 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30900 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30905 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30906 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30908 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30909 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30910 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30913 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30914 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30917 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30918 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30926 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30927 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30928 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30929 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30930 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30931 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30932 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30933 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30934 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30935 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30938 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30939 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30940 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30942 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30943 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30945 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30946 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30948 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30950 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30951 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30953 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30954 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
30956 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30957 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30958 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30959 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30960 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30962 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30963 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30964 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30965 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30966 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30967 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30974 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30975 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30977 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30978 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30979 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30982 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30983 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30986 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30987 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30988 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30990 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30991 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30992 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30993 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30997 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30998 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31000 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31001 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31002 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31003 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31007 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31008 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31010 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31012 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31014 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31015 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31017 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31019 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31020 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31021 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31022 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31023 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31024 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31025 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31027 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31028 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31030 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31032 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31033 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31034 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31036 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31038 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31039 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31041 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31049 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31050 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31051 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31052 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31053 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31054 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31055 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31056 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31057 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31059 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31067 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31068 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31069 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31070 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31071 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31072 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31073 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31074 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31075 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31077 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31085 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31086 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31087 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31088 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31089 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31090 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31091 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31092 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31093 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31094 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31095 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31096 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31097 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31098 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31099 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31100 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31101 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31102 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31103 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31104 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31105 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31106 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31107 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31119 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31121 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31123 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31124 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31125 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31126 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31132 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31133 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31134 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31135 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31136 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31137 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31138 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31139 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31140 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31141 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31142 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31143 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31144 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31145 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31146 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31156 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31157 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31158 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31159 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31161 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31162 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31163 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31164 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31165 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31166 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31167 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31168 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31169 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31170 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31171 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31172 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31173 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31174 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31175 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31176 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31177 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31191 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31192 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31193 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31194 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31195 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31196 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31198 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31199 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31201 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31202 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31203 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31204 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31205 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31206 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31207 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31209 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31215 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31216 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31217 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31218 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31219 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31221 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31223 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31224 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31227 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31229 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31231 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31233 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31234 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31237 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31238 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31239 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31240 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31242 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31243 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31244 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31246 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31247 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31249 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31250 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31251 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31252 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31253 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31254 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31256 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31258 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31259 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31260 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31261 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31262 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31263 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31264 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31265 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31266 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31267 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31269 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31271 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31272 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31275 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31276 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31281 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31283 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31284 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31285 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31286 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31289 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31290 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31291 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31292 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31294 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31295 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31300 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31301 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31302 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31303 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31304 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31308 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31310 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31311 { NULL
, NULL
, 0, NULL
}
31315 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31317 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31318 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31320 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31323 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31324 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31326 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31327 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31329 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31330 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31332 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31333 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31335 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31336 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31338 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31339 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31341 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31342 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31344 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31345 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31347 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31350 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31351 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31353 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31354 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31356 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31357 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31359 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31360 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31362 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31365 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31366 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31368 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31369 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31371 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31372 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31374 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31375 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31377 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31378 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31380 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31381 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31383 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31386 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31389 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31390 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31392 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31393 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31395 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31398 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31399 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31401 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31402 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31404 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31405 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31407 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31408 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31410 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31411 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31413 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31414 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31416 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31417 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31419 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31420 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31422 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31423 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31425 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31426 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31428 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31429 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31431 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31432 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31434 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31435 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31437 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31438 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31440 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31441 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31443 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31444 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31446 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31447 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31449 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31450 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31452 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31453 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31455 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31458 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31461 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31464 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31465 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31467 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31468 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31470 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31471 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31473 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31474 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31476 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31479 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31482 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31485 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31488 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31491 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31494 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31497 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31500 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31503 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31506 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31509 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31512 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31515 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31518 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31519 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31521 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31524 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31527 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31528 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31530 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31533 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31534 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31536 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31539 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31540 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31542 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31543 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31545 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31548 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31549 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31551 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31554 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31557 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31560 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31561 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31563 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31566 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31567 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31569 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31572 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31575 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31578 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31581 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31584 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31585 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31587 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31590 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31593 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31596 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31599 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31602 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31605 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31606 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31608 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31609 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31611 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31612 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31614 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31615 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31617 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31618 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31620 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31621 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31623 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31624 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31626 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31627 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31629 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31630 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31632 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31635 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31638 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31641 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31644 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31647 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31650 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31653 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31656 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31659 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31662 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) ((wxSizer
*) x
));
31665 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31668 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31671 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31674 static void *_p_wxEventTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) ((wxEvent
*) x
));
31677 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) ((wxFontData
*) x
));
31680 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31683 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31686 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31689 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31692 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31695 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31698 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31701 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31704 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31707 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31710 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31713 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31716 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31719 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31722 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31725 static void *_p_wxControlTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31728 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31731 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31734 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31737 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31740 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31743 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31746 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) ((wxColourData
*) x
));
31749 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31752 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31755 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31758 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31761 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31764 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31767 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31770 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31773 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31776 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31779 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31782 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31785 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31788 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31791 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31794 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31797 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31800 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31803 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31806 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31809 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31812 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31815 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31818 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31821 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31824 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31827 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31830 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31833 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31836 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31839 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31842 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31845 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31848 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31851 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31854 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31857 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31860 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31863 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31866 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31869 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31872 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31875 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31878 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31881 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31884 static void *_p_wxImageTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) ((wxImage
*) x
));
31887 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31890 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31893 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31896 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31899 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31902 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31905 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31908 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31911 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31914 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31915 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31917 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31918 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31920 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31923 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31926 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31929 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31932 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31935 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31938 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31941 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31944 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31947 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31950 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31953 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31956 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31959 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31962 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31963 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31965 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31966 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31968 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31971 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31974 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31977 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31980 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31983 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31984 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31986 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31987 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31989 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31990 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31992 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31995 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31996 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31998 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31999 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32001 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32002 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32004 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32005 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32007 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32008 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32010 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32013 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32014 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32016 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32019 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32022 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32023 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32025 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32026 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32028 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32031 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32034 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32035 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32037 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32038 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32040 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32043 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32046 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32047 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32049 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32050 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32052 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32053 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32055 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32056 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32058 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32059 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32061 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32062 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32064 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32065 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32067 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32068 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32070 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32071 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32073 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32074 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32076 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32077 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32079 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32080 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32082 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32083 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32085 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32086 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32088 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32089 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32091 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32092 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32094 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32095 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32097 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32098 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32100 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32101 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32103 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32104 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32106 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32107 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32109 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32110 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32112 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32113 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32115 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32116 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32118 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32119 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32121 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32122 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32124 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32125 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32127 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32128 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32130 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32131 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32133 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32136 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32137 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32139 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32142 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32145 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32148 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32149 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32151 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32152 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32154 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32155 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32157 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32158 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32160 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32161 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32163 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32164 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32166 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32167 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32169 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32170 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32172 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32173 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32175 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32176 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32178 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32179 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32181 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32182 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32184 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32185 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32187 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32188 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32190 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32191 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32193 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32194 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32196 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32197 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32199 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32200 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32202 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32203 return (void *)((wxWindow
*) ((wxControl
*) x
));
32205 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32206 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32208 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32209 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32211 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32212 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32214 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32215 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32217 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32218 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32220 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32221 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32223 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32224 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32226 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32227 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32229 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32230 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32232 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32233 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32235 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32236 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32238 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32241 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32242 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32244 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32245 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32247 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32248 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32250 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32251 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32253 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32254 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32256 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32257 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32259 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32260 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32262 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32263 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32265 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32266 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32268 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32269 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32271 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32272 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32274 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32275 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32277 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32278 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32280 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32281 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32283 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32284 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32286 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32287 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32289 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32290 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32292 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32293 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32295 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32296 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32298 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32299 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32301 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32302 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32304 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32305 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32307 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32308 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32310 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32311 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32313 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32314 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32316 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32317 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32319 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32320 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32322 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32323 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32325 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32326 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32328 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32329 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32331 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32332 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32334 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32335 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32337 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32338 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32340 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32341 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32343 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32344 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32346 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32347 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32349 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32350 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32352 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32353 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32355 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32356 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32358 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32359 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32361 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32362 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32364 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32366 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};
32367 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32376 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32377 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32382 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32384 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32385 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32393 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32394 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32395 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32396 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32397 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32398 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32399 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32400 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32401 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32402 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32404 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32405 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32406 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32418 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32424 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32425 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32426 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32427 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32428 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32429 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32430 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32431 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32432 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32433 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32434 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32448 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32449 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32450 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32451 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32452 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32453 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32454 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32455 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32456 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32457 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32458 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32459 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32460 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32461 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32462 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32463 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32464 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32465 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32466 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32467 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32468 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32469 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32470 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32471 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32472 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32473 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32474 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32475 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32493 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32494 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32495 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32496 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32497 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32498 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32500 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32501 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32502 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32503 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32505 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32506 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32513 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32514 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32515 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32516 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32517 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32518 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32519 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32520 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32521 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32522 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32523 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32524 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32525 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32526 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32527 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32529 static swig_type_info
*swig_type_initial
[] = {
32532 &_swigt__p_form_ops_t
,
32534 &_swigt__p_unsigned_char
,
32535 &_swigt__p_unsigned_int
,
32536 &_swigt__p_unsigned_long
,
32537 &_swigt__p_wxANIHandler
,
32538 &_swigt__p_wxAcceleratorTable
,
32539 &_swigt__p_wxActivateEvent
,
32540 &_swigt__p_wxArrayInt
,
32541 &_swigt__p_wxBMPHandler
,
32542 &_swigt__p_wxBitmap
,
32543 &_swigt__p_wxBoxSizer
,
32544 &_swigt__p_wxCURHandler
,
32545 &_swigt__p_wxCalculateLayoutEvent
,
32546 &_swigt__p_wxChildFocusEvent
,
32547 &_swigt__p_wxClipboardTextEvent
,
32548 &_swigt__p_wxCloseEvent
,
32549 &_swigt__p_wxColour
,
32550 &_swigt__p_wxColourData
,
32551 &_swigt__p_wxColourDialog
,
32552 &_swigt__p_wxCommandEvent
,
32553 &_swigt__p_wxContextMenuEvent
,
32554 &_swigt__p_wxControl
,
32555 &_swigt__p_wxControlWithItems
,
32557 &_swigt__p_wxDateEvent
,
32558 &_swigt__p_wxDialog
,
32559 &_swigt__p_wxDirDialog
,
32560 &_swigt__p_wxDisplayChangedEvent
,
32561 &_swigt__p_wxDropFilesEvent
,
32562 &_swigt__p_wxDuplexMode
,
32563 &_swigt__p_wxEraseEvent
,
32564 &_swigt__p_wxEvent
,
32565 &_swigt__p_wxEvtHandler
,
32566 &_swigt__p_wxFSFile
,
32567 &_swigt__p_wxFileDialog
,
32568 &_swigt__p_wxFileSystem
,
32569 &_swigt__p_wxFindDialogEvent
,
32570 &_swigt__p_wxFindReplaceData
,
32571 &_swigt__p_wxFindReplaceDialog
,
32572 &_swigt__p_wxFlexGridSizer
,
32573 &_swigt__p_wxFocusEvent
,
32575 &_swigt__p_wxFontData
,
32576 &_swigt__p_wxFontDialog
,
32577 &_swigt__p_wxFrame
,
32578 &_swigt__p_wxGBSizerItem
,
32579 &_swigt__p_wxGIFHandler
,
32580 &_swigt__p_wxGridBagSizer
,
32581 &_swigt__p_wxGridSizer
,
32582 &_swigt__p_wxHtmlLinkInfo
,
32583 &_swigt__p_wxICOHandler
,
32585 &_swigt__p_wxIconBundle
,
32586 &_swigt__p_wxIconizeEvent
,
32587 &_swigt__p_wxIdleEvent
,
32588 &_swigt__p_wxImage
,
32589 &_swigt__p_wxImageHandler
,
32590 &_swigt__p_wxIndividualLayoutConstraint
,
32591 &_swigt__p_wxInitDialogEvent
,
32592 &_swigt__p_wxJPEGHandler
,
32593 &_swigt__p_wxKeyEvent
,
32594 &_swigt__p_wxLayoutAlgorithm
,
32595 &_swigt__p_wxLayoutConstraints
,
32596 &_swigt__p_wxMDIChildFrame
,
32597 &_swigt__p_wxMDIClientWindow
,
32598 &_swigt__p_wxMDIParentFrame
,
32599 &_swigt__p_wxMaximizeEvent
,
32601 &_swigt__p_wxMenuBar
,
32602 &_swigt__p_wxMenuEvent
,
32603 &_swigt__p_wxMenuItem
,
32604 &_swigt__p_wxMessageDialog
,
32605 &_swigt__p_wxMiniFrame
,
32606 &_swigt__p_wxMouseCaptureChangedEvent
,
32607 &_swigt__p_wxMouseEvent
,
32608 &_swigt__p_wxMoveEvent
,
32609 &_swigt__p_wxMultiChoiceDialog
,
32610 &_swigt__p_wxNavigationKeyEvent
,
32611 &_swigt__p_wxNcPaintEvent
,
32612 &_swigt__p_wxNotifyEvent
,
32613 &_swigt__p_wxNumberEntryDialog
,
32614 &_swigt__p_wxObject
,
32615 &_swigt__p_wxPCXHandler
,
32616 &_swigt__p_wxPNGHandler
,
32617 &_swigt__p_wxPNMHandler
,
32618 &_swigt__p_wxPageSetupDialog
,
32619 &_swigt__p_wxPageSetupDialogData
,
32620 &_swigt__p_wxPaintEvent
,
32621 &_swigt__p_wxPaletteChangedEvent
,
32622 &_swigt__p_wxPanel
,
32623 &_swigt__p_wxPaperSize
,
32624 &_swigt__p_wxPasswordEntryDialog
,
32625 &_swigt__p_wxPoint
,
32626 &_swigt__p_wxPopupWindow
,
32627 &_swigt__p_wxPreviewCanvas
,
32628 &_swigt__p_wxPreviewControlBar
,
32629 &_swigt__p_wxPreviewFrame
,
32630 &_swigt__p_wxPrintData
,
32631 &_swigt__p_wxPrintDialog
,
32632 &_swigt__p_wxPrintDialogData
,
32633 &_swigt__p_wxPrintPreview
,
32634 &_swigt__p_wxPrinter
,
32635 &_swigt__p_wxProgressDialog
,
32636 &_swigt__p_wxPyApp
,
32637 &_swigt__p_wxPyCommandEvent
,
32638 &_swigt__p_wxPyEvent
,
32639 &_swigt__p_wxPyHtmlListBox
,
32640 &_swigt__p_wxPyImageHandler
,
32641 &_swigt__p_wxPyPanel
,
32642 &_swigt__p_wxPyPopupTransientWindow
,
32643 &_swigt__p_wxPyPreviewControlBar
,
32644 &_swigt__p_wxPyPreviewFrame
,
32645 &_swigt__p_wxPyPrintPreview
,
32646 &_swigt__p_wxPyPrintout
,
32647 &_swigt__p_wxPyScrolledWindow
,
32648 &_swigt__p_wxPySizer
,
32649 &_swigt__p_wxPyTaskBarIcon
,
32650 &_swigt__p_wxPyVListBox
,
32651 &_swigt__p_wxPyVScrolledWindow
,
32652 &_swigt__p_wxPyValidator
,
32653 &_swigt__p_wxPyWindow
,
32654 &_swigt__p_wxQueryLayoutInfoEvent
,
32655 &_swigt__p_wxQueryNewPaletteEvent
,
32657 &_swigt__p_wxRegion
,
32658 &_swigt__p_wxSashEvent
,
32659 &_swigt__p_wxSashLayoutWindow
,
32660 &_swigt__p_wxSashWindow
,
32661 &_swigt__p_wxScrollEvent
,
32662 &_swigt__p_wxScrollWinEvent
,
32663 &_swigt__p_wxScrolledWindow
,
32664 &_swigt__p_wxSetCursorEvent
,
32665 &_swigt__p_wxShowEvent
,
32666 &_swigt__p_wxSingleChoiceDialog
,
32668 &_swigt__p_wxSizeEvent
,
32669 &_swigt__p_wxSizer
,
32670 &_swigt__p_wxSizerItem
,
32671 &_swigt__p_wxSplashScreen
,
32672 &_swigt__p_wxSplashScreenWindow
,
32673 &_swigt__p_wxSplitterEvent
,
32674 &_swigt__p_wxSplitterWindow
,
32675 &_swigt__p_wxStaticBoxSizer
,
32676 &_swigt__p_wxStatusBar
,
32677 &_swigt__p_wxStdDialogButtonSizer
,
32678 &_swigt__p_wxString
,
32679 &_swigt__p_wxSysColourChangedEvent
,
32680 &_swigt__p_wxTIFFHandler
,
32681 &_swigt__p_wxTaskBarIcon
,
32682 &_swigt__p_wxTaskBarIconEvent
,
32683 &_swigt__p_wxTextEntryDialog
,
32684 &_swigt__p_wxTipWindow
,
32685 &_swigt__p_wxToolBar
,
32686 &_swigt__p_wxTopLevelWindow
,
32687 &_swigt__p_wxUpdateUIEvent
,
32688 &_swigt__p_wxValidator
,
32689 &_swigt__p_wxVisualAttributes
,
32690 &_swigt__p_wxWindow
,
32691 &_swigt__p_wxWindowCreateEvent
,
32692 &_swigt__p_wxWindowDestroyEvent
,
32693 &_swigt__p_wxXPMHandler
,
32696 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32718 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}};
32719 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32748 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}};
32749 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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}};
32755 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32763 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}};
32764 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32776 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}};
32777 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32806 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
32807 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32809 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}};
32810 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32813 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}};
32814 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32815 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}};
32816 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}};
32817 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32820 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}};
32821 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32823 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32824 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32825 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32826 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32832 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}};
32833 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}};
32834 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32840 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}};
32841 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32842 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}};
32843 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32854 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}};
32855 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32857 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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}};
32861 static swig_cast_info
*swig_cast_initial
[] = {
32864 _swigc__p_form_ops_t
,
32866 _swigc__p_unsigned_char
,
32867 _swigc__p_unsigned_int
,
32868 _swigc__p_unsigned_long
,
32869 _swigc__p_wxANIHandler
,
32870 _swigc__p_wxAcceleratorTable
,
32871 _swigc__p_wxActivateEvent
,
32872 _swigc__p_wxArrayInt
,
32873 _swigc__p_wxBMPHandler
,
32874 _swigc__p_wxBitmap
,
32875 _swigc__p_wxBoxSizer
,
32876 _swigc__p_wxCURHandler
,
32877 _swigc__p_wxCalculateLayoutEvent
,
32878 _swigc__p_wxChildFocusEvent
,
32879 _swigc__p_wxClipboardTextEvent
,
32880 _swigc__p_wxCloseEvent
,
32881 _swigc__p_wxColour
,
32882 _swigc__p_wxColourData
,
32883 _swigc__p_wxColourDialog
,
32884 _swigc__p_wxCommandEvent
,
32885 _swigc__p_wxContextMenuEvent
,
32886 _swigc__p_wxControl
,
32887 _swigc__p_wxControlWithItems
,
32889 _swigc__p_wxDateEvent
,
32890 _swigc__p_wxDialog
,
32891 _swigc__p_wxDirDialog
,
32892 _swigc__p_wxDisplayChangedEvent
,
32893 _swigc__p_wxDropFilesEvent
,
32894 _swigc__p_wxDuplexMode
,
32895 _swigc__p_wxEraseEvent
,
32897 _swigc__p_wxEvtHandler
,
32898 _swigc__p_wxFSFile
,
32899 _swigc__p_wxFileDialog
,
32900 _swigc__p_wxFileSystem
,
32901 _swigc__p_wxFindDialogEvent
,
32902 _swigc__p_wxFindReplaceData
,
32903 _swigc__p_wxFindReplaceDialog
,
32904 _swigc__p_wxFlexGridSizer
,
32905 _swigc__p_wxFocusEvent
,
32907 _swigc__p_wxFontData
,
32908 _swigc__p_wxFontDialog
,
32910 _swigc__p_wxGBSizerItem
,
32911 _swigc__p_wxGIFHandler
,
32912 _swigc__p_wxGridBagSizer
,
32913 _swigc__p_wxGridSizer
,
32914 _swigc__p_wxHtmlLinkInfo
,
32915 _swigc__p_wxICOHandler
,
32917 _swigc__p_wxIconBundle
,
32918 _swigc__p_wxIconizeEvent
,
32919 _swigc__p_wxIdleEvent
,
32921 _swigc__p_wxImageHandler
,
32922 _swigc__p_wxIndividualLayoutConstraint
,
32923 _swigc__p_wxInitDialogEvent
,
32924 _swigc__p_wxJPEGHandler
,
32925 _swigc__p_wxKeyEvent
,
32926 _swigc__p_wxLayoutAlgorithm
,
32927 _swigc__p_wxLayoutConstraints
,
32928 _swigc__p_wxMDIChildFrame
,
32929 _swigc__p_wxMDIClientWindow
,
32930 _swigc__p_wxMDIParentFrame
,
32931 _swigc__p_wxMaximizeEvent
,
32933 _swigc__p_wxMenuBar
,
32934 _swigc__p_wxMenuEvent
,
32935 _swigc__p_wxMenuItem
,
32936 _swigc__p_wxMessageDialog
,
32937 _swigc__p_wxMiniFrame
,
32938 _swigc__p_wxMouseCaptureChangedEvent
,
32939 _swigc__p_wxMouseEvent
,
32940 _swigc__p_wxMoveEvent
,
32941 _swigc__p_wxMultiChoiceDialog
,
32942 _swigc__p_wxNavigationKeyEvent
,
32943 _swigc__p_wxNcPaintEvent
,
32944 _swigc__p_wxNotifyEvent
,
32945 _swigc__p_wxNumberEntryDialog
,
32946 _swigc__p_wxObject
,
32947 _swigc__p_wxPCXHandler
,
32948 _swigc__p_wxPNGHandler
,
32949 _swigc__p_wxPNMHandler
,
32950 _swigc__p_wxPageSetupDialog
,
32951 _swigc__p_wxPageSetupDialogData
,
32952 _swigc__p_wxPaintEvent
,
32953 _swigc__p_wxPaletteChangedEvent
,
32955 _swigc__p_wxPaperSize
,
32956 _swigc__p_wxPasswordEntryDialog
,
32958 _swigc__p_wxPopupWindow
,
32959 _swigc__p_wxPreviewCanvas
,
32960 _swigc__p_wxPreviewControlBar
,
32961 _swigc__p_wxPreviewFrame
,
32962 _swigc__p_wxPrintData
,
32963 _swigc__p_wxPrintDialog
,
32964 _swigc__p_wxPrintDialogData
,
32965 _swigc__p_wxPrintPreview
,
32966 _swigc__p_wxPrinter
,
32967 _swigc__p_wxProgressDialog
,
32969 _swigc__p_wxPyCommandEvent
,
32970 _swigc__p_wxPyEvent
,
32971 _swigc__p_wxPyHtmlListBox
,
32972 _swigc__p_wxPyImageHandler
,
32973 _swigc__p_wxPyPanel
,
32974 _swigc__p_wxPyPopupTransientWindow
,
32975 _swigc__p_wxPyPreviewControlBar
,
32976 _swigc__p_wxPyPreviewFrame
,
32977 _swigc__p_wxPyPrintPreview
,
32978 _swigc__p_wxPyPrintout
,
32979 _swigc__p_wxPyScrolledWindow
,
32980 _swigc__p_wxPySizer
,
32981 _swigc__p_wxPyTaskBarIcon
,
32982 _swigc__p_wxPyVListBox
,
32983 _swigc__p_wxPyVScrolledWindow
,
32984 _swigc__p_wxPyValidator
,
32985 _swigc__p_wxPyWindow
,
32986 _swigc__p_wxQueryLayoutInfoEvent
,
32987 _swigc__p_wxQueryNewPaletteEvent
,
32989 _swigc__p_wxRegion
,
32990 _swigc__p_wxSashEvent
,
32991 _swigc__p_wxSashLayoutWindow
,
32992 _swigc__p_wxSashWindow
,
32993 _swigc__p_wxScrollEvent
,
32994 _swigc__p_wxScrollWinEvent
,
32995 _swigc__p_wxScrolledWindow
,
32996 _swigc__p_wxSetCursorEvent
,
32997 _swigc__p_wxShowEvent
,
32998 _swigc__p_wxSingleChoiceDialog
,
33000 _swigc__p_wxSizeEvent
,
33002 _swigc__p_wxSizerItem
,
33003 _swigc__p_wxSplashScreen
,
33004 _swigc__p_wxSplashScreenWindow
,
33005 _swigc__p_wxSplitterEvent
,
33006 _swigc__p_wxSplitterWindow
,
33007 _swigc__p_wxStaticBoxSizer
,
33008 _swigc__p_wxStatusBar
,
33009 _swigc__p_wxStdDialogButtonSizer
,
33010 _swigc__p_wxString
,
33011 _swigc__p_wxSysColourChangedEvent
,
33012 _swigc__p_wxTIFFHandler
,
33013 _swigc__p_wxTaskBarIcon
,
33014 _swigc__p_wxTaskBarIconEvent
,
33015 _swigc__p_wxTextEntryDialog
,
33016 _swigc__p_wxTipWindow
,
33017 _swigc__p_wxToolBar
,
33018 _swigc__p_wxTopLevelWindow
,
33019 _swigc__p_wxUpdateUIEvent
,
33020 _swigc__p_wxValidator
,
33021 _swigc__p_wxVisualAttributes
,
33022 _swigc__p_wxWindow
,
33023 _swigc__p_wxWindowCreateEvent
,
33024 _swigc__p_wxWindowDestroyEvent
,
33025 _swigc__p_wxXPMHandler
,
33029 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33031 static swig_const_info swig_const_table
[] = {
33032 {0, 0, 0, 0.0, 0, 0}};
33037 /* -----------------------------------------------------------------------------
33038 * Type initialization:
33039 * This problem is tough by the requirement that no dynamic
33040 * memory is used. Also, since swig_type_info structures store pointers to
33041 * swig_cast_info structures and swig_cast_info structures store pointers back
33042 * to swig_type_info structures, we need some lookup code at initialization.
33043 * The idea is that swig generates all the structures that are needed.
33044 * The runtime then collects these partially filled structures.
33045 * The SWIG_InitializeModule function takes these initial arrays out of
33046 * swig_module, and does all the lookup, filling in the swig_module.types
33047 * array with the correct data and linking the correct swig_cast_info
33048 * structures together.
33050 * The generated swig_type_info structures are assigned staticly to an initial
33051 * array. We just loop though that array, and handle each type individually.
33052 * First we lookup if this type has been already loaded, and if so, use the
33053 * loaded structure instead of the generated one. Then we have to fill in the
33054 * cast linked list. The cast data is initially stored in something like a
33055 * two-dimensional array. Each row corresponds to a type (there are the same
33056 * number of rows as there are in the swig_type_initial array). Each entry in
33057 * a column is one of the swig_cast_info structures for that type.
33058 * The cast_initial array is actually an array of arrays, because each row has
33059 * a variable number of columns. So to actually build the cast linked list,
33060 * we find the array of casts associated with the type, and loop through it
33061 * adding the casts to the list. The one last trick we need to do is making
33062 * sure the type pointer in the swig_cast_info struct is correct.
33064 * First off, we lookup the cast->type name to see if it is already loaded.
33065 * There are three cases to handle:
33066 * 1) If the cast->type has already been loaded AND the type we are adding
33067 * casting info to has not been loaded (it is in this module), THEN we
33068 * replace the cast->type pointer with the type pointer that has already
33070 * 2) If BOTH types (the one we are adding casting info to, and the
33071 * cast->type) are loaded, THEN the cast info has already been loaded by
33072 * the previous module so we just ignore it.
33073 * 3) Finally, if cast->type has not already been loaded, then we add that
33074 * swig_cast_info to the linked list (because the cast->type) pointer will
33076 * ----------------------------------------------------------------------------- */
33086 #define SWIGRUNTIME_DEBUG
33090 SWIG_InitializeModule(void *clientdata
) {
33092 swig_module_info
*module_head
;
33093 static int init_run
= 0;
33095 clientdata
= clientdata
;
33097 if (init_run
) return;
33100 /* Initialize the swig_module */
33101 swig_module
.type_initial
= swig_type_initial
;
33102 swig_module
.cast_initial
= swig_cast_initial
;
33104 /* Try and load any already created modules */
33105 module_head
= SWIG_GetModule(clientdata
);
33107 swig_module
.next
= module_head
->next
;
33108 module_head
->next
= &swig_module
;
33110 /* This is the first module loaded */
33111 swig_module
.next
= &swig_module
;
33112 SWIG_SetModule(clientdata
, &swig_module
);
33115 /* Now work on filling in swig_module.types */
33116 #ifdef SWIGRUNTIME_DEBUG
33117 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33119 for (i
= 0; i
< swig_module
.size
; ++i
) {
33120 swig_type_info
*type
= 0;
33121 swig_type_info
*ret
;
33122 swig_cast_info
*cast
;
33124 #ifdef SWIGRUNTIME_DEBUG
33125 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33128 /* if there is another module already loaded */
33129 if (swig_module
.next
!= &swig_module
) {
33130 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33133 /* Overwrite clientdata field */
33134 #ifdef SWIGRUNTIME_DEBUG
33135 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33137 if (swig_module
.type_initial
[i
]->clientdata
) {
33138 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33139 #ifdef SWIGRUNTIME_DEBUG
33140 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33144 type
= swig_module
.type_initial
[i
];
33147 /* Insert casting types */
33148 cast
= swig_module
.cast_initial
[i
];
33149 while (cast
->type
) {
33150 /* Don't need to add information already in the list */
33152 #ifdef SWIGRUNTIME_DEBUG
33153 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33155 if (swig_module
.next
!= &swig_module
) {
33156 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33157 #ifdef SWIGRUNTIME_DEBUG
33158 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33162 if (type
== swig_module
.type_initial
[i
]) {
33163 #ifdef SWIGRUNTIME_DEBUG
33164 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33169 /* Check for casting already in the list */
33170 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33171 #ifdef SWIGRUNTIME_DEBUG
33172 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33174 if (!ocast
) ret
= 0;
33179 #ifdef SWIGRUNTIME_DEBUG
33180 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33183 type
->cast
->prev
= cast
;
33184 cast
->next
= type
->cast
;
33190 /* Set entry in modules->types array equal to the type */
33191 swig_module
.types
[i
] = type
;
33193 swig_module
.types
[i
] = 0;
33195 #ifdef SWIGRUNTIME_DEBUG
33196 printf("**** SWIG_InitializeModule: Cast List ******\n");
33197 for (i
= 0; i
< swig_module
.size
; ++i
) {
33199 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33200 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33201 while (cast
->type
) {
33202 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33206 printf("---- Total casts: %d\n",j
);
33208 printf("**** SWIG_InitializeModule: Cast List ******\n");
33212 /* This function will propagate the clientdata field of type to
33213 * any new swig_type_info structures that have been added into the list
33214 * of equivalent types. It is like calling
33215 * SWIG_TypeClientData(type, clientdata) a second time.
33218 SWIG_PropagateClientData(void) {
33220 swig_cast_info
*equiv
;
33221 static int init_run
= 0;
33223 if (init_run
) return;
33226 for (i
= 0; i
< swig_module
.size
; i
++) {
33227 if (swig_module
.types
[i
]->clientdata
) {
33228 equiv
= swig_module
.types
[i
]->cast
;
33230 if (!equiv
->converter
) {
33231 if (equiv
->type
&& !equiv
->type
->clientdata
)
33232 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33234 equiv
= equiv
->next
;
33254 /* Python-specific SWIG API */
33255 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33256 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33257 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33259 /* -----------------------------------------------------------------------------
33260 * global variable support code.
33261 * ----------------------------------------------------------------------------- */
33263 typedef struct swig_globalvar
{
33264 char *name
; /* Name of global variable */
33265 PyObject
*(*get_attr
)(void); /* Return the current value */
33266 int (*set_attr
)(PyObject
*); /* Set the value */
33267 struct swig_globalvar
*next
;
33270 typedef struct swig_varlinkobject
{
33272 swig_globalvar
*vars
;
33273 } swig_varlinkobject
;
33275 SWIGINTERN PyObject
*
33276 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33277 return PyString_FromString("<Swig global variables>");
33280 SWIGINTERN PyObject
*
33281 swig_varlink_str(swig_varlinkobject
*v
) {
33282 PyObject
*str
= PyString_FromString("(");
33283 swig_globalvar
*var
;
33284 for (var
= v
->vars
; var
; var
=var
->next
) {
33285 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33286 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33288 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33293 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33294 PyObject
*str
= swig_varlink_str(v
);
33295 fprintf(fp
,"Swig global variables ");
33296 fprintf(fp
,"%s\n", PyString_AsString(str
));
33302 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33303 swig_globalvar
*var
= v
->vars
;
33305 swig_globalvar
*n
= var
->next
;
33312 SWIGINTERN PyObject
*
33313 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33314 PyObject
*res
= NULL
;
33315 swig_globalvar
*var
= v
->vars
;
33317 if (strcmp(var
->name
,n
) == 0) {
33318 res
= (*var
->get_attr
)();
33323 if (res
== NULL
&& !PyErr_Occurred()) {
33324 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33330 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33332 swig_globalvar
*var
= v
->vars
;
33334 if (strcmp(var
->name
,n
) == 0) {
33335 res
= (*var
->set_attr
)(p
);
33340 if (res
== 1 && !PyErr_Occurred()) {
33341 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33346 SWIGINTERN PyTypeObject
*
33347 swig_varlink_type(void) {
33348 static char varlink__doc__
[] = "Swig var link object";
33349 static PyTypeObject varlink_type
;
33350 static int type_init
= 0;
33352 const PyTypeObject tmp
33354 PyObject_HEAD_INIT(NULL
)
33355 0, /* Number of items in variable part (ob_size) */
33356 (char *)"swigvarlink", /* Type name (tp_name) */
33357 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33358 0, /* Itemsize (tp_itemsize) */
33359 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33360 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33361 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33362 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33363 0, /* tp_compare */
33364 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33365 0, /* tp_as_number */
33366 0, /* tp_as_sequence */
33367 0, /* tp_as_mapping */
33370 (reprfunc
)swig_varlink_str
, /* tp_str */
33371 0, /* tp_getattro */
33372 0, /* tp_setattro */
33373 0, /* tp_as_buffer */
33375 varlink__doc__
, /* tp_doc */
33376 0, /* tp_traverse */
33378 0, /* tp_richcompare */
33379 0, /* tp_weaklistoffset */
33380 #if PY_VERSION_HEX >= 0x02020000
33381 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33383 #if PY_VERSION_HEX >= 0x02030000
33386 #ifdef COUNT_ALLOCS
33387 0,0,0,0 /* tp_alloc -> tp_next */
33390 varlink_type
= tmp
;
33391 varlink_type
.ob_type
= &PyType_Type
;
33394 return &varlink_type
;
33397 /* Create a variable linking object for use later */
33398 SWIGINTERN PyObject
*
33399 SWIG_Python_newvarlink(void) {
33400 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33404 return ((PyObject
*) result
);
33408 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33409 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33410 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33412 size_t size
= strlen(name
)+1;
33413 gv
->name
= (char *)malloc(size
);
33415 strncpy(gv
->name
,name
,size
);
33416 gv
->get_attr
= get_attr
;
33417 gv
->set_attr
= set_attr
;
33418 gv
->next
= v
->vars
;
33424 SWIGINTERN PyObject
*
33426 static PyObject
*_SWIG_globals
= 0;
33427 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33428 return _SWIG_globals
;
33431 /* -----------------------------------------------------------------------------
33432 * constants/methods manipulation
33433 * ----------------------------------------------------------------------------- */
33435 /* Install Constants */
33437 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33440 for (i
= 0; constants
[i
].type
; ++i
) {
33441 switch(constants
[i
].type
) {
33442 case SWIG_PY_POINTER
:
33443 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33445 case SWIG_PY_BINARY
:
33446 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33453 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33459 /* -----------------------------------------------------------------------------*/
33460 /* Fix SwigMethods to carry the callback ptrs when needed */
33461 /* -----------------------------------------------------------------------------*/
33464 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33465 swig_const_info
*const_table
,
33466 swig_type_info
**types
,
33467 swig_type_info
**types_initial
) {
33469 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33470 const char *c
= methods
[i
].ml_doc
;
33471 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33473 swig_const_info
*ci
= 0;
33474 const char *name
= c
+ 10;
33475 for (j
= 0; const_table
[j
].type
; ++j
) {
33476 if (strncmp(const_table
[j
].name
, name
,
33477 strlen(const_table
[j
].name
)) == 0) {
33478 ci
= &(const_table
[j
]);
33483 size_t shift
= (ci
->ptype
) - types
;
33484 swig_type_info
*ty
= types_initial
[shift
];
33485 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33486 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33487 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33490 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33492 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33494 strncpy(buff
, "swig_ptr: ", 10);
33496 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33497 methods
[i
].ml_doc
= ndoc
;
33509 /* -----------------------------------------------------------------------------*
33510 * Partial Init method
33511 * -----------------------------------------------------------------------------*/
33516 SWIGEXPORT
void SWIG_init(void) {
33519 /* Fix SwigMethods to carry the callback ptrs when needed */
33520 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33522 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33523 d
= PyModule_GetDict(m
);
33525 SWIG_InitializeModule(0);
33526 SWIG_InstallConstants(d
,swig_const_table
);
33529 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33530 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33531 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33532 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33533 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33534 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33535 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33536 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33537 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33538 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33539 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33540 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33541 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33542 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33543 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33544 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33545 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33546 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33547 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33548 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33549 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33550 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33551 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33552 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33553 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33554 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33555 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33556 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33557 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33558 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33559 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33560 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33561 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33562 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33563 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33564 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33565 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33566 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33567 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33568 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33569 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33570 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33571 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33572 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33573 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33574 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33575 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33576 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33577 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33578 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33579 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33580 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33581 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33582 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33583 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33584 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33585 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33586 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33587 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33588 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33589 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33590 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33591 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33592 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33593 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33594 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33595 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33596 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33597 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33598 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33599 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33600 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33601 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33602 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33603 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33604 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33605 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33606 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33607 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33608 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33609 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33610 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33611 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33612 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33613 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33614 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33615 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33616 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33617 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33618 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33619 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33620 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33621 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33622 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33623 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33624 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33625 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33626 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33627 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33628 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33629 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33630 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33632 // Map renamed classes back to their common name for OOR
33633 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33634 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33635 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33637 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33638 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33639 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33640 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33641 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33642 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33643 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33644 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33645 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33646 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33647 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33648 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33649 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33650 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33651 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33652 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33653 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33654 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33655 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33656 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33657 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33658 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33659 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33660 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33661 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33662 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33663 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33664 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33665 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33666 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33667 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33668 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33669 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33670 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33671 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33672 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33673 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33674 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33675 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33676 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33677 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33678 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33679 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33680 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33681 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33682 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33683 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33684 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33685 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33686 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33687 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33688 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33689 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33690 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33691 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33692 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33693 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33694 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33695 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33696 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33697 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33698 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33699 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33700 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33701 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33702 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33703 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33704 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33705 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33706 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33707 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33708 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33709 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33710 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33711 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33712 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33713 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33714 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33715 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33716 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33717 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33718 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33719 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33720 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33721 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33722 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33723 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33724 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33725 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33726 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33727 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33728 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33729 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33730 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33731 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33733 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");