1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2652 #define SWIG_name "_windows_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2735 # define LLONG_MIN LONG_LONG_MIN
2738 # define LLONG_MAX LONG_LONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2746 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2748 if (PyNumber_Check(obj
)) {
2749 if (val
) *val
= PyInt_AsLong(obj
);
2752 return SWIG_TypeError
;
2757 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2760 int res
= SWIG_AsVal_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< int >(v
);
2773 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2775 if (obj
== Py_True
) {
2776 if (val
) *val
= true;
2778 } else if (obj
== Py_False
) {
2779 if (val
) *val
= false;
2783 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2784 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2790 #define SWIG_From_long PyInt_FromLong
2793 SWIGINTERNINLINE PyObject
*
2794 SWIG_From_int (int value
)
2796 return SWIG_From_long (value
);
2801 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2803 if (PyNumber_Check(obj
)) {
2804 if (val
) *val
= PyFloat_AsDouble(obj
);
2807 return SWIG_TypeError
;
2811 #define SWIG_From_double PyFloat_FromDouble
2813 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2814 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2815 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2816 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2817 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2821 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2823 self
->GetFieldRect(i
, r
);
2826 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2830 #include <wx/popupwin.h>
2833 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2838 : wxPopupTransientWindow(parent
, style
) {}
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2841 DEC_PYCALLBACK__(OnDismiss
);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2852 #include <wx/tipwin.h>
2854 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2855 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2858 #include <wx/tipwin.h>
2861 #include <wx/vscroll.h>
2864 class wxPyVScrolledWindow
: public wxVScrolledWindow
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2870 wxPyVScrolledWindow(wxWindow
*parent
,
2871 wxWindowID id
= wxID_ANY
,
2872 const wxPoint
& pos
= wxDefaultPosition
,
2873 const wxSize
& size
= wxDefaultSize
,
2875 const wxString
& name
= wxPyPanelNameStr
)
2876 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2879 // Overridable virtuals
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2908 // this function should return the best guess for the total height it may
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2913 // Also expose some other interesting protected methods
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2943 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2946 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2947 return SWIG_TypeError
;
2950 *val
= (unsigned long)v
;
2955 SWIGINTERNINLINE
int
2956 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2959 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2960 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_unsigned_SS_long (unsigned long value
)
2968 return (value
> LONG_MAX
) ?
2969 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_size_t (size_t value
)
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2980 #include <wx/vlbox.h>
2982 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2984 class wxPyVListBox
: public wxVListBox
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2988 wxPyVListBox() : wxVListBox() {}
2990 wxPyVListBox(wxWindow
*parent
,
2991 wxWindowID id
= wxID_ANY
,
2992 const wxPoint
& pos
= wxDefaultPosition
,
2993 const wxSize
& size
= wxDefaultSize
,
2995 const wxString
& name
= wxPyVListBoxNameStr
)
2996 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2999 // Overridable virtuals
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3007 // the derived class must implement this method to return the height of the
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3022 // this method is used to draw the items background and, maybe, a border
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3044 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3045 unsigned long cookie
= 0;
3046 int selected
= self
->GetFirstSelected(cookie
);
3047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3048 PyObject
* tup
= PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3050 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3051 wxPyEndBlockThreads(blocked
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3055 int selected
= self
->GetNextSelected(cookie
);
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 PyObject
* tup
= PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3059 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3060 wxPyEndBlockThreads(blocked
);
3064 #include <wx/htmllbox.h>
3067 class wxPyHtmlListBox
: public wxHtmlListBox
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3073 wxPyHtmlListBox(wxWindow
*parent
,
3074 wxWindowID id
= wxID_ANY
,
3075 const wxPoint
& pos
= wxDefaultPosition
,
3076 const wxSize
& size
= wxDefaultSize
,
3078 const wxString
& name
= wxPyVListBoxNameStr
)
3079 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3082 // Overridable virtuals
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n
,
3113 const wxHtmlLinkInfo
& link
);
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3128 const wxHtmlLinkInfo
& link
) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3132 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3136 wxPyEndBlockThreads(blocked
);
3138 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3148 class wxTaskBarIcon
: public wxEvtHandler
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3155 class wxTaskBarIconEvent
: public wxEvent
3158 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent
* Clone() const { return NULL
; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu
*menu
) { return false; }
3169 wxEVT_TASKBAR_MOVE
= 0,
3170 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3171 wxEVT_TASKBAR_LEFT_UP
= 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3173 wxEVT_TASKBAR_RIGHT_UP
= 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon
: public wxTaskBarIcon
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3188 wxMenu
* CreatePopupMenu() {
3189 wxMenu
*rval
= NULL
;
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3195 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3197 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3202 wxPyEndBlockThreads(blocked
);
3204 rval
= wxTaskBarIcon::CreatePopupMenu();
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3215 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3219 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3220 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3221 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3222 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3223 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3224 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3225 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3227 self
->GetFilenames(arr
);
3228 return wxArrayString2PyList_helper(arr
);
3230 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3232 self
->GetPaths(arr
);
3233 return wxArrayString2PyList_helper(arr
);
3235 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3236 return wxArrayInt2PyList_helper(self
->GetSelections());
3238 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3239 return new wxSingleChoiceDialog(parent
, message
, caption
,
3240 choices
, choices_array
, NULL
, style
, pos
);
3242 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3244 SWIGINTERNINLINE PyObject
*
3245 SWIG_From_bool (bool value
)
3247 return PyBool_FromLong(value
? 1 : 0);
3253 // C++ version of Python aware wxWindow
3254 class wxPyWindow
: public wxWindow
3256 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3258 wxPyWindow() : wxWindow() {}
3259 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3260 const wxPoint
& pos
= wxDefaultPosition
,
3261 const wxSize
& size
= wxDefaultSize
,
3263 const wxString
& name
= wxPyPanelNameStr
)
3264 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3266 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3268 bool DoEraseBackground(wxDC
* dc
) {
3270 return wxWindow::DoEraseBackground(dc
->GetHDC());
3272 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3278 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3279 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3287 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3290 DEC_PYCALLBACK__(InitDialog
);
3291 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3293 DEC_PYCALLBACK_BOOL_(Validate
);
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3297 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3299 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3302 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3307 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3312 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3314 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3315 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3316 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3323 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3326 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3331 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3335 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3339 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3343 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3345 // C++ version of Python aware wxPanel
3346 class wxPyPanel
: public wxPanel
3348 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3350 wxPyPanel() : wxPanel() {}
3351 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3352 const wxPoint
& pos
= wxDefaultPosition
,
3353 const wxSize
& size
= wxDefaultSize
,
3355 const wxString
& name
= wxPyPanelNameStr
)
3356 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3358 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3359 bool DoEraseBackground(wxDC
* dc
) {
3361 return wxWindow::DoEraseBackground(dc
->GetHDC());
3363 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3370 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3371 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3379 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3380 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3382 DEC_PYCALLBACK__(InitDialog
);
3383 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3384 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3385 DEC_PYCALLBACK_BOOL_(Validate
);
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3389 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3391 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3394 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3395 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3397 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3399 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3404 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3406 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3407 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3408 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3411 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3415 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3418 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3423 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3427 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3430 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3431 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3435 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3437 // C++ version of Python aware wxScrolledWindow
3438 class wxPyScrolledWindow
: public wxScrolledWindow
3440 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3442 wxPyScrolledWindow() : wxScrolledWindow() {}
3443 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3444 const wxPoint
& pos
= wxDefaultPosition
,
3445 const wxSize
& size
= wxDefaultSize
,
3447 const wxString
& name
= wxPyPanelNameStr
)
3448 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3450 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3451 bool DoEraseBackground(wxDC
* dc
) {
3453 return wxWindow::DoEraseBackground(dc
->GetHDC());
3455 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3461 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3462 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3470 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3471 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3473 DEC_PYCALLBACK__(InitDialog
);
3474 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3475 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3476 DEC_PYCALLBACK_BOOL_(Validate
);
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3480 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3482 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3485 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3486 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3488 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3490 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3495 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3497 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3498 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3499 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3502 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3506 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3509 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3514 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3518 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3521 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3522 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3526 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3529 #include "wx/wxPython/printfw.h"
3532 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3533 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3534 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3536 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3537 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3538 self
->GetPrivDataLen());
3539 wxPyEndBlockThreads(blocked
);
3542 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3543 if (! PyString_Check(data
)) {
3544 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3545 "Expected string object"));
3549 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3550 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3551 wxPyEndBlockThreads(blocked
);
3555 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3557 // Since this one would be tough and ugly to do with the Macros...
3558 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3559 bool hadErr
= false;
3562 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3563 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3564 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3565 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3568 val
= PyTuple_GetItem(result
, 0);
3569 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3572 val
= PyTuple_GetItem(result
, 1);
3573 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3576 val
= PyTuple_GetItem(result
, 2);
3577 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 3);
3581 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3588 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3593 wxPyEndBlockThreads(blocked
);
3595 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3600 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3601 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3602 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3603 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3604 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3605 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3606 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3612 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3613 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3616 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3617 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3620 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3621 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3622 PyObject* win = wxPyMake_wxObject(a,false); \
3623 PyObject* dc = wxPyMake_wxObject(&b,false); \
3624 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3628 wxPyEndBlockThreads(blocked); \
3630 rval = PCLASS::CBNAME(a, b); \
3637 class wxPyPrintPreview
: public wxPrintPreview
3639 DECLARE_CLASS(wxPyPrintPreview
)
3641 wxPyPrintPreview(wxPyPrintout
* printout
,
3642 wxPyPrintout
* printoutForPrinting
,
3643 wxPrintDialogData
* data
=NULL
)
3644 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3646 wxPyPrintPreview(wxPyPrintout
* printout
,
3647 wxPyPrintout
* printoutForPrinting
,
3649 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3652 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3655 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3656 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3657 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3658 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3663 // Stupid renamed classes... Fix this in 2.5...
3664 #if defined(__WXMSW__)
3665 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3666 #elif defined(__WXMAC__)
3667 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3669 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3672 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3673 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3675 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3676 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3677 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3678 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3681 class wxPyPreviewFrame
: public wxPreviewFrame
3683 DECLARE_CLASS(wxPyPreviewFrame
)
3685 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3686 const wxString
& title
,
3687 const wxPoint
& pos
= wxDefaultPosition
,
3688 const wxSize
& size
= wxDefaultSize
,
3689 long style
= wxDEFAULT_FRAME_STYLE
,
3690 const wxString
& name
= wxPyFrameNameStr
)
3691 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3694 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3695 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3697 DEC_PYCALLBACK_VOID_(Initialize
);
3698 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3699 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3704 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3706 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3711 class wxPyPreviewControlBar
: public wxPreviewControlBar
3713 DECLARE_CLASS(wxPyPreviewControlBar
)
3715 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3718 const wxPoint
& pos
= wxDefaultPosition
,
3719 const wxSize
& size
= wxDefaultSize
,
3721 const wxString
& name
= wxPyPanelNameStr
)
3722 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3725 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3727 DEC_PYCALLBACK_VOID_(CreateButtons
);
3728 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3733 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3735 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3740 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= 0;
3742 wxWindow
*arg1
= (wxWindow
*) 0 ;
3743 int arg2
= (int) (int)-1 ;
3744 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3745 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3746 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3747 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3748 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3749 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3750 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3751 wxPanel
*result
= 0 ;
3760 bool temp6
= false ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3763 PyObject
* obj2
= 0 ;
3764 PyObject
* obj3
= 0 ;
3765 PyObject
* obj4
= 0 ;
3766 PyObject
* obj5
= 0 ;
3767 char * kwnames
[] = {
3768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3773 if (!SWIG_IsOK(res1
)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3776 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3779 if (!SWIG_IsOK(ecode2
)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3782 arg2
= static_cast< int >(val2
);
3787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3797 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3798 if (!SWIG_IsOK(ecode5
)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3801 arg5
= static_cast< long >(val5
);
3805 arg6
= wxString_in_helper(obj5
);
3806 if (arg6
== NULL
) SWIG_fail
;
3811 if (!wxPyCheckForApp()) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3832 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3833 PyObject
*resultobj
= 0;
3834 wxPanel
*result
= 0 ;
3836 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxPanel
*)new wxPanel();
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3851 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
= 0;
3853 wxPanel
*arg1
= (wxPanel
*) 0 ;
3854 wxWindow
*arg2
= (wxWindow
*) 0 ;
3855 int arg3
= (int) (int)-1 ;
3856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3858 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3859 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3860 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3861 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3862 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3874 bool temp7
= false ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3877 PyObject
* obj2
= 0 ;
3878 PyObject
* obj3
= 0 ;
3879 PyObject
* obj4
= 0 ;
3880 PyObject
* obj5
= 0 ;
3881 PyObject
* obj6
= 0 ;
3882 char * kwnames
[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3888 if (!SWIG_IsOK(res1
)) {
3889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3891 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3893 if (!SWIG_IsOK(res2
)) {
3894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3896 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3899 if (!SWIG_IsOK(ecode3
)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3902 arg3
= static_cast< int >(val3
);
3907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3917 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3918 if (!SWIG_IsOK(ecode6
)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3921 arg6
= static_cast< long >(val6
);
3925 arg7
= wxString_in_helper(obj6
);
3926 if (arg7
== NULL
) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3953 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3954 PyObject
*resultobj
= 0;
3955 wxPanel
*arg1
= (wxPanel
*) 0 ;
3958 PyObject
*swig_obj
[1] ;
3960 if (!args
) SWIG_fail
;
3962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3963 if (!SWIG_IsOK(res1
)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3966 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 (arg1
)->SetFocusIgnoringChildren();
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= SWIG_Py_Void();
3980 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
= 0;
3982 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3983 SwigValueWrapper
<wxVisualAttributes
> result
;
3986 PyObject
* obj0
= 0 ;
3987 char * kwnames
[] = {
3988 (char *) "variant", NULL
3991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3994 if (!SWIG_IsOK(ecode1
)) {
3995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3997 arg1
= static_cast< wxWindowVariant
>(val1
);
4000 if (!wxPyCheckForApp()) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4013 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4017 return SWIG_Py_Void();
4020 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 return SWIG_Python_InitShadowInstance(args
);
4024 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
= 0;
4026 wxWindow
*arg1
= (wxWindow
*) 0 ;
4027 int arg2
= (int) (int)-1 ;
4028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4032 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4033 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4034 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4035 wxScrolledWindow
*result
= 0 ;
4044 bool temp6
= false ;
4045 PyObject
* obj0
= 0 ;
4046 PyObject
* obj1
= 0 ;
4047 PyObject
* obj2
= 0 ;
4048 PyObject
* obj3
= 0 ;
4049 PyObject
* obj4
= 0 ;
4050 PyObject
* obj5
= 0 ;
4051 char * kwnames
[] = {
4052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4063 if (!SWIG_IsOK(ecode2
)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4066 arg2
= static_cast< int >(val2
);
4071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4081 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4082 if (!SWIG_IsOK(ecode5
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4085 arg5
= static_cast< long >(val5
);
4089 arg6
= wxString_in_helper(obj5
);
4090 if (arg6
== NULL
) SWIG_fail
;
4095 if (!wxPyCheckForApp()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4116 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4117 PyObject
*resultobj
= 0;
4118 wxScrolledWindow
*result
= 0 ;
4120 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4122 if (!wxPyCheckForApp()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4135 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
= 0;
4137 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4138 wxWindow
*arg2
= (wxWindow
*) 0 ;
4139 int arg3
= (int) (int)-1 ;
4140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4144 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4145 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4158 bool temp7
= false ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4161 PyObject
* obj2
= 0 ;
4162 PyObject
* obj3
= 0 ;
4163 PyObject
* obj4
= 0 ;
4164 PyObject
* obj5
= 0 ;
4165 PyObject
* obj6
= 0 ;
4166 char * kwnames
[] = {
4167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4172 if (!SWIG_IsOK(res1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4175 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4177 if (!SWIG_IsOK(res2
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4183 if (!SWIG_IsOK(ecode3
)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4186 arg3
= static_cast< int >(val3
);
4191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4201 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4202 if (!SWIG_IsOK(ecode6
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4205 arg6
= static_cast< long >(val6
);
4209 arg7
= wxString_in_helper(obj6
);
4210 if (arg7
== NULL
) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4237 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4244 int arg6
= (int) 0 ;
4245 int arg7
= (int) 0 ;
4246 bool arg8
= (bool) false ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4265 PyObject
* obj2
= 0 ;
4266 PyObject
* obj3
= 0 ;
4267 PyObject
* obj4
= 0 ;
4268 PyObject
* obj5
= 0 ;
4269 PyObject
* obj6
= 0 ;
4270 PyObject
* obj7
= 0 ;
4271 char * kwnames
[] = {
4272 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4280 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4282 if (!SWIG_IsOK(ecode2
)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4285 arg2
= static_cast< int >(val2
);
4286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4287 if (!SWIG_IsOK(ecode3
)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4290 arg3
= static_cast< int >(val3
);
4291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4292 if (!SWIG_IsOK(ecode4
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4295 arg4
= static_cast< int >(val4
);
4296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4297 if (!SWIG_IsOK(ecode5
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4300 arg5
= static_cast< int >(val5
);
4302 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4303 if (!SWIG_IsOK(ecode6
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4306 arg6
= static_cast< int >(val6
);
4309 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4310 if (!SWIG_IsOK(ecode7
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4313 arg7
= static_cast< int >(val7
);
4316 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4317 if (!SWIG_IsOK(ecode8
)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4320 arg8
= static_cast< bool >(val8
);
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_Py_Void();
4335 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
= 0;
4337 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4348 PyObject
* obj2
= 0 ;
4349 char * kwnames
[] = {
4350 (char *) "self",(char *) "x",(char *) "y", NULL
4353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4355 if (!SWIG_IsOK(res1
)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4358 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4360 if (!SWIG_IsOK(ecode2
)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4363 arg2
= static_cast< int >(val2
);
4364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4365 if (!SWIG_IsOK(ecode3
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4368 arg3
= static_cast< int >(val3
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->Scroll(arg2
,arg3
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4382 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 char * kwnames
[] = {
4394 (char *) "self",(char *) "orient", NULL
4397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4402 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4404 if (!SWIG_IsOK(ecode2
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4407 arg2
= static_cast< int >(val2
);
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_From_int(static_cast< int >(result
));
4421 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4435 char * kwnames
[] = {
4436 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4444 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4446 if (!SWIG_IsOK(ecode2
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4449 arg2
= static_cast< int >(val2
);
4450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4451 if (!SWIG_IsOK(ecode3
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4454 arg3
= static_cast< int >(val3
);
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_Py_Void();
4468 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
= 0;
4470 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 PyObject
* obj2
= 0 ;
4482 char * kwnames
[] = {
4483 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4488 if (!SWIG_IsOK(res1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4491 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4493 if (!SWIG_IsOK(ecode2
)) {
4494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4496 arg2
= static_cast< int >(val2
);
4497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4498 if (!SWIG_IsOK(ecode3
)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4501 arg3
= static_cast< int >(val3
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 (arg1
)->SetScrollRate(arg2
,arg3
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_Py_Void();
4515 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4516 PyObject
*resultobj
= 0;
4517 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4518 int *arg2
= (int *) 0 ;
4519 int *arg3
= (int *) 0 ;
4523 int res2
= SWIG_TMPOBJ
;
4525 int res3
= SWIG_TMPOBJ
;
4526 PyObject
*swig_obj
[1] ;
4530 if (!args
) SWIG_fail
;
4532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4533 if (!SWIG_IsOK(res1
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4536 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4544 if (SWIG_IsTmpObj(res2
)) {
4545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4550 if (SWIG_IsTmpObj(res3
)) {
4551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4562 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4575 PyObject
* obj2
= 0 ;
4576 char * kwnames
[] = {
4577 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4582 if (!SWIG_IsOK(res1
)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4585 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4586 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4587 if (!SWIG_IsOK(ecode2
)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4590 arg2
= static_cast< bool >(val2
);
4591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4592 if (!SWIG_IsOK(ecode3
)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4595 arg3
= static_cast< bool >(val3
);
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 (arg1
)->EnableScrolling(arg2
,arg3
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_Py_Void();
4609 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4610 PyObject
*resultobj
= 0;
4611 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4612 int *arg2
= (int *) 0 ;
4613 int *arg3
= (int *) 0 ;
4617 int res2
= SWIG_TMPOBJ
;
4619 int res3
= SWIG_TMPOBJ
;
4620 PyObject
*swig_obj
[1] ;
4624 if (!args
) SWIG_fail
;
4626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4627 if (!SWIG_IsOK(res1
)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4630 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_Py_Void();
4638 if (SWIG_IsTmpObj(res2
)) {
4639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4641 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4644 if (SWIG_IsTmpObj(res3
)) {
4645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4647 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4656 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
= 0;
4658 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 char * kwnames
[] = {
4671 (char *) "self",(char *) "xs",(char *) "ys", NULL
4674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4676 if (!SWIG_IsOK(res1
)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4679 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4680 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4681 if (!SWIG_IsOK(ecode2
)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4684 arg2
= static_cast< double >(val2
);
4685 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4686 if (!SWIG_IsOK(ecode3
)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4689 arg3
= static_cast< double >(val3
);
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->SetScale(arg2
,arg3
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_Py_Void();
4703 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 PyObject
*resultobj
= 0;
4705 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4709 PyObject
*swig_obj
[1] ;
4711 if (!args
) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4717 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_From_double(static_cast< double >(result
));
4731 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4745 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_From_double(static_cast< double >(result
));
4759 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4760 PyObject
*resultobj
= 0;
4761 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4768 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4773 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4776 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4791 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4792 PyObject
*resultobj
= 0;
4793 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4796 int *arg4
= (int *) 0 ;
4797 int *arg5
= (int *) 0 ;
4805 int res4
= SWIG_TMPOBJ
;
4807 int res5
= SWIG_TMPOBJ
;
4811 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4813 if (!SWIG_IsOK(res1
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4816 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4817 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4818 if (!SWIG_IsOK(ecode2
)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4821 arg2
= static_cast< int >(val2
);
4822 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4823 if (!SWIG_IsOK(ecode3
)) {
4824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4826 arg3
= static_cast< int >(val3
);
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_Py_Void();
4834 if (SWIG_IsTmpObj(res4
)) {
4835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4837 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4840 if (SWIG_IsTmpObj(res5
)) {
4841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4843 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4852 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4856 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4859 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4862 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4866 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4871 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4872 PyObject
*resultobj
= 0;
4873 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4880 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4885 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4888 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4903 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4904 PyObject
*resultobj
= 0;
4905 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4908 int *arg4
= (int *) 0 ;
4909 int *arg5
= (int *) 0 ;
4917 int res4
= SWIG_TMPOBJ
;
4919 int res5
= SWIG_TMPOBJ
;
4923 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4925 if (!SWIG_IsOK(res1
)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4928 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4929 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4930 if (!SWIG_IsOK(ecode2
)) {
4931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4933 arg2
= static_cast< int >(val2
);
4934 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4935 if (!SWIG_IsOK(ecode3
)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4938 arg3
= static_cast< int >(val3
);
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_Py_Void();
4946 if (SWIG_IsTmpObj(res4
)) {
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4952 if (SWIG_IsTmpObj(res5
)) {
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4955 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4964 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4968 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4971 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4974 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4978 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4983 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4984 PyObject
*resultobj
= 0;
4985 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4988 PyObject
*swig_obj
[1] ;
4990 if (!args
) SWIG_fail
;
4992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4993 if (!SWIG_IsOK(res1
)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4996 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 (arg1
)->AdjustScrollbars();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= SWIG_Py_Void();
5010 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
= 0;
5012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5013 wxScrollWinEvent
*arg2
= 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 char * kwnames
[] = {
5022 (char *) "self",(char *) "event", NULL
5025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5032 if (!SWIG_IsOK(res2
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5038 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_From_int(static_cast< int >(result
));
5052 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
= 0;
5054 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5055 wxWindow
*arg2
= (wxWindow
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5062 char * kwnames
[] = {
5063 (char *) "self",(char *) "target", NULL
5066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5068 if (!SWIG_IsOK(res1
)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5071 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5073 if (!SWIG_IsOK(res2
)) {
5074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->SetTargetWindow(arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_Py_Void();
5090 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5091 PyObject
*resultobj
= 0;
5092 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5093 wxWindow
*result
= 0 ;
5096 PyObject
*swig_obj
[1] ;
5098 if (!args
) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5104 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= wxPyMake_wxObject(result
, 0);
5120 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= 0;
5122 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 char * kwnames
[] = {
5131 (char *) "self",(char *) "dc", NULL
5134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5136 if (!SWIG_IsOK(res1
)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5139 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5141 if (!SWIG_IsOK(res2
)) {
5142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5147 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 (arg1
)->DoPrepareDC(*arg2
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_Py_Void();
5161 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
= 0;
5163 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5164 SwigValueWrapper
<wxVisualAttributes
> result
;
5167 PyObject
* obj0
= 0 ;
5168 char * kwnames
[] = {
5169 (char *) "variant", NULL
5172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5175 if (!SWIG_IsOK(ecode1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5178 arg1
= static_cast< wxWindowVariant
>(val1
);
5181 if (!wxPyCheckForApp()) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5194 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5197 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5198 return SWIG_Py_Void();
5201 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5202 return SWIG_Python_InitShadowInstance(args
);
5205 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5206 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5211 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5212 PyObject
*pyobj
= 0;
5216 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5218 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5225 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5226 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5231 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5232 PyObject
*pyobj
= 0;
5236 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5238 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5245 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5246 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5251 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5252 PyObject
*pyobj
= 0;
5256 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5258 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5265 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5266 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5271 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5272 PyObject
*pyobj
= 0;
5276 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5278 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5285 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5288 bool arg2
= (bool) true ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "maximize", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5304 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5306 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5307 if (!SWIG_IsOK(ecode2
)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5310 arg2
= static_cast< bool >(val2
);
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->Maximize(arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_Py_Void();
5325 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5326 PyObject
*resultobj
= 0;
5327 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5330 PyObject
*swig_obj
[1] ;
5332 if (!args
) SWIG_fail
;
5334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5335 if (!SWIG_IsOK(res1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5338 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= SWIG_Py_Void();
5352 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
= 0;
5354 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5355 bool arg2
= (bool) true ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5362 char * kwnames
[] = {
5363 (char *) "self",(char *) "iconize", NULL
5366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5368 if (!SWIG_IsOK(res1
)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5371 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5374 if (!SWIG_IsOK(ecode2
)) {
5375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5377 arg2
= static_cast< bool >(val2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->Iconize(arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_Py_Void();
5392 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5394 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5398 PyObject
*swig_obj
[1] ;
5400 if (!args
) SWIG_fail
;
5402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5403 if (!SWIG_IsOK(res1
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5406 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5422 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5423 PyObject
*resultobj
= 0;
5424 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5428 PyObject
*swig_obj
[1] ;
5430 if (!args
) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5436 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5452 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 PyObject
*resultobj
= 0;
5454 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5458 PyObject
*swig_obj
[1] ;
5460 if (!args
) SWIG_fail
;
5462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5463 if (!SWIG_IsOK(res1
)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5466 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5482 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5483 PyObject
*resultobj
= 0;
5484 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5488 PyObject
*swig_obj
[1] ;
5490 if (!args
) SWIG_fail
;
5492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5493 if (!SWIG_IsOK(res1
)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5496 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5510 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= 0;
5512 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5519 PyObject
* obj1
= 0 ;
5520 char * kwnames
[] = {
5521 (char *) "self",(char *) "icon", NULL
5524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5526 if (!SWIG_IsOK(res1
)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5529 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5531 if (!SWIG_IsOK(res2
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5537 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_Py_Void();
5551 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
= 0;
5553 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5554 wxIconBundle
*arg2
= 0 ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5561 char * kwnames
[] = {
5562 (char *) "self",(char *) "icons", NULL
5565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5570 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5572 if (!SWIG_IsOK(res2
)) {
5573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5578 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_Py_Void();
5592 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
= 0;
5594 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5596 long arg3
= (long) wxFULLSCREEN_ALL
;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5606 PyObject
* obj2
= 0 ;
5607 char * kwnames
[] = {
5608 (char *) "self",(char *) "show",(char *) "style", NULL
5611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5613 if (!SWIG_IsOK(res1
)) {
5614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5616 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5618 if (!SWIG_IsOK(ecode2
)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5621 arg2
= static_cast< bool >(val2
);
5623 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5624 if (!SWIG_IsOK(ecode3
)) {
5625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5627 arg3
= static_cast< long >(val3
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5644 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5645 PyObject
*resultobj
= 0;
5646 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5650 PyObject
*swig_obj
[1] ;
5652 if (!args
) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5658 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5674 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
= 0;
5676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5677 wxString
*arg2
= 0 ;
5680 bool temp2
= false ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "title", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5692 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5694 arg2
= wxString_in_helper(obj1
);
5695 if (arg2
== NULL
) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetTitle((wxString
const &)*arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_Py_Void();
5719 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5720 PyObject
*resultobj
= 0;
5721 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5725 PyObject
*swig_obj
[1] ;
5727 if (!args
) SWIG_fail
;
5729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5730 if (!SWIG_IsOK(res1
)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5753 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
= 0;
5755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5756 wxRegion
*arg2
= 0 ;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5764 char * kwnames
[] = {
5765 (char *) "self",(char *) "region", NULL
5768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5770 if (!SWIG_IsOK(res1
)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5773 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5775 if (!SWIG_IsOK(res2
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5781 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= 0;
5799 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5800 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5807 char * kwnames
[] = {
5808 (char *) "self",(char *) "flags", NULL
5811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5816 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5819 if (!SWIG_IsOK(ecode2
)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5822 arg2
= static_cast< int >(val2
);
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->RequestUserAttention(arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_Py_Void();
5837 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5838 PyObject
*resultobj
= 0;
5839 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5843 PyObject
*swig_obj
[1] ;
5845 if (!args
) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5851 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (bool)(arg1
)->IsActive();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5867 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 char * kwnames
[] = {
5878 (char *) "self",(char *) "on", NULL
5881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5886 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5888 if (!SWIG_IsOK(ecode2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5891 arg2
= static_cast< bool >(val2
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_Py_Void();
5905 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5906 PyObject
*resultobj
= 0;
5907 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5911 PyObject
*swig_obj
[1] ;
5913 if (!args
) SWIG_fail
;
5915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5916 if (!SWIG_IsOK(res1
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5919 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5935 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= 0;
5937 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5938 int arg2
= (int) wxBOTH
;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 char * kwnames
[] = {
5946 (char *) "self",(char *) "dir", NULL
5949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5951 if (!SWIG_IsOK(res1
)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5954 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5957 if (!SWIG_IsOK(ecode2
)) {
5958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5960 arg2
= static_cast< int >(val2
);
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 (arg1
)->CenterOnScreen(arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_Py_Void();
5975 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5979 return SWIG_Py_Void();
5982 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
= 0;
5984 wxWindow
*arg1
= (wxWindow
*) 0 ;
5985 int arg2
= (int) (int)-1 ;
5986 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5992 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5993 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5994 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5995 wxFrame
*result
= 0 ;
6000 bool temp3
= false ;
6005 bool temp7
= false ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6009 PyObject
* obj3
= 0 ;
6010 PyObject
* obj4
= 0 ;
6011 PyObject
* obj5
= 0 ;
6012 PyObject
* obj6
= 0 ;
6013 char * kwnames
[] = {
6014 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6019 if (!SWIG_IsOK(res1
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6025 if (!SWIG_IsOK(ecode2
)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6028 arg2
= static_cast< int >(val2
);
6032 arg3
= wxString_in_helper(obj2
);
6033 if (arg3
== NULL
) SWIG_fail
;
6040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6050 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6051 if (!SWIG_IsOK(ecode6
)) {
6052 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6054 arg6
= static_cast< long >(val6
);
6058 arg7
= wxString_in_helper(obj6
);
6059 if (arg7
== NULL
) SWIG_fail
;
6064 if (!wxPyCheckForApp()) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6093 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6094 PyObject
*resultobj
= 0;
6095 wxFrame
*result
= 0 ;
6097 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6099 if (!wxPyCheckForApp()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (wxFrame
*)new wxFrame();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6112 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
= 0;
6114 wxFrame
*arg1
= (wxFrame
*) 0 ;
6115 wxWindow
*arg2
= (wxWindow
*) 0 ;
6116 int arg3
= (int) (int)-1 ;
6117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6123 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6124 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6133 bool temp4
= false ;
6138 bool temp8
= false ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 PyObject
* obj2
= 0 ;
6142 PyObject
* obj3
= 0 ;
6143 PyObject
* obj4
= 0 ;
6144 PyObject
* obj5
= 0 ;
6145 PyObject
* obj6
= 0 ;
6146 PyObject
* obj7
= 0 ;
6147 char * kwnames
[] = {
6148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6156 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6158 if (!SWIG_IsOK(res2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6161 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6167 arg3
= static_cast< int >(val3
);
6171 arg4
= wxString_in_helper(obj3
);
6172 if (arg4
== NULL
) SWIG_fail
;
6179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6189 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6190 if (!SWIG_IsOK(ecode7
)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6193 arg7
= static_cast< long >(val7
);
6197 arg8
= wxString_in_helper(obj7
);
6198 if (arg8
== NULL
) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6233 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxFrame
*arg1
= (wxFrame
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6246 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 (arg1
)->SendSizeEvent();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_Py_Void();
6260 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxFrame
*arg1
= (wxFrame
*) 0 ;
6263 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "menubar", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6279 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6281 if (!SWIG_IsOK(res2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6284 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->SetMenuBar(arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_Py_Void();
6298 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6299 PyObject
*resultobj
= 0;
6300 wxFrame
*arg1
= (wxFrame
*) 0 ;
6301 wxMenuBar
*result
= 0 ;
6304 PyObject
*swig_obj
[1] ;
6306 if (!args
) SWIG_fail
;
6308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6309 if (!SWIG_IsOK(res1
)) {
6310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6312 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= wxPyMake_wxObject(result
, 0);
6328 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 wxFrame
*arg1
= (wxFrame
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "self",(char *) "winid", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6348 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6350 if (!SWIG_IsOK(ecode2
)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6353 arg2
= static_cast< int >(val2
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6369 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
= 0;
6371 wxFrame
*arg1
= (wxFrame
*) 0 ;
6372 int arg2
= (int) 1 ;
6373 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6374 int arg4
= (int) 0 ;
6375 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6376 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6377 wxStatusBar
*result
= 0 ;
6386 bool temp5
= false ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6391 PyObject
* obj4
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6401 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6404 if (!SWIG_IsOK(ecode2
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6407 arg2
= static_cast< int >(val2
);
6410 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6411 if (!SWIG_IsOK(ecode3
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6414 arg3
= static_cast< long >(val3
);
6417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6418 if (!SWIG_IsOK(ecode4
)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6421 arg4
= static_cast< int >(val4
);
6425 arg5
= wxString_in_helper(obj4
);
6426 if (arg5
== NULL
) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6453 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxFrame
*arg1
= (wxFrame
*) 0 ;
6456 wxStatusBar
*result
= 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6467 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6483 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
= 0;
6485 wxFrame
*arg1
= (wxFrame
*) 0 ;
6486 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 char * kwnames
[] = {
6494 (char *) "self",(char *) "statBar", NULL
6497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6502 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6504 if (!SWIG_IsOK(res2
)) {
6505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6507 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->SetStatusBar(arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_Py_Void();
6521 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxFrame
*arg1
= (wxFrame
*) 0 ;
6524 wxString
*arg2
= 0 ;
6525 int arg3
= (int) 0 ;
6528 bool temp2
= false ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 PyObject
* obj2
= 0 ;
6534 char * kwnames
[] = {
6535 (char *) "self",(char *) "text",(char *) "number", NULL
6538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6543 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6545 arg2
= wxString_in_helper(obj1
);
6546 if (arg2
== NULL
) SWIG_fail
;
6550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6551 if (!SWIG_IsOK(ecode3
)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6554 arg3
= static_cast< int >(val3
);
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_Py_Void();
6577 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
= 0;
6579 wxFrame
*arg1
= (wxFrame
*) 0 ;
6581 int *arg3
= (int *) 0 ;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 char * kwnames
[] = {
6587 (char *) "self",(char *) "widths", NULL
6590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6595 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6597 arg2
= PyList_Size(obj1
);
6598 arg3
= int_LIST_helper(obj1
);
6599 if (arg3
== NULL
) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_Py_Void();
6609 if (arg3
) delete [] arg3
;
6614 if (arg3
) delete [] arg3
;
6620 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= 0;
6622 wxFrame
*arg1
= (wxFrame
*) 0 ;
6623 wxString
*arg2
= 0 ;
6624 int arg3
= (int) 0 ;
6627 bool temp2
= false ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6632 PyObject
* obj2
= 0 ;
6633 char * kwnames
[] = {
6634 (char *) "self",(char *) "text",(char *) "number", NULL
6637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6642 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6644 arg2
= wxString_in_helper(obj1
);
6645 if (arg2
== NULL
) SWIG_fail
;
6649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6650 if (!SWIG_IsOK(ecode3
)) {
6651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6653 arg3
= static_cast< int >(val3
);
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6676 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxFrame
*arg1
= (wxFrame
*) 0 ;
6679 int arg2
= (int) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "number", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6695 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6698 if (!SWIG_IsOK(ecode2
)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6701 arg2
= static_cast< int >(val2
);
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->PopStatusText(arg2
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= SWIG_Py_Void();
6716 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
= 0;
6718 wxFrame
*arg1
= (wxFrame
*) 0 ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6726 char * kwnames
[] = {
6727 (char *) "self",(char *) "n", NULL
6730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6732 if (!SWIG_IsOK(res1
)) {
6733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6735 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6737 if (!SWIG_IsOK(ecode2
)) {
6738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6740 arg2
= static_cast< int >(val2
);
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 (arg1
)->SetStatusBarPane(arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_Py_Void();
6754 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6755 PyObject
*resultobj
= 0;
6756 wxFrame
*arg1
= (wxFrame
*) 0 ;
6760 PyObject
*swig_obj
[1] ;
6762 if (!args
) SWIG_fail
;
6764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6765 if (!SWIG_IsOK(res1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6768 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_From_int(static_cast< int >(result
));
6782 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
= 0;
6784 wxFrame
*arg1
= (wxFrame
*) 0 ;
6785 long arg2
= (long) -1 ;
6786 int arg3
= (int) -1 ;
6787 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6789 wxToolBar
*result
= 0 ;
6796 bool temp4
= false ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6799 PyObject
* obj2
= 0 ;
6800 PyObject
* obj3
= 0 ;
6801 char * kwnames
[] = {
6802 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6807 if (!SWIG_IsOK(res1
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6810 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6813 if (!SWIG_IsOK(ecode2
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6816 arg2
= static_cast< long >(val2
);
6819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6820 if (!SWIG_IsOK(ecode3
)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6823 arg3
= static_cast< int >(val3
);
6827 arg4
= wxString_in_helper(obj3
);
6828 if (arg4
== NULL
) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6855 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6857 wxFrame
*arg1
= (wxFrame
*) 0 ;
6858 wxToolBar
*result
= 0 ;
6861 PyObject
*swig_obj
[1] ;
6863 if (!args
) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6869 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6885 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxFrame
*arg1
= (wxFrame
*) 0 ;
6888 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "toolbar", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6906 if (!SWIG_IsOK(res2
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6909 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 (arg1
)->SetToolBar(arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxFrame
*arg1
= (wxFrame
*) 0 ;
6926 wxString
*arg2
= 0 ;
6930 bool temp2
= false ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "text",(char *) "show", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6945 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6947 arg2
= wxString_in_helper(obj1
);
6948 if (arg2
== NULL
) SWIG_fail
;
6951 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6952 if (!SWIG_IsOK(ecode3
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6955 arg3
= static_cast< bool >(val3
);
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_Py_Void();
6977 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
= 0;
6979 wxFrame
*arg1
= (wxFrame
*) 0 ;
6980 wxMenu
*arg2
= (wxMenu
*) NULL
;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "self",(char *) "menu", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6993 if (!SWIG_IsOK(res1
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6996 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6999 if (!SWIG_IsOK(res2
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7002 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->DoMenuUpdates(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7020 SwigValueWrapper
<wxVisualAttributes
> result
;
7023 PyObject
* obj0
= 0 ;
7024 char * kwnames
[] = {
7025 (char *) "variant", NULL
7028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7031 if (!SWIG_IsOK(ecode1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7034 arg1
= static_cast< wxWindowVariant
>(val1
);
7037 if (!wxPyCheckForApp()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7050 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7053 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7054 return SWIG_Py_Void();
7057 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 return SWIG_Python_InitShadowInstance(args
);
7061 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7063 wxWindow
*arg1
= (wxWindow
*) 0 ;
7064 int arg2
= (int) (int)-1 ;
7065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7071 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7072 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7074 wxDialog
*result
= 0 ;
7079 bool temp3
= false ;
7084 bool temp7
= false ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 PyObject
* obj2
= 0 ;
7088 PyObject
* obj3
= 0 ;
7089 PyObject
* obj4
= 0 ;
7090 PyObject
* obj5
= 0 ;
7091 PyObject
* obj6
= 0 ;
7092 char * kwnames
[] = {
7093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7098 if (!SWIG_IsOK(res1
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7111 arg3
= wxString_in_helper(obj2
);
7112 if (arg3
== NULL
) SWIG_fail
;
7119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7130 if (!SWIG_IsOK(ecode6
)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7133 arg6
= static_cast< long >(val6
);
7137 arg7
= wxString_in_helper(obj6
);
7138 if (arg7
== NULL
) SWIG_fail
;
7143 if (!wxPyCheckForApp()) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7172 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7173 PyObject
*resultobj
= 0;
7174 wxDialog
*result
= 0 ;
7176 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7178 if (!wxPyCheckForApp()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (wxDialog
*)new wxDialog();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7191 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
= 0;
7193 wxDialog
*arg1
= (wxDialog
*) 0 ;
7194 wxWindow
*arg2
= (wxWindow
*) 0 ;
7195 int arg3
= (int) (int)-1 ;
7196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7202 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7203 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7212 bool temp4
= false ;
7217 bool temp8
= false ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 PyObject
* obj3
= 0 ;
7222 PyObject
* obj4
= 0 ;
7223 PyObject
* obj5
= 0 ;
7224 PyObject
* obj6
= 0 ;
7225 PyObject
* obj7
= 0 ;
7226 char * kwnames
[] = {
7227 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7232 if (!SWIG_IsOK(res1
)) {
7233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7235 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7237 if (!SWIG_IsOK(res2
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7243 if (!SWIG_IsOK(ecode3
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7246 arg3
= static_cast< int >(val3
);
7250 arg4
= wxString_in_helper(obj3
);
7251 if (arg4
== NULL
) SWIG_fail
;
7258 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7264 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7268 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7269 if (!SWIG_IsOK(ecode7
)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7272 arg7
= static_cast< long >(val7
);
7276 arg8
= wxString_in_helper(obj7
);
7277 if (arg8
== NULL
) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7312 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
= 0;
7314 wxDialog
*arg1
= (wxDialog
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 char * kwnames
[] = {
7323 (char *) "self",(char *) "returnCode", NULL
7326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7328 if (!SWIG_IsOK(res1
)) {
7329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7331 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7333 if (!SWIG_IsOK(ecode2
)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7336 arg2
= static_cast< int >(val2
);
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 (arg1
)->SetReturnCode(arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_Py_Void();
7350 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 PyObject
*resultobj
= 0;
7352 wxDialog
*arg1
= (wxDialog
*) 0 ;
7356 PyObject
*swig_obj
[1] ;
7358 if (!args
) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7364 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int(static_cast< int >(result
));
7378 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= 0;
7380 wxDialog
*arg1
= (wxDialog
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7388 char * kwnames
[] = {
7389 (char *) "self",(char *) "affirmativeId", NULL
7392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7394 if (!SWIG_IsOK(res1
)) {
7395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7397 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7399 if (!SWIG_IsOK(ecode2
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7402 arg2
= static_cast< int >(val2
);
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->SetAffirmativeId(arg2
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_Py_Void();
7416 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7417 PyObject
*resultobj
= 0;
7418 wxDialog
*arg1
= (wxDialog
*) 0 ;
7422 PyObject
*swig_obj
[1] ;
7424 if (!args
) SWIG_fail
;
7426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7427 if (!SWIG_IsOK(res1
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7430 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_From_int(static_cast< int >(result
));
7444 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
= 0;
7446 wxDialog
*arg1
= (wxDialog
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 char * kwnames
[] = {
7455 (char *) "self",(char *) "escapeId", NULL
7458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7460 if (!SWIG_IsOK(res1
)) {
7461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7463 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7465 if (!SWIG_IsOK(ecode2
)) {
7466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7468 arg2
= static_cast< int >(val2
);
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 (arg1
)->SetEscapeId(arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_Py_Void();
7482 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 PyObject
*resultobj
= 0;
7484 wxDialog
*arg1
= (wxDialog
*) 0 ;
7488 PyObject
*swig_obj
[1] ;
7490 if (!args
) SWIG_fail
;
7492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7493 if (!SWIG_IsOK(res1
)) {
7494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7496 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_From_int(static_cast< int >(result
));
7510 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= 0;
7512 wxDialog
*arg1
= (wxDialog
*) 0 ;
7513 wxString
*arg2
= 0 ;
7514 wxSizer
*result
= 0 ;
7517 bool temp2
= false ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "self",(char *) "message", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7529 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7531 arg2
= wxString_in_helper(obj1
);
7532 if (arg2
== NULL
) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7558 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
= 0;
7560 wxDialog
*arg1
= (wxDialog
*) 0 ;
7562 bool arg3
= (bool) false ;
7563 int arg4
= (int) 0 ;
7564 wxSizer
*result
= 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7575 PyObject
* obj2
= 0 ;
7576 PyObject
* obj3
= 0 ;
7577 char * kwnames
[] = {
7578 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7586 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7587 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7588 if (!SWIG_IsOK(ecode2
)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7591 arg2
= static_cast< long >(val2
);
7593 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7594 if (!SWIG_IsOK(ecode3
)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7597 arg3
= static_cast< bool >(val3
);
7600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7601 if (!SWIG_IsOK(ecode4
)) {
7602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7604 arg4
= static_cast< int >(val4
);
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7621 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= 0;
7623 wxDialog
*arg1
= (wxDialog
*) 0 ;
7625 wxStdDialogButtonSizer
*result
= 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7632 char * kwnames
[] = {
7633 (char *) "self",(char *) "flags", NULL
7636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7641 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7642 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7643 if (!SWIG_IsOK(ecode2
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7646 arg2
= static_cast< long >(val2
);
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7660 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7661 PyObject
*resultobj
= 0;
7662 wxDialog
*arg1
= (wxDialog
*) 0 ;
7666 PyObject
*swig_obj
[1] ;
7668 if (!args
) SWIG_fail
;
7670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7671 if (!SWIG_IsOK(res1
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7674 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7691 PyObject
*resultobj
= 0;
7692 wxDialog
*arg1
= (wxDialog
*) 0 ;
7696 PyObject
*swig_obj
[1] ;
7698 if (!args
) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7704 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (int)(arg1
)->ShowModal();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_From_int(static_cast< int >(result
));
7718 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= 0;
7720 wxDialog
*arg1
= (wxDialog
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 char * kwnames
[] = {
7729 (char *) "self",(char *) "retCode", NULL
7732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7734 if (!SWIG_IsOK(res1
)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7737 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7739 if (!SWIG_IsOK(ecode2
)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7742 arg2
= static_cast< int >(val2
);
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->EndModal(arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_Py_Void();
7756 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7759 SwigValueWrapper
<wxVisualAttributes
> result
;
7762 PyObject
* obj0
= 0 ;
7763 char * kwnames
[] = {
7764 (char *) "variant", NULL
7767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7770 if (!SWIG_IsOK(ecode1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7773 arg1
= static_cast< wxWindowVariant
>(val1
);
7776 if (!wxPyCheckForApp()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7789 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7793 return SWIG_Py_Void();
7796 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 return SWIG_Python_InitShadowInstance(args
);
7800 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxWindow
*arg1
= (wxWindow
*) 0 ;
7803 int arg2
= (int) (int)-1 ;
7804 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7805 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7810 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7811 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7812 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7813 wxMiniFrame
*result
= 0 ;
7818 bool temp3
= false ;
7823 bool temp7
= false ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 PyObject
* obj2
= 0 ;
7827 PyObject
* obj3
= 0 ;
7828 PyObject
* obj4
= 0 ;
7829 PyObject
* obj5
= 0 ;
7830 PyObject
* obj6
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7846 arg2
= static_cast< int >(val2
);
7850 arg3
= wxString_in_helper(obj2
);
7851 if (arg3
== NULL
) SWIG_fail
;
7858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7869 if (!SWIG_IsOK(ecode6
)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7872 arg6
= static_cast< long >(val6
);
7876 arg7
= wxString_in_helper(obj6
);
7877 if (arg7
== NULL
) SWIG_fail
;
7882 if (!wxPyCheckForApp()) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7911 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 PyObject
*resultobj
= 0;
7913 wxMiniFrame
*result
= 0 ;
7915 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7917 if (!wxPyCheckForApp()) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (wxMiniFrame
*)new wxMiniFrame();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7930 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
= 0;
7932 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7933 wxWindow
*arg2
= (wxWindow
*) 0 ;
7934 int arg3
= (int) (int)-1 ;
7935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7937 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7938 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7939 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7940 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7941 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7942 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7943 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7951 bool temp4
= false ;
7956 bool temp8
= false ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 PyObject
* obj2
= 0 ;
7960 PyObject
* obj3
= 0 ;
7961 PyObject
* obj4
= 0 ;
7962 PyObject
* obj5
= 0 ;
7963 PyObject
* obj6
= 0 ;
7964 PyObject
* obj7
= 0 ;
7965 char * kwnames
[] = {
7966 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7971 if (!SWIG_IsOK(res1
)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7974 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7982 if (!SWIG_IsOK(ecode3
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7985 arg3
= static_cast< int >(val3
);
7989 arg4
= wxString_in_helper(obj3
);
7990 if (arg4
== NULL
) SWIG_fail
;
7997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8007 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8008 if (!SWIG_IsOK(ecode7
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8011 arg7
= static_cast< long >(val7
);
8015 arg8
= wxString_in_helper(obj7
);
8016 if (arg8
== NULL
) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8051 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8055 return SWIG_Py_Void();
8058 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 return SWIG_Python_InitShadowInstance(args
);
8062 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxBitmap
*arg1
= 0 ;
8065 wxWindow
*arg2
= (wxWindow
*) 0 ;
8067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8071 long arg6
= (long) wxNO_BORDER
;
8072 wxSplashScreenWindow
*result
= 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8086 PyObject
* obj3
= 0 ;
8087 PyObject
* obj4
= 0 ;
8088 PyObject
* obj5
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8101 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8103 if (!SWIG_IsOK(res2
)) {
8104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8106 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8108 if (!SWIG_IsOK(ecode3
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8111 arg3
= static_cast< int >(val3
);
8115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8121 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8125 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8126 if (!SWIG_IsOK(ecode6
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8129 arg6
= static_cast< long >(val6
);
8132 if (!wxPyCheckForApp()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8145 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8148 wxBitmap
*arg2
= 0 ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8155 char * kwnames
[] = {
8156 (char *) "self",(char *) "bitmap", NULL
8159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8161 if (!SWIG_IsOK(res1
)) {
8162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8164 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8166 if (!SWIG_IsOK(res2
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8172 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= SWIG_Py_Void();
8186 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 PyObject
*resultobj
= 0;
8188 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8189 wxBitmap
*result
= 0 ;
8192 PyObject
*swig_obj
[1] ;
8194 if (!args
) SWIG_fail
;
8196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8197 if (!SWIG_IsOK(res1
)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8200 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8205 result
= (wxBitmap
*) &_result_ref
;
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 wxBitmap
* resultptr
= new wxBitmap(*result
);
8212 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8220 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8223 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8224 return SWIG_Py_Void();
8227 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8228 return SWIG_Python_InitShadowInstance(args
);
8231 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= 0;
8233 wxBitmap
*arg1
= 0 ;
8236 wxWindow
*arg4
= (wxWindow
*) 0 ;
8237 int arg5
= (int) -1 ;
8238 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8239 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8240 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8241 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8242 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8243 wxSplashScreen
*result
= 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 PyObject
* obj2
= 0 ;
8261 PyObject
* obj3
= 0 ;
8262 PyObject
* obj4
= 0 ;
8263 PyObject
* obj5
= 0 ;
8264 PyObject
* obj6
= 0 ;
8265 PyObject
* obj7
= 0 ;
8266 char * kwnames
[] = {
8267 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8272 if (!SWIG_IsOK(res1
)) {
8273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8279 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8280 if (!SWIG_IsOK(ecode2
)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8283 arg2
= static_cast< long >(val2
);
8284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8285 if (!SWIG_IsOK(ecode3
)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8288 arg3
= static_cast< int >(val3
);
8289 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8290 if (!SWIG_IsOK(res4
)) {
8291 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8293 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8296 if (!SWIG_IsOK(ecode5
)) {
8297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8299 arg5
= static_cast< int >(val5
);
8304 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8310 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8314 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8315 if (!SWIG_IsOK(ecode8
)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8318 arg8
= static_cast< long >(val8
);
8321 if (!wxPyCheckForApp()) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8334 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 PyObject
*resultobj
= 0;
8336 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8340 PyObject
*swig_obj
[1] ;
8342 if (!args
) SWIG_fail
;
8344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8345 if (!SWIG_IsOK(res1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8348 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_From_long(static_cast< long >(result
));
8362 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 PyObject
*resultobj
= 0;
8364 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8365 wxSplashScreenWindow
*result
= 0 ;
8368 PyObject
*swig_obj
[1] ;
8370 if (!args
) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8376 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8390 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 PyObject
*resultobj
= 0;
8392 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8396 PyObject
*swig_obj
[1] ;
8398 if (!args
) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8404 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_From_int(static_cast< int >(result
));
8418 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8422 return SWIG_Py_Void();
8425 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 return SWIG_Python_InitShadowInstance(args
);
8429 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
= 0;
8431 wxWindow
*arg1
= (wxWindow
*) 0 ;
8432 int arg2
= (int) -1 ;
8433 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8434 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8435 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8436 wxStatusBar
*result
= 0 ;
8443 bool temp4
= false ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8446 PyObject
* obj2
= 0 ;
8447 PyObject
* obj3
= 0 ;
8448 char * kwnames
[] = {
8449 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8454 if (!SWIG_IsOK(res1
)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8457 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8460 if (!SWIG_IsOK(ecode2
)) {
8461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8463 arg2
= static_cast< int >(val2
);
8466 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8467 if (!SWIG_IsOK(ecode3
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8470 arg3
= static_cast< long >(val3
);
8474 arg4
= wxString_in_helper(obj3
);
8475 if (arg4
== NULL
) SWIG_fail
;
8480 if (!wxPyCheckForApp()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8501 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8502 PyObject
*resultobj
= 0;
8503 wxStatusBar
*result
= 0 ;
8505 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8507 if (!wxPyCheckForApp()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxStatusBar
*)new wxStatusBar();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8520 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8523 wxWindow
*arg2
= (wxWindow
*) 0 ;
8524 int arg3
= (int) -1 ;
8525 long arg4
= (long) wxST_SIZEGRIP
;
8526 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8527 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8537 bool temp5
= false ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 PyObject
* obj3
= 0 ;
8542 PyObject
* obj4
= 0 ;
8543 char * kwnames
[] = {
8544 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8549 if (!SWIG_IsOK(res1
)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8552 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8554 if (!SWIG_IsOK(res2
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8560 if (!SWIG_IsOK(ecode3
)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8563 arg3
= static_cast< int >(val3
);
8566 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8567 if (!SWIG_IsOK(ecode4
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8570 arg4
= static_cast< long >(val4
);
8574 arg5
= wxString_in_helper(obj4
);
8575 if (arg5
== NULL
) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
= 0;
8604 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8605 int arg2
= (int) 1 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "number", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8621 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8624 if (!SWIG_IsOK(ecode2
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8627 arg2
= static_cast< int >(val2
);
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 (arg1
)->SetFieldsCount(arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_Py_Void();
8642 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 PyObject
*resultobj
= 0;
8644 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8648 PyObject
*swig_obj
[1] ;
8650 if (!args
) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8656 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_From_int(static_cast< int >(result
));
8670 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= 0;
8672 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8673 wxString
*arg2
= 0 ;
8674 int arg3
= (int) 0 ;
8677 bool temp2
= false ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 char * kwnames
[] = {
8684 (char *) "self",(char *) "text",(char *) "number", NULL
8687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8692 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8694 arg2
= wxString_in_helper(obj1
);
8695 if (arg2
== NULL
) SWIG_fail
;
8699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8700 if (!SWIG_IsOK(ecode3
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8703 arg3
= static_cast< int >(val3
);
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8726 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
= 0;
8728 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8729 int arg2
= (int) 0 ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 char * kwnames
[] = {
8738 (char *) "self",(char *) "number", NULL
8741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8746 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8749 if (!SWIG_IsOK(ecode2
)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8752 arg2
= static_cast< int >(val2
);
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8773 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
= 0;
8775 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8776 wxString
*arg2
= 0 ;
8777 int arg3
= (int) 0 ;
8780 bool temp2
= false ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8786 char * kwnames
[] = {
8787 (char *) "self",(char *) "text",(char *) "number", NULL
8790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8792 if (!SWIG_IsOK(res1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8795 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8797 arg2
= wxString_in_helper(obj1
);
8798 if (arg2
== NULL
) SWIG_fail
;
8802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8803 if (!SWIG_IsOK(ecode3
)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8806 arg3
= static_cast< int >(val3
);
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_Py_Void();
8829 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= 0;
8831 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8832 int arg2
= (int) 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "number", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8848 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8851 if (!SWIG_IsOK(ecode2
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8854 arg2
= static_cast< int >(val2
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 (arg1
)->PopStatusText(arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_Py_Void();
8869 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
= 0;
8871 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8873 int *arg3
= (int *) 0 ;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8878 char * kwnames
[] = {
8879 (char *) "self",(char *) "widths", NULL
8882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8884 if (!SWIG_IsOK(res1
)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8887 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8889 arg2
= PyList_Size(obj1
);
8890 arg3
= int_LIST_helper(obj1
);
8891 if (arg3
== NULL
) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_Py_Void();
8901 if (arg3
) delete [] arg3
;
8906 if (arg3
) delete [] arg3
;
8912 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= 0;
8914 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8916 int *arg3
= (int *) 0 ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 char * kwnames
[] = {
8922 (char *) "self",(char *) "styles", NULL
8925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8927 if (!SWIG_IsOK(res1
)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8930 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8932 arg2
= PyList_Size(obj1
);
8933 arg3
= int_LIST_helper(obj1
);
8934 if (arg3
== NULL
) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_Py_Void();
8944 if (arg3
) delete [] arg3
;
8949 if (arg3
) delete [] arg3
;
8955 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
= 0;
8957 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "self",(char *) "i", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8975 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8977 if (!SWIG_IsOK(ecode2
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8980 arg2
= static_cast< int >(val2
);
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8994 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "self",(char *) "height", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9013 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9015 if (!SWIG_IsOK(ecode2
)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9018 arg2
= static_cast< int >(val2
);
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 (arg1
)->SetMinHeight(arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= SWIG_Py_Void();
9032 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9033 PyObject
*resultobj
= 0;
9034 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9038 PyObject
*swig_obj
[1] ;
9040 if (!args
) SWIG_fail
;
9042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9043 if (!SWIG_IsOK(res1
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9046 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_From_int(static_cast< int >(result
));
9060 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9061 PyObject
*resultobj
= 0;
9062 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9066 PyObject
*swig_obj
[1] ;
9068 if (!args
) SWIG_fail
;
9070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9071 if (!SWIG_IsOK(res1
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9074 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_From_int(static_cast< int >(result
));
9088 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
= 0;
9090 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9091 SwigValueWrapper
<wxVisualAttributes
> result
;
9094 PyObject
* obj0
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "variant", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9102 if (!SWIG_IsOK(ecode1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9105 arg1
= static_cast< wxWindowVariant
>(val1
);
9108 if (!wxPyCheckForApp()) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9121 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9124 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9125 return SWIG_Py_Void();
9128 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9129 return SWIG_Python_InitShadowInstance(args
);
9132 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9133 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9138 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9139 PyObject
*pyobj
= 0;
9143 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9145 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9152 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxWindow
*arg1
= (wxWindow
*) 0 ;
9155 int arg2
= (int) -1 ;
9156 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9157 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9158 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9159 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9160 long arg5
= (long) wxSP_3D
;
9161 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9162 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9163 wxSplitterWindow
*result
= 0 ;
9172 bool temp6
= false ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 PyObject
* obj2
= 0 ;
9176 PyObject
* obj3
= 0 ;
9177 PyObject
* obj4
= 0 ;
9178 PyObject
* obj5
= 0 ;
9179 char * kwnames
[] = {
9180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9191 if (!SWIG_IsOK(ecode2
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9194 arg2
= static_cast< int >(val2
);
9199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9209 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9210 if (!SWIG_IsOK(ecode5
)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9213 arg5
= static_cast< long >(val5
);
9217 arg6
= wxString_in_helper(obj5
);
9218 if (arg6
== NULL
) SWIG_fail
;
9223 if (!wxPyCheckForApp()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9244 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9245 PyObject
*resultobj
= 0;
9246 wxSplitterWindow
*result
= 0 ;
9248 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9250 if (!wxPyCheckForApp()) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9263 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
= 0;
9265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9266 wxWindow
*arg2
= (wxWindow
*) 0 ;
9267 int arg3
= (int) -1 ;
9268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9272 long arg6
= (long) wxSP_3D
;
9273 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9286 bool temp7
= false ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9290 PyObject
* obj3
= 0 ;
9291 PyObject
* obj4
= 0 ;
9292 PyObject
* obj5
= 0 ;
9293 PyObject
* obj6
= 0 ;
9294 char * kwnames
[] = {
9295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9300 if (!SWIG_IsOK(res1
)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9303 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9305 if (!SWIG_IsOK(res2
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9311 if (!SWIG_IsOK(ecode3
)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9314 arg3
= static_cast< int >(val3
);
9319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9329 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9330 if (!SWIG_IsOK(ecode6
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9333 arg6
= static_cast< long >(val6
);
9337 arg7
= wxString_in_helper(obj6
);
9338 if (arg7
== NULL
) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9365 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9366 PyObject
*resultobj
= 0;
9367 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9368 wxWindow
*result
= 0 ;
9371 PyObject
*swig_obj
[1] ;
9373 if (!args
) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9379 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= wxPyMake_wxObject(result
, 0);
9395 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 PyObject
*resultobj
= 0;
9397 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9398 wxWindow
*result
= 0 ;
9401 PyObject
*swig_obj
[1] ;
9403 if (!args
) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9409 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= wxPyMake_wxObject(result
, 0);
9425 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "self",(char *) "mode", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9444 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9446 if (!SWIG_IsOK(ecode2
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9449 arg2
= static_cast< int >(val2
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetSplitMode(arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_Py_Void();
9463 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9464 PyObject
*resultobj
= 0;
9465 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9469 PyObject
*swig_obj
[1] ;
9471 if (!args
) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9477 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_int(static_cast< int >(result
));
9491 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
= 0;
9493 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9494 wxWindow
*arg2
= (wxWindow
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9500 PyObject
* obj1
= 0 ;
9501 char * kwnames
[] = {
9502 (char *) "self",(char *) "window", NULL
9505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9507 if (!SWIG_IsOK(res1
)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9510 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9512 if (!SWIG_IsOK(res2
)) {
9513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9515 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 (arg1
)->Initialize(arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_Py_Void();
9529 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= 0;
9531 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9532 wxWindow
*arg2
= (wxWindow
*) 0 ;
9533 wxWindow
*arg3
= (wxWindow
*) 0 ;
9534 int arg4
= (int) 0 ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 PyObject
* obj2
= 0 ;
9547 PyObject
* obj3
= 0 ;
9548 char * kwnames
[] = {
9549 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9554 if (!SWIG_IsOK(res1
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9557 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9559 if (!SWIG_IsOK(res2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9563 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9564 if (!SWIG_IsOK(res3
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9567 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9570 if (!SWIG_IsOK(ecode4
)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9573 arg4
= static_cast< int >(val4
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= 0;
9592 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9593 wxWindow
*arg2
= (wxWindow
*) 0 ;
9594 wxWindow
*arg3
= (wxWindow
*) 0 ;
9595 int arg4
= (int) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9608 PyObject
* obj3
= 0 ;
9609 char * kwnames
[] = {
9610 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9615 if (!SWIG_IsOK(res1
)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9618 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9620 if (!SWIG_IsOK(res2
)) {
9621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9624 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9625 if (!SWIG_IsOK(res3
)) {
9626 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9628 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9631 if (!SWIG_IsOK(ecode4
)) {
9632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9634 arg4
= static_cast< int >(val4
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9651 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
= 0;
9653 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9654 wxWindow
*arg2
= (wxWindow
*) NULL
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 char * kwnames
[] = {
9663 (char *) "self",(char *) "toRemove", NULL
9666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9668 if (!SWIG_IsOK(res1
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9671 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9674 if (!SWIG_IsOK(res2
)) {
9675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (bool)(arg1
)->Unsplit(arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9694 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= 0;
9696 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9697 wxWindow
*arg2
= (wxWindow
*) 0 ;
9698 wxWindow
*arg3
= (wxWindow
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 PyObject
* obj2
= 0 ;
9709 char * kwnames
[] = {
9710 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9715 if (!SWIG_IsOK(res1
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9718 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9720 if (!SWIG_IsOK(res2
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9724 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9725 if (!SWIG_IsOK(res3
)) {
9726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9728 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9749 PyObject
*swig_obj
[1] ;
9751 if (!args
) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9757 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 (arg1
)->UpdateSize();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_Py_Void();
9771 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9772 PyObject
*resultobj
= 0;
9773 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9777 PyObject
*swig_obj
[1] ;
9779 if (!args
) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9785 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9801 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
= 0;
9803 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 char * kwnames
[] = {
9812 (char *) "self",(char *) "width", NULL
9815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9820 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9822 if (!SWIG_IsOK(ecode2
)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9825 arg2
= static_cast< int >(val2
);
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->SetSashSize(arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "self",(char *) "width", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9858 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9860 if (!SWIG_IsOK(ecode2
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9863 arg2
= static_cast< int >(val2
);
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 (arg1
)->SetBorderSize(arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_Py_Void();
9877 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9878 PyObject
*resultobj
= 0;
9879 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9883 PyObject
*swig_obj
[1] ;
9885 if (!args
) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9891 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_From_int(static_cast< int >(result
));
9905 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9906 PyObject
*resultobj
= 0;
9907 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9911 PyObject
*swig_obj
[1] ;
9913 if (!args
) SWIG_fail
;
9915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9916 if (!SWIG_IsOK(res1
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9919 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_From_int(static_cast< int >(result
));
9933 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9937 bool arg3
= (bool) true ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9947 char * kwnames
[] = {
9948 (char *) "self",(char *) "position",(char *) "redraw", NULL
9951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9953 if (!SWIG_IsOK(res1
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9956 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9958 if (!SWIG_IsOK(ecode2
)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9961 arg2
= static_cast< int >(val2
);
9963 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9964 if (!SWIG_IsOK(ecode3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9967 arg3
= static_cast< bool >(val3
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 (arg1
)->SetSashPosition(arg2
,arg3
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_Py_Void();
9982 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9983 PyObject
*resultobj
= 0;
9984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9988 PyObject
*swig_obj
[1] ;
9990 if (!args
) SWIG_fail
;
9992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9993 if (!SWIG_IsOK(res1
)) {
9994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9996 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_From_int(static_cast< int >(result
));
10010 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
= 0;
10012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 char * kwnames
[] = {
10021 (char *) "self",(char *) "gravity", NULL
10024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10030 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10031 if (!SWIG_IsOK(ecode2
)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10034 arg2
= static_cast< double >(val2
);
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->SetSashGravity(arg2
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10049 PyObject
*resultobj
= 0;
10050 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10054 PyObject
*swig_obj
[1] ;
10056 if (!args
) SWIG_fail
;
10057 swig_obj
[0] = args
;
10058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10062 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= SWIG_From_double(static_cast< double >(result
));
10076 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "self",(char *) "min", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10095 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10097 if (!SWIG_IsOK(ecode2
)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10100 arg2
= static_cast< int >(val2
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->SetMinimumPaneSize(arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_From_int(static_cast< int >(result
));
10142 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
= 0;
10144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 int arg4
= (int) 5 ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 PyObject
* obj2
= 0 ;
10160 PyObject
* obj3
= 0 ;
10161 char * kwnames
[] = {
10162 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10167 if (!SWIG_IsOK(res1
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10170 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10172 if (!SWIG_IsOK(ecode2
)) {
10173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10175 arg2
= static_cast< int >(val2
);
10176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10177 if (!SWIG_IsOK(ecode3
)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10180 arg3
= static_cast< int >(val3
);
10182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10183 if (!SWIG_IsOK(ecode4
)) {
10184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10186 arg4
= static_cast< int >(val4
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10203 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10204 PyObject
*resultobj
= 0;
10205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10216 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->SizeWindows();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_Py_Void();
10230 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "self",(char *) "needUpdating", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10249 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10251 if (!SWIG_IsOK(ecode2
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10254 arg2
= static_cast< bool >(val2
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetNeedUpdating(arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_Py_Void();
10268 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 PyObject
*resultobj
= 0;
10270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10274 PyObject
*swig_obj
[1] ;
10276 if (!args
) SWIG_fail
;
10277 swig_obj
[0] = args
;
10278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10279 if (!SWIG_IsOK(res1
)) {
10280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10282 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10298 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10301 SwigValueWrapper
<wxVisualAttributes
> result
;
10304 PyObject
* obj0
= 0 ;
10305 char * kwnames
[] = {
10306 (char *) "variant", NULL
10309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10312 if (!SWIG_IsOK(ecode1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10315 arg1
= static_cast< wxWindowVariant
>(val1
);
10318 if (!wxPyCheckForApp()) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10331 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10334 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10335 return SWIG_Py_Void();
10338 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10339 return SWIG_Python_InitShadowInstance(args
);
10342 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10345 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10346 wxSplitterEvent
*result
= 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "type",(char *) "splitter", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10360 if (!SWIG_IsOK(ecode1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10363 arg1
= static_cast< wxEventType
>(val1
);
10366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10367 if (!SWIG_IsOK(res2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10370 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10385 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= 0;
10387 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 char * kwnames
[] = {
10396 (char *) "self",(char *) "pos", NULL
10399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10401 if (!SWIG_IsOK(res1
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10404 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10406 if (!SWIG_IsOK(ecode2
)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10409 arg2
= static_cast< int >(val2
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 (arg1
)->SetSashPosition(arg2
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_Py_Void();
10423 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 PyObject
*resultobj
= 0;
10425 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10429 PyObject
*swig_obj
[1] ;
10431 if (!args
) SWIG_fail
;
10432 swig_obj
[0] = args
;
10433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10434 if (!SWIG_IsOK(res1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10437 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_From_int(static_cast< int >(result
));
10451 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10452 PyObject
*resultobj
= 0;
10453 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10454 wxWindow
*result
= 0 ;
10457 PyObject
*swig_obj
[1] ;
10459 if (!args
) SWIG_fail
;
10460 swig_obj
[0] = args
;
10461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10465 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= wxPyMake_wxObject(result
, 0);
10481 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10482 PyObject
*resultobj
= 0;
10483 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10487 PyObject
*swig_obj
[1] ;
10489 if (!args
) SWIG_fail
;
10490 swig_obj
[0] = args
;
10491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10492 if (!SWIG_IsOK(res1
)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10495 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_int(static_cast< int >(result
));
10509 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10510 PyObject
*resultobj
= 0;
10511 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10515 PyObject
*swig_obj
[1] ;
10517 if (!args
) SWIG_fail
;
10518 swig_obj
[0] = args
;
10519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10520 if (!SWIG_IsOK(res1
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10523 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= SWIG_From_int(static_cast< int >(result
));
10537 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10540 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10541 return SWIG_Py_Void();
10544 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 return SWIG_Python_InitShadowInstance(args
);
10548 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10549 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10554 SWIGINTERN PyObject
*SashNameStr_get(void) {
10555 PyObject
*pyobj
= 0;
10559 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10561 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10568 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10569 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10574 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10575 PyObject
*pyobj
= 0;
10579 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10581 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10588 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxWindow
*arg1
= (wxWindow
*) 0 ;
10591 int arg2
= (int) -1 ;
10592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10596 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10597 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10599 wxSashWindow
*result
= 0 ;
10608 bool temp6
= false ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 PyObject
* obj3
= 0 ;
10613 PyObject
* obj4
= 0 ;
10614 PyObject
* obj5
= 0 ;
10615 char * kwnames
[] = {
10616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10627 if (!SWIG_IsOK(ecode2
)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10630 arg2
= static_cast< int >(val2
);
10635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10645 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10646 if (!SWIG_IsOK(ecode5
)) {
10647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10649 arg5
= static_cast< long >(val5
);
10653 arg6
= wxString_in_helper(obj5
);
10654 if (arg6
== NULL
) SWIG_fail
;
10659 if (!wxPyCheckForApp()) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10680 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 PyObject
*resultobj
= 0;
10682 wxSashWindow
*result
= 0 ;
10684 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10686 if (!wxPyCheckForApp()) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (wxSashWindow
*)new wxSashWindow();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10699 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
= 0;
10701 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10702 wxWindow
*arg2
= (wxWindow
*) 0 ;
10703 int arg3
= (int) -1 ;
10704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10708 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10709 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10722 bool temp7
= false ;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 PyObject
* obj3
= 0 ;
10727 PyObject
* obj4
= 0 ;
10728 PyObject
* obj5
= 0 ;
10729 PyObject
* obj6
= 0 ;
10730 char * kwnames
[] = {
10731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10736 if (!SWIG_IsOK(res1
)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10739 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10741 if (!SWIG_IsOK(res2
)) {
10742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10747 if (!SWIG_IsOK(ecode3
)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10750 arg3
= static_cast< int >(val3
);
10755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10766 if (!SWIG_IsOK(ecode6
)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10769 arg6
= static_cast< long >(val6
);
10773 arg7
= wxString_in_helper(obj6
);
10774 if (arg7
== NULL
) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
= 0;
10803 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10804 wxSashEdgePosition arg2
;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "edge",(char *) "sash", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10824 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10829 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10830 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10831 if (!SWIG_IsOK(ecode3
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10834 arg3
= static_cast< bool >(val3
);
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetSashVisible(arg2
,arg3
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_Py_Void();
10848 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
= 0;
10850 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10851 wxSashEdgePosition arg2
;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char * kwnames
[] = {
10860 (char *) "self",(char *) "edge", NULL
10863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10868 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10870 if (!SWIG_IsOK(ecode2
)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10873 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10889 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
= 0;
10891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10892 wxSashEdgePosition arg2
;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char * kwnames
[] = {
10904 (char *) "self",(char *) "edge",(char *) "border", NULL
10907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10909 if (!SWIG_IsOK(res1
)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10912 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10914 if (!SWIG_IsOK(ecode2
)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10917 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10918 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10919 if (!SWIG_IsOK(ecode3
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10922 arg3
= static_cast< bool >(val3
);
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetSashBorder(arg2
,arg3
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= SWIG_Py_Void();
10936 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10939 wxSashEdgePosition arg2
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "edge", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10956 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10958 if (!SWIG_IsOK(ecode2
)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10961 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10977 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
= 0;
10979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10980 wxSashEdgePosition arg2
;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 char * kwnames
[] = {
10989 (char *) "self",(char *) "edge", NULL
10992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10997 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10999 if (!SWIG_IsOK(ecode2
)) {
11000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11002 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_From_int(static_cast< int >(result
));
11016 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= 0;
11018 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 char * kwnames
[] = {
11027 (char *) "self",(char *) "width", NULL
11030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11032 if (!SWIG_IsOK(res1
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11035 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11037 if (!SWIG_IsOK(ecode2
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11040 arg2
= static_cast< int >(val2
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 (arg1
)->SetDefaultBorderSize(arg2
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= SWIG_Py_Void();
11054 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11055 PyObject
*resultobj
= 0;
11056 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11060 PyObject
*swig_obj
[1] ;
11062 if (!args
) SWIG_fail
;
11063 swig_obj
[0] = args
;
11064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11065 if (!SWIG_IsOK(res1
)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11068 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_From_int(static_cast< int >(result
));
11082 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char * kwnames
[] = {
11093 (char *) "self",(char *) "width", NULL
11096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11101 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11103 if (!SWIG_IsOK(ecode2
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11106 arg2
= static_cast< int >(val2
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 (arg1
)->SetExtraBorderSize(arg2
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_Py_Void();
11120 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11121 PyObject
*resultobj
= 0;
11122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11126 PyObject
*swig_obj
[1] ;
11128 if (!args
) SWIG_fail
;
11129 swig_obj
[0] = args
;
11130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11134 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_From_int(static_cast< int >(result
));
11148 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
= 0;
11150 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "min", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11167 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11172 arg2
= static_cast< int >(val2
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetMinimumSizeX(arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_Py_Void();
11186 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "min", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11205 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11207 if (!SWIG_IsOK(ecode2
)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11210 arg2
= static_cast< int >(val2
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->SetMinimumSizeY(arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_Py_Void();
11224 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11225 PyObject
*resultobj
= 0;
11226 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11230 PyObject
*swig_obj
[1] ;
11232 if (!args
) SWIG_fail
;
11233 swig_obj
[0] = args
;
11234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11238 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_From_int(static_cast< int >(result
));
11252 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11253 PyObject
*resultobj
= 0;
11254 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11258 PyObject
*swig_obj
[1] ;
11260 if (!args
) SWIG_fail
;
11261 swig_obj
[0] = args
;
11262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11266 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_From_int(static_cast< int >(result
));
11280 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char * kwnames
[] = {
11291 (char *) "self",(char *) "max", NULL
11294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11299 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11301 if (!SWIG_IsOK(ecode2
)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11304 arg2
= static_cast< int >(val2
);
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->SetMaximumSizeX(arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_Py_Void();
11318 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
= 0;
11320 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char * kwnames
[] = {
11329 (char *) "self",(char *) "max", NULL
11332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11337 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11339 if (!SWIG_IsOK(ecode2
)) {
11340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11342 arg2
= static_cast< int >(val2
);
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->SetMaximumSizeY(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_Py_Void();
11356 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11357 PyObject
*resultobj
= 0;
11358 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11362 PyObject
*swig_obj
[1] ;
11364 if (!args
) SWIG_fail
;
11365 swig_obj
[0] = args
;
11366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11370 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_From_int(static_cast< int >(result
));
11384 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11385 PyObject
*resultobj
= 0;
11386 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11390 PyObject
*swig_obj
[1] ;
11392 if (!args
) SWIG_fail
;
11393 swig_obj
[0] = args
;
11394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11398 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_From_int(static_cast< int >(result
));
11412 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
= 0;
11414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11417 int arg4
= (int) 2 ;
11418 wxSashEdgePosition result
;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 PyObject
* obj3
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11442 if (!SWIG_IsOK(ecode2
)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11445 arg2
= static_cast< int >(val2
);
11446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11447 if (!SWIG_IsOK(ecode3
)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11450 arg3
= static_cast< int >(val3
);
11452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11453 if (!SWIG_IsOK(ecode4
)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11456 arg4
= static_cast< int >(val4
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_From_int(static_cast< int >(result
));
11471 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11472 PyObject
*resultobj
= 0;
11473 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11476 PyObject
*swig_obj
[1] ;
11478 if (!args
) SWIG_fail
;
11479 swig_obj
[0] = args
;
11480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11484 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SizeWindows();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_Py_Void();
11498 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11501 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11502 return SWIG_Py_Void();
11505 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11506 return SWIG_Python_InitShadowInstance(args
);
11509 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
= 0;
11511 int arg1
= (int) 0 ;
11512 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11513 wxSashEvent
*result
= 0 ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 char * kwnames
[] = {
11521 (char *) "id",(char *) "edge", NULL
11524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11527 if (!SWIG_IsOK(ecode1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11530 arg1
= static_cast< int >(val1
);
11533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11534 if (!SWIG_IsOK(ecode2
)) {
11535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11537 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11552 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
= 0;
11554 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11555 wxSashEdgePosition arg2
;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "edge", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11571 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11573 if (!SWIG_IsOK(ecode2
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11576 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->SetEdge(arg2
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_Py_Void();
11590 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11591 PyObject
*resultobj
= 0;
11592 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11593 wxSashEdgePosition result
;
11596 PyObject
*swig_obj
[1] ;
11598 if (!args
) SWIG_fail
;
11599 swig_obj
[0] = args
;
11600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11604 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_From_int(static_cast< int >(result
));
11618 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
= 0;
11620 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "rect", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11636 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_Py_Void();
11654 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 PyObject
*resultobj
= 0;
11656 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11660 PyObject
*swig_obj
[1] ;
11662 if (!args
) SWIG_fail
;
11663 swig_obj
[0] = args
;
11664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11668 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11682 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= 0;
11684 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11685 wxSashDragStatus arg2
;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "status", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11701 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11703 if (!SWIG_IsOK(ecode2
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11706 arg2
= static_cast< wxSashDragStatus
>(val2
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->SetDragStatus(arg2
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_Py_Void();
11720 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11723 wxSashDragStatus result
;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11734 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11752 return SWIG_Py_Void();
11755 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 return SWIG_Python_InitShadowInstance(args
);
11759 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
= 0;
11761 int arg1
= (int) 0 ;
11762 wxQueryLayoutInfoEvent
*result
= 0 ;
11765 PyObject
* obj0
= 0 ;
11766 char * kwnames
[] = {
11767 (char *) "id", NULL
11770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11773 if (!SWIG_IsOK(ecode1
)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11776 arg1
= static_cast< int >(val1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11791 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
= 0;
11793 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char * kwnames
[] = {
11802 (char *) "self",(char *) "length", NULL
11805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11807 if (!SWIG_IsOK(res1
)) {
11808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11810 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11812 if (!SWIG_IsOK(ecode2
)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11815 arg2
= static_cast< int >(val2
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->SetRequestedLength(arg2
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_Py_Void();
11829 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 PyObject
*resultobj
= 0;
11831 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11843 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_From_int(static_cast< int >(result
));
11857 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
= 0;
11859 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 char * kwnames
[] = {
11868 (char *) "self",(char *) "flags", NULL
11871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11876 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11878 if (!SWIG_IsOK(ecode2
)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11881 arg2
= static_cast< int >(val2
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->SetFlags(arg2
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_Py_Void();
11895 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11896 PyObject
*resultobj
= 0;
11897 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11901 PyObject
*swig_obj
[1] ;
11903 if (!args
) SWIG_fail
;
11904 swig_obj
[0] = args
;
11905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11909 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_From_int(static_cast< int >(result
));
11923 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= 0;
11925 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "size", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11941 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->SetSize((wxSize
const &)*arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_Py_Void();
11959 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11987 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11990 wxLayoutOrientation arg2
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "orient", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12006 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12008 if (!SWIG_IsOK(ecode2
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12011 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->SetOrientation(arg2
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_Py_Void();
12025 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12026 PyObject
*resultobj
= 0;
12027 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12028 wxLayoutOrientation result
;
12031 PyObject
*swig_obj
[1] ;
12033 if (!args
) SWIG_fail
;
12034 swig_obj
[0] = args
;
12035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12039 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_From_int(static_cast< int >(result
));
12053 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= 0;
12055 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12056 wxLayoutAlignment arg2
;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char * kwnames
[] = {
12064 (char *) "self",(char *) "align", NULL
12067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12072 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12074 if (!SWIG_IsOK(ecode2
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12077 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->SetAlignment(arg2
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 PyObject
*resultobj
= 0;
12093 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12094 wxLayoutAlignment result
;
12097 PyObject
*swig_obj
[1] ;
12099 if (!args
) SWIG_fail
;
12100 swig_obj
[0] = args
;
12101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12102 if (!SWIG_IsOK(res1
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12105 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= SWIG_From_int(static_cast< int >(result
));
12119 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12122 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12123 return SWIG_Py_Void();
12126 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12127 return SWIG_Python_InitShadowInstance(args
);
12130 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 int arg1
= (int) 0 ;
12133 wxCalculateLayoutEvent
*result
= 0 ;
12136 PyObject
* obj0
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "id", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12144 if (!SWIG_IsOK(ecode1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12147 arg1
= static_cast< int >(val1
);
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12162 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
= 0;
12164 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 char * kwnames
[] = {
12173 (char *) "self",(char *) "flags", NULL
12176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12178 if (!SWIG_IsOK(res1
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12181 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12183 if (!SWIG_IsOK(ecode2
)) {
12184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12186 arg2
= static_cast< int >(val2
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->SetFlags(arg2
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_Py_Void();
12200 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12206 PyObject
*swig_obj
[1] ;
12208 if (!args
) SWIG_fail
;
12209 swig_obj
[0] = args
;
12210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12214 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_From_int(static_cast< int >(result
));
12228 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char * kwnames
[] = {
12238 (char *) "self",(char *) "rect", NULL
12241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12246 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12249 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetRect((wxRect
const &)*arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_Py_Void();
12264 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12265 PyObject
*resultobj
= 0;
12266 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12270 PyObject
*swig_obj
[1] ;
12272 if (!args
) SWIG_fail
;
12273 swig_obj
[0] = args
;
12274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12275 if (!SWIG_IsOK(res1
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12278 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12292 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12295 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12296 return SWIG_Py_Void();
12299 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 return SWIG_Python_InitShadowInstance(args
);
12303 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
= 0;
12305 wxWindow
*arg1
= (wxWindow
*) 0 ;
12306 int arg2
= (int) -1 ;
12307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12311 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12312 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12313 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12314 wxSashLayoutWindow
*result
= 0 ;
12323 bool temp6
= false ;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 PyObject
* obj3
= 0 ;
12328 PyObject
* obj4
= 0 ;
12329 PyObject
* obj5
= 0 ;
12330 char * kwnames
[] = {
12331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12336 if (!SWIG_IsOK(res1
)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12345 arg2
= static_cast< int >(val2
);
12350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12360 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12361 if (!SWIG_IsOK(ecode5
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12364 arg5
= static_cast< long >(val5
);
12368 arg6
= wxString_in_helper(obj5
);
12369 if (arg6
== NULL
) SWIG_fail
;
12374 if (!wxPyCheckForApp()) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12395 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12396 PyObject
*resultobj
= 0;
12397 wxSashLayoutWindow
*result
= 0 ;
12399 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12401 if (!wxPyCheckForApp()) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12414 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12417 wxWindow
*arg2
= (wxWindow
*) 0 ;
12418 int arg3
= (int) -1 ;
12419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12423 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12424 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12425 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12437 bool temp7
= false ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 PyObject
* obj3
= 0 ;
12442 PyObject
* obj4
= 0 ;
12443 PyObject
* obj5
= 0 ;
12444 PyObject
* obj6
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12454 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12456 if (!SWIG_IsOK(res2
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12462 if (!SWIG_IsOK(ecode3
)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12465 arg3
= static_cast< int >(val3
);
12470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12480 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12481 if (!SWIG_IsOK(ecode6
)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12484 arg6
= static_cast< long >(val6
);
12488 arg7
= wxString_in_helper(obj6
);
12489 if (arg7
== NULL
) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12516 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12517 PyObject
*resultobj
= 0;
12518 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12519 wxLayoutAlignment result
;
12522 PyObject
*swig_obj
[1] ;
12524 if (!args
) SWIG_fail
;
12525 swig_obj
[0] = args
;
12526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12530 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_From_int(static_cast< int >(result
));
12544 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12547 wxLayoutOrientation result
;
12550 PyObject
*swig_obj
[1] ;
12552 if (!args
) SWIG_fail
;
12553 swig_obj
[0] = args
;
12554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12555 if (!SWIG_IsOK(res1
)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12558 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_From_int(static_cast< int >(result
));
12572 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= 0;
12574 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12575 wxLayoutAlignment arg2
;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char * kwnames
[] = {
12583 (char *) "self",(char *) "alignment", NULL
12586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12588 if (!SWIG_IsOK(res1
)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12591 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12593 if (!SWIG_IsOK(ecode2
)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12596 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetAlignment(arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char * kwnames
[] = {
12620 (char *) "self",(char *) "size", NULL
12623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12628 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12649 wxLayoutOrientation arg2
;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "self",(char *) "orientation", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12662 if (!SWIG_IsOK(res1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12665 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12667 if (!SWIG_IsOK(ecode2
)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12670 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetOrientation(arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_Py_Void();
12684 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12687 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12688 return SWIG_Py_Void();
12691 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12692 return SWIG_Python_InitShadowInstance(args
);
12695 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12697 wxLayoutAlgorithm
*result
= 0 ;
12699 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12713 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12714 PyObject
*resultobj
= 0;
12715 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12718 PyObject
*swig_obj
[1] ;
12720 if (!args
) SWIG_fail
;
12721 swig_obj
[0] = args
;
12722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12726 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_Py_Void();
12741 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
= 0;
12743 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12744 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12745 wxRect
*arg3
= (wxRect
*) NULL
;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 PyObject
* obj2
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "frame",(char *) "rect", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12765 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12767 if (!SWIG_IsOK(res2
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12770 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12773 if (!SWIG_IsOK(res3
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12776 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12793 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
= 0;
12795 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12796 wxFrame
*arg2
= (wxFrame
*) 0 ;
12797 wxWindow
*arg3
= (wxWindow
*) NULL
;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 PyObject
* obj2
= 0 ;
12808 char * kwnames
[] = {
12809 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12817 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12819 if (!SWIG_IsOK(res2
)) {
12820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12822 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12824 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12825 if (!SWIG_IsOK(res3
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12828 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12845 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12848 wxWindow
*arg2
= (wxWindow
*) 0 ;
12849 wxWindow
*arg3
= (wxWindow
*) NULL
;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 PyObject
* obj2
= 0 ;
12860 char * kwnames
[] = {
12861 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12866 if (!SWIG_IsOK(res1
)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12869 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12871 if (!SWIG_IsOK(res2
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12876 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12877 if (!SWIG_IsOK(res3
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12880 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12900 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12901 return SWIG_Py_Void();
12904 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 return SWIG_Python_InitShadowInstance(args
);
12908 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
= 0;
12910 wxWindow
*arg1
= (wxWindow
*) 0 ;
12911 int arg2
= (int) wxBORDER_NONE
;
12912 wxPopupWindow
*result
= 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char * kwnames
[] = {
12920 (char *) "parent",(char *) "flags", NULL
12923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12925 if (!SWIG_IsOK(res1
)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12931 if (!SWIG_IsOK(ecode2
)) {
12932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12934 arg2
= static_cast< int >(val2
);
12937 if (!wxPyCheckForApp()) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12950 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12951 PyObject
*resultobj
= 0;
12952 wxPopupWindow
*result
= 0 ;
12954 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12956 if (!wxPyCheckForApp()) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (wxPopupWindow
*)new wxPopupWindow();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12969 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
= 0;
12971 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12972 wxWindow
*arg2
= (wxWindow
*) 0 ;
12973 int arg3
= (int) wxBORDER_NONE
;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 char * kwnames
[] = {
12985 (char *) "self",(char *) "parent",(char *) "flags", NULL
12988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12990 if (!SWIG_IsOK(res1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12993 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12995 if (!SWIG_IsOK(res2
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13001 if (!SWIG_IsOK(ecode3
)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13004 arg3
= static_cast< int >(val3
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13021 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
= 0;
13023 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13024 wxPoint
*arg2
= 0 ;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 char * kwnames
[] = {
13034 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13039 if (!SWIG_IsOK(res1
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13042 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13049 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= SWIG_Py_Void();
13064 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13067 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13068 return SWIG_Py_Void();
13071 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13072 return SWIG_Python_InitShadowInstance(args
);
13075 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxWindow
*arg1
= (wxWindow
*) 0 ;
13078 int arg2
= (int) wxBORDER_NONE
;
13079 wxPyPopupTransientWindow
*result
= 0 ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "parent",(char *) "style", NULL
13090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13092 if (!SWIG_IsOK(res1
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13098 if (!SWIG_IsOK(ecode2
)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13101 arg2
= static_cast< int >(val2
);
13104 if (!wxPyCheckForApp()) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13117 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13118 PyObject
*resultobj
= 0;
13119 wxPyPopupTransientWindow
*result
= 0 ;
13121 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13123 if (!wxPyCheckForApp()) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13136 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
= 0;
13138 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13139 PyObject
*arg2
= (PyObject
*) 0 ;
13140 PyObject
*arg3
= (PyObject
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 char * kwnames
[] = {
13147 (char *) "self",(char *) "self",(char *) "_class", NULL
13150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13155 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= SWIG_Py_Void();
13171 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
= 0;
13173 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13174 wxWindow
*arg2
= (wxWindow
*) NULL
;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char * kwnames
[] = {
13182 (char *) "self",(char *) "focus", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13187 if (!SWIG_IsOK(res1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13190 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13193 if (!SWIG_IsOK(res2
)) {
13194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->Popup(arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_Py_Void();
13211 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 PyObject
*resultobj
= 0;
13213 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13216 PyObject
*swig_obj
[1] ;
13218 if (!args
) SWIG_fail
;
13219 swig_obj
[0] = args
;
13220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13221 if (!SWIG_IsOK(res1
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13224 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_Py_Void();
13238 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13242 return SWIG_Py_Void();
13245 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13246 return SWIG_Python_InitShadowInstance(args
);
13249 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
= 0;
13251 wxWindow
*arg1
= (wxWindow
*) 0 ;
13252 wxString
*arg2
= 0 ;
13253 int arg3
= (int) 100 ;
13254 wxRect
*arg4
= (wxRect
*) NULL
;
13255 wxTipWindow
*result
= 0 ;
13258 bool temp2
= false ;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 PyObject
* obj2
= 0 ;
13266 PyObject
* obj3
= 0 ;
13267 char * kwnames
[] = {
13268 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13273 if (!SWIG_IsOK(res1
)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13278 arg2
= wxString_in_helper(obj1
);
13279 if (arg2
== NULL
) SWIG_fail
;
13283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13284 if (!SWIG_IsOK(ecode3
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13287 arg3
= static_cast< int >(val3
);
13290 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13291 if (!SWIG_IsOK(res4
)) {
13292 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13294 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13297 if (!wxPyCheckForApp()) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13318 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
= 0;
13320 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char * kwnames
[] = {
13328 (char *) "self",(char *) "rectBound", NULL
13331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13336 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13339 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_Py_Void();
13354 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13355 PyObject
*resultobj
= 0;
13356 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13359 PyObject
*swig_obj
[1] ;
13361 if (!args
) SWIG_fail
;
13362 swig_obj
[0] = args
;
13363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13367 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13381 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13384 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13385 return SWIG_Py_Void();
13388 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 return SWIG_Python_InitShadowInstance(args
);
13392 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxWindow
*arg1
= (wxWindow
*) 0 ;
13395 int arg2
= (int) wxID_ANY
;
13396 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13397 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13398 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13399 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13400 long arg5
= (long) 0 ;
13401 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13402 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13403 wxPyVScrolledWindow
*result
= 0 ;
13412 bool temp6
= false ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 PyObject
* obj2
= 0 ;
13416 PyObject
* obj3
= 0 ;
13417 PyObject
* obj4
= 0 ;
13418 PyObject
* obj5
= 0 ;
13419 char * kwnames
[] = {
13420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13425 if (!SWIG_IsOK(res1
)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13431 if (!SWIG_IsOK(ecode2
)) {
13432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13434 arg2
= static_cast< int >(val2
);
13439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13445 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13449 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13450 if (!SWIG_IsOK(ecode5
)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13453 arg5
= static_cast< long >(val5
);
13457 arg6
= wxString_in_helper(obj5
);
13458 if (arg6
== NULL
) SWIG_fail
;
13463 if (!wxPyCheckForApp()) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13484 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxPyVScrolledWindow
*result
= 0 ;
13488 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13490 if (!wxPyCheckForApp()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13503 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
= 0;
13505 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13506 PyObject
*arg2
= (PyObject
*) 0 ;
13507 PyObject
*arg3
= (PyObject
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 PyObject
* obj2
= 0 ;
13513 char * kwnames
[] = {
13514 (char *) "self",(char *) "self",(char *) "_class", NULL
13517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13519 if (!SWIG_IsOK(res1
)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13522 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_Py_Void();
13538 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
= 0;
13540 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13541 wxWindow
*arg2
= (wxWindow
*) 0 ;
13542 int arg3
= (int) wxID_ANY
;
13543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13547 long arg6
= (long) 0 ;
13548 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13549 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13561 bool temp7
= false ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 PyObject
* obj2
= 0 ;
13565 PyObject
* obj3
= 0 ;
13566 PyObject
* obj4
= 0 ;
13567 PyObject
* obj5
= 0 ;
13568 PyObject
* obj6
= 0 ;
13569 char * kwnames
[] = {
13570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13575 if (!SWIG_IsOK(res1
)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13578 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13580 if (!SWIG_IsOK(res2
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13586 if (!SWIG_IsOK(ecode3
)) {
13587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13589 arg3
= static_cast< int >(val3
);
13594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13604 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13605 if (!SWIG_IsOK(ecode6
)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13608 arg6
= static_cast< long >(val6
);
13612 arg7
= wxString_in_helper(obj6
);
13613 if (arg7
== NULL
) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13640 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
= 0;
13642 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char * kwnames
[] = {
13651 (char *) "self",(char *) "count", NULL
13654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13659 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13660 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13661 if (!SWIG_IsOK(ecode2
)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13664 arg2
= static_cast< size_t >(val2
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 (arg1
)->SetLineCount(arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_Py_Void();
13678 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
= 0;
13680 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char * kwnames
[] = {
13690 (char *) "self",(char *) "line", NULL
13693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13695 if (!SWIG_IsOK(res1
)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13698 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13699 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13700 if (!SWIG_IsOK(ecode2
)) {
13701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13703 arg2
= static_cast< size_t >(val2
);
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13719 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char * kwnames
[] = {
13730 (char *) "self",(char *) "line", NULL
13733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13735 if (!SWIG_IsOK(res1
)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13738 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13739 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13740 if (!SWIG_IsOK(ecode2
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13743 arg2
= static_cast< size_t >(val2
);
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->RefreshLine(arg2
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_Py_Void();
13757 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
= 0;
13759 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 PyObject
* obj2
= 0 ;
13771 char * kwnames
[] = {
13772 (char *) "self",(char *) "from",(char *) "to", NULL
13775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13780 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13781 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13782 if (!SWIG_IsOK(ecode2
)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13785 arg2
= static_cast< size_t >(val2
);
13786 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13787 if (!SWIG_IsOK(ecode3
)) {
13788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13790 arg3
= static_cast< size_t >(val3
);
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 (arg1
)->RefreshLines(arg2
,arg3
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_Py_Void();
13804 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 PyObject
* obj2
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "self",(char *) "x",(char *) "y", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13828 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13830 if (!SWIG_IsOK(ecode2
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13833 arg2
= static_cast< int >(val2
);
13834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13835 if (!SWIG_IsOK(ecode3
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13838 arg3
= static_cast< int >(val3
);
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_From_int(static_cast< int >(result
));
13852 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= 0;
13854 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13855 wxPoint
*arg2
= 0 ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 char * kwnames
[] = {
13863 (char *) "self",(char *) "pt", NULL
13866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13871 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_From_int(static_cast< int >(result
));
13889 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13890 PyObject
*resultobj
= 0;
13891 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13894 PyObject
*swig_obj
[1] ;
13896 if (!args
) SWIG_fail
;
13897 swig_obj
[0] = args
;
13898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13902 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->RefreshAll();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_Py_Void();
13916 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13917 PyObject
*resultobj
= 0;
13918 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13922 PyObject
*swig_obj
[1] ;
13924 if (!args
) SWIG_fail
;
13925 swig_obj
[0] = args
;
13926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13930 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13944 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 PyObject
*resultobj
= 0;
13946 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13950 PyObject
*swig_obj
[1] ;
13952 if (!args
) SWIG_fail
;
13953 swig_obj
[0] = args
;
13954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13955 if (!SWIG_IsOK(res1
)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13958 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13972 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13973 PyObject
*resultobj
= 0;
13974 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13978 PyObject
*swig_obj
[1] ;
13980 if (!args
) SWIG_fail
;
13981 swig_obj
[0] = args
;
13982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13983 if (!SWIG_IsOK(res1
)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13986 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14000 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char * kwnames
[] = {
14012 (char *) "self",(char *) "line", NULL
14015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14017 if (!SWIG_IsOK(res1
)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14020 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14021 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14022 if (!SWIG_IsOK(ecode2
)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14025 arg2
= static_cast< size_t >(val2
);
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14041 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14042 PyObject
*resultobj
= 0;
14043 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14047 PyObject
*swig_obj
[1] ;
14049 if (!args
) SWIG_fail
;
14050 swig_obj
[0] = args
;
14051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14052 if (!SWIG_IsOK(res1
)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14055 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14069 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 PyObject
*resultobj
= 0;
14071 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14075 PyObject
*swig_obj
[1] ;
14077 if (!args
) SWIG_fail
;
14078 swig_obj
[0] = args
;
14079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14080 if (!SWIG_IsOK(res1
)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14083 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14097 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
= 0;
14099 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14101 bool arg3
= (bool) false ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 PyObject
* obj2
= 0 ;
14112 char * kwnames
[] = {
14113 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14118 if (!SWIG_IsOK(res1
)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14121 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14122 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14123 if (!SWIG_IsOK(ecode2
)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14126 arg2
= static_cast< size_t >(val2
);
14128 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14129 if (!SWIG_IsOK(ecode3
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14132 arg3
= static_cast< bool >(val3
);
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14147 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
= 0;
14149 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 char * kwnames
[] = {
14163 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14168 if (!SWIG_IsOK(res1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14171 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14172 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14173 if (!SWIG_IsOK(ecode2
)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14176 arg2
= static_cast< size_t >(val2
);
14177 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14178 if (!SWIG_IsOK(ecode3
)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14181 arg3
= static_cast< size_t >(val3
);
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_From_int(static_cast< int >(result
));
14195 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14199 return SWIG_Py_Void();
14202 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 return SWIG_Python_InitShadowInstance(args
);
14206 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14207 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14212 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14213 PyObject
*pyobj
= 0;
14217 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14219 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14226 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
= 0;
14228 wxWindow
*arg1
= (wxWindow
*) 0 ;
14229 int arg2
= (int) wxID_ANY
;
14230 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14231 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14232 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14233 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14234 long arg5
= (long) 0 ;
14235 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14236 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14237 wxPyVListBox
*result
= 0 ;
14246 bool temp6
= false ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 PyObject
* obj3
= 0 ;
14251 PyObject
* obj4
= 0 ;
14252 PyObject
* obj5
= 0 ;
14253 char * kwnames
[] = {
14254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14259 if (!SWIG_IsOK(res1
)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14265 if (!SWIG_IsOK(ecode2
)) {
14266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14268 arg2
= static_cast< int >(val2
);
14273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14279 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14283 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14284 if (!SWIG_IsOK(ecode5
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14287 arg5
= static_cast< long >(val5
);
14291 arg6
= wxString_in_helper(obj5
);
14292 if (arg6
== NULL
) SWIG_fail
;
14297 if (!wxPyCheckForApp()) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14318 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14319 PyObject
*resultobj
= 0;
14320 wxPyVListBox
*result
= 0 ;
14322 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14324 if (!wxPyCheckForApp()) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (wxPyVListBox
*)new wxPyVListBox();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14337 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
= 0;
14339 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14340 PyObject
*arg2
= (PyObject
*) 0 ;
14341 PyObject
*arg3
= (PyObject
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 PyObject
* obj2
= 0 ;
14347 char * kwnames
[] = {
14348 (char *) "self",(char *) "self",(char *) "_class", NULL
14351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14356 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_Py_Void();
14372 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
= 0;
14374 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14375 wxWindow
*arg2
= (wxWindow
*) 0 ;
14376 int arg3
= (int) wxID_ANY
;
14377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14381 long arg6
= (long) 0 ;
14382 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14395 bool temp7
= false ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 PyObject
* obj2
= 0 ;
14399 PyObject
* obj3
= 0 ;
14400 PyObject
* obj4
= 0 ;
14401 PyObject
* obj5
= 0 ;
14402 PyObject
* obj6
= 0 ;
14403 char * kwnames
[] = {
14404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14412 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14414 if (!SWIG_IsOK(res2
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14420 if (!SWIG_IsOK(ecode3
)) {
14421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14423 arg3
= static_cast< int >(val3
);
14428 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14434 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14438 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14439 if (!SWIG_IsOK(ecode6
)) {
14440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14442 arg6
= static_cast< long >(val6
);
14446 arg7
= wxString_in_helper(obj6
);
14447 if (arg7
== NULL
) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14474 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14475 PyObject
*resultobj
= 0;
14476 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14480 PyObject
*swig_obj
[1] ;
14482 if (!args
) SWIG_fail
;
14483 swig_obj
[0] = args
;
14484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14488 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14502 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14516 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14532 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14533 PyObject
*resultobj
= 0;
14534 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14538 PyObject
*swig_obj
[1] ;
14540 if (!args
) SWIG_fail
;
14541 swig_obj
[0] = args
;
14542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14543 if (!SWIG_IsOK(res1
)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14546 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= SWIG_From_int(static_cast< int >(result
));
14560 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
= 0;
14562 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 char * kwnames
[] = {
14572 (char *) "self",(char *) "item", NULL
14575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14580 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14581 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14582 if (!SWIG_IsOK(ecode2
)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14585 arg2
= static_cast< size_t >(val2
);
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14601 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
= 0;
14603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char * kwnames
[] = {
14613 (char *) "self",(char *) "item", NULL
14616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14621 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14622 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14623 if (!SWIG_IsOK(ecode2
)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14626 arg2
= static_cast< size_t >(val2
);
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14642 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14643 PyObject
*resultobj
= 0;
14644 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14648 PyObject
*swig_obj
[1] ;
14650 if (!args
) SWIG_fail
;
14651 swig_obj
[0] = args
;
14652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14653 if (!SWIG_IsOK(res1
)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14656 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14670 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14671 PyObject
*resultobj
= 0;
14672 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14673 PyObject
*result
= 0 ;
14676 PyObject
*swig_obj
[1] ;
14678 if (!args
) SWIG_fail
;
14679 swig_obj
[0] = args
;
14680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14681 if (!SWIG_IsOK(res1
)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14684 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
;
14698 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= 0;
14700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14701 unsigned long arg2
;
14702 PyObject
*result
= 0 ;
14705 unsigned long val2
;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char * kwnames
[] = {
14710 (char *) "self",(char *) "cookie", NULL
14713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14718 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14719 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14720 if (!SWIG_IsOK(ecode2
)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14723 arg2
= static_cast< unsigned long >(val2
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= result
;
14737 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14743 PyObject
*swig_obj
[1] ;
14745 if (!args
) SWIG_fail
;
14746 swig_obj
[0] = args
;
14747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14751 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14765 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14766 PyObject
*resultobj
= 0;
14767 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14768 wxColour
*result
= 0 ;
14771 PyObject
*swig_obj
[1] ;
14773 if (!args
) SWIG_fail
;
14774 swig_obj
[0] = args
;
14775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14779 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14784 result
= (wxColour
*) &_result_ref
;
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14796 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
= 0;
14798 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 char * kwnames
[] = {
14807 (char *) "self",(char *) "count", NULL
14810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14815 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14816 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14817 if (!SWIG_IsOK(ecode2
)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14820 arg2
= static_cast< size_t >(val2
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 (arg1
)->SetItemCount(arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_Py_Void();
14834 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14835 PyObject
*resultobj
= 0;
14836 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14839 PyObject
*swig_obj
[1] ;
14841 if (!args
) SWIG_fail
;
14842 swig_obj
[0] = args
;
14843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14847 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_Py_Void();
14861 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
= 0;
14863 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 char * kwnames
[] = {
14872 (char *) "self",(char *) "selection", NULL
14875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14877 if (!SWIG_IsOK(res1
)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14880 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14882 if (!SWIG_IsOK(ecode2
)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14885 arg2
= static_cast< int >(val2
);
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 (arg1
)->SetSelection(arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_Py_Void();
14899 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
= 0;
14901 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14903 bool arg3
= (bool) true ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 PyObject
* obj2
= 0 ;
14914 char * kwnames
[] = {
14915 (char *) "self",(char *) "item",(char *) "select", NULL
14918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14923 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14925 if (!SWIG_IsOK(ecode2
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14928 arg2
= static_cast< size_t >(val2
);
14930 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14931 if (!SWIG_IsOK(ecode3
)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14934 arg3
= static_cast< bool >(val3
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14951 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= 0;
14953 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 PyObject
* obj2
= 0 ;
14966 char * kwnames
[] = {
14967 (char *) "self",(char *) "from",(char *) "to", NULL
14970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14972 if (!SWIG_IsOK(res1
)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14975 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14976 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14977 if (!SWIG_IsOK(ecode2
)) {
14978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14980 arg2
= static_cast< size_t >(val2
);
14981 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14982 if (!SWIG_IsOK(ecode3
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14985 arg3
= static_cast< size_t >(val3
);
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15001 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
= 0;
15003 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char * kwnames
[] = {
15012 (char *) "self",(char *) "item", NULL
15015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15017 if (!SWIG_IsOK(res1
)) {
15018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15020 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15021 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15022 if (!SWIG_IsOK(ecode2
)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15025 arg2
= static_cast< size_t >(val2
);
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->Toggle(arg2
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= SWIG_Py_Void();
15039 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15040 PyObject
*resultobj
= 0;
15041 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15045 PyObject
*swig_obj
[1] ;
15047 if (!args
) SWIG_fail
;
15048 swig_obj
[0] = args
;
15049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15053 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= (bool)(arg1
)->SelectAll();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15069 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15070 PyObject
*resultobj
= 0;
15071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15075 PyObject
*swig_obj
[1] ;
15077 if (!args
) SWIG_fail
;
15078 swig_obj
[0] = args
;
15079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15080 if (!SWIG_IsOK(res1
)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15083 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (bool)(arg1
)->DeselectAll();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15099 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
= 0;
15101 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15102 wxPoint
*arg2
= 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "pt", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15117 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_Py_Void();
15135 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 PyObject
* obj2
= 0 ;
15149 char * kwnames
[] = {
15150 (char *) "self",(char *) "x",(char *) "y", NULL
15153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15155 if (!SWIG_IsOK(res1
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15158 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15160 if (!SWIG_IsOK(ecode2
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15163 arg2
= static_cast< int >(val2
);
15164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15165 if (!SWIG_IsOK(ecode3
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15168 arg3
= static_cast< int >(val3
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->SetMargins(arg2
,arg3
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_Py_Void();
15182 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
= 0;
15184 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15185 wxColour
*arg2
= 0 ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char * kwnames
[] = {
15192 (char *) "self",(char *) "col", NULL
15195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15200 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15203 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_Py_Void();
15218 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
= 0;
15220 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 PyObject
* obj2
= 0 ;
15234 PyObject
* obj3
= 0 ;
15235 char * kwnames
[] = {
15236 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15241 if (!SWIG_IsOK(res1
)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15244 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15246 if (!SWIG_IsOK(res2
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15252 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15255 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15257 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15258 if (!SWIG_IsOK(ecode4
)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15261 arg4
= static_cast< size_t >(val4
);
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_Py_Void();
15275 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 PyObject
* obj2
= 0 ;
15291 PyObject
* obj3
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15303 if (!SWIG_IsOK(res2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15309 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15312 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15314 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15315 if (!SWIG_IsOK(ecode4
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15318 arg4
= static_cast< size_t >(val4
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_Py_Void();
15332 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15335 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15336 return SWIG_Py_Void();
15339 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 return SWIG_Python_InitShadowInstance(args
);
15343 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
= 0;
15345 wxWindow
*arg1
= (wxWindow
*) 0 ;
15346 int arg2
= (int) wxID_ANY
;
15347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15349 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15350 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15351 long arg5
= (long) 0 ;
15352 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15353 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15354 wxPyHtmlListBox
*result
= 0 ;
15363 bool temp6
= false ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 PyObject
* obj4
= 0 ;
15369 PyObject
* obj5
= 0 ;
15370 char * kwnames
[] = {
15371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15376 if (!SWIG_IsOK(res1
)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15379 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15382 if (!SWIG_IsOK(ecode2
)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15385 arg2
= static_cast< int >(val2
);
15390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15396 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15400 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15401 if (!SWIG_IsOK(ecode5
)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15404 arg5
= static_cast< long >(val5
);
15408 arg6
= wxString_in_helper(obj5
);
15409 if (arg6
== NULL
) SWIG_fail
;
15414 if (!wxPyCheckForApp()) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15435 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15436 PyObject
*resultobj
= 0;
15437 wxPyHtmlListBox
*result
= 0 ;
15439 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15441 if (!wxPyCheckForApp()) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15454 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
= 0;
15456 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15457 PyObject
*arg2
= (PyObject
*) 0 ;
15458 PyObject
*arg3
= (PyObject
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 PyObject
* obj2
= 0 ;
15464 char * kwnames
[] = {
15465 (char *) "self",(char *) "self",(char *) "_class", NULL
15468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15473 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_Py_Void();
15489 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
= 0;
15491 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15492 wxWindow
*arg2
= (wxWindow
*) 0 ;
15493 int arg3
= (int) wxID_ANY
;
15494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15498 long arg6
= (long) 0 ;
15499 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15500 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15512 bool temp7
= false ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 PyObject
* obj3
= 0 ;
15517 PyObject
* obj4
= 0 ;
15518 PyObject
* obj5
= 0 ;
15519 PyObject
* obj6
= 0 ;
15520 char * kwnames
[] = {
15521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15526 if (!SWIG_IsOK(res1
)) {
15527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15529 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15530 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15531 if (!SWIG_IsOK(res2
)) {
15532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15534 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15537 if (!SWIG_IsOK(ecode3
)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15540 arg3
= static_cast< int >(val3
);
15545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15555 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15556 if (!SWIG_IsOK(ecode6
)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15559 arg6
= static_cast< long >(val6
);
15563 arg7
= wxString_in_helper(obj6
);
15564 if (arg7
== NULL
) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15591 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= 0;
15593 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 PyObject
* obj1
= 0 ;
15601 char * kwnames
[] = {
15602 (char *) "self",(char *) "count", NULL
15605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15610 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15611 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15612 if (!SWIG_IsOK(ecode2
)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15615 arg2
= static_cast< size_t >(val2
);
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 (arg1
)->SetItemCount(arg2
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_Py_Void();
15629 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15630 PyObject
*resultobj
= 0;
15631 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15632 wxFileSystem
*result
= 0 ;
15635 PyObject
*swig_obj
[1] ;
15637 if (!args
) SWIG_fail
;
15638 swig_obj
[0] = args
;
15639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15643 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15648 result
= (wxFileSystem
*) &_result_ref
;
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15660 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
= 0;
15662 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15664 wxHtmlLinkInfo
*arg3
= 0 ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "n",(char *) "link", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15683 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15684 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15685 if (!SWIG_IsOK(ecode2
)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15688 arg2
= static_cast< size_t >(val2
);
15689 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15690 if (!SWIG_IsOK(res3
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15696 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_Py_Void();
15710 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15714 return SWIG_Py_Void();
15717 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15718 return SWIG_Python_InitShadowInstance(args
);
15721 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15722 PyObject
*resultobj
= 0;
15723 wxPyTaskBarIcon
*result
= 0 ;
15725 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15727 if (!wxPyCheckForApp()) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15740 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15742 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15745 PyObject
*swig_obj
[1] ;
15747 if (!args
) SWIG_fail
;
15748 swig_obj
[0] = args
;
15749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15750 if (!SWIG_IsOK(res1
)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15753 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_Py_Void();
15768 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
= 0;
15770 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15771 PyObject
*arg2
= (PyObject
*) 0 ;
15772 PyObject
*arg3
= (PyObject
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 PyObject
* obj2
= 0 ;
15781 PyObject
* obj3
= 0 ;
15782 char * kwnames
[] = {
15783 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15788 if (!SWIG_IsOK(res1
)) {
15789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15791 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15795 if (!SWIG_IsOK(ecode4
)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15798 arg4
= static_cast< int >(val4
);
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_Py_Void();
15812 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 PyObject
*resultobj
= 0;
15814 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15817 PyObject
*swig_obj
[1] ;
15819 if (!args
) SWIG_fail
;
15820 swig_obj
[0] = args
;
15821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15825 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 wxPyTaskBarIcon_Destroy(arg1
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15853 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 PyObject
*resultobj
= 0;
15871 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15875 PyObject
*swig_obj
[1] ;
15877 if (!args
) SWIG_fail
;
15878 swig_obj
[0] = args
;
15879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15883 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
= 0;
15901 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15910 bool temp3
= false ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 PyObject
* obj2
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15923 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15925 if (!SWIG_IsOK(res2
)) {
15926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15931 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15934 arg3
= wxString_in_helper(obj2
);
15935 if (arg3
== NULL
) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15962 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15963 PyObject
*resultobj
= 0;
15964 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15968 PyObject
*swig_obj
[1] ;
15970 if (!args
) SWIG_fail
;
15971 swig_obj
[0] = args
;
15972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15973 if (!SWIG_IsOK(res1
)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15976 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (bool)(arg1
)->RemoveIcon();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15992 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
= 0;
15994 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15995 wxMenu
*arg2
= (wxMenu
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 char * kwnames
[] = {
16004 (char *) "self",(char *) "menu", NULL
16007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16009 if (!SWIG_IsOK(res1
)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16012 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16014 if (!SWIG_IsOK(res2
)) {
16015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16017 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (bool)(arg1
)->PopupMenu(arg2
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16037 return SWIG_Py_Void();
16040 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16041 return SWIG_Python_InitShadowInstance(args
);
16044 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
= 0;
16047 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16048 wxTaskBarIconEvent
*result
= 0 ;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char * kwnames
[] = {
16056 (char *) "evtType",(char *) "tbIcon", NULL
16059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16061 if (!SWIG_IsOK(ecode1
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16064 arg1
= static_cast< wxEventType
>(val1
);
16065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16066 if (!SWIG_IsOK(res2
)) {
16067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16069 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16083 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16086 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16087 return SWIG_Py_Void();
16090 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16091 return SWIG_Python_InitShadowInstance(args
);
16094 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16095 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16100 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16101 PyObject
*pyobj
= 0;
16105 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16107 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16114 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16115 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16120 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16121 PyObject
*pyobj
= 0;
16125 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16127 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16134 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16135 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16140 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16141 PyObject
*pyobj
= 0;
16145 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16147 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16154 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16155 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16160 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16161 PyObject
*pyobj
= 0;
16165 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16167 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16174 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16175 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16180 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16181 PyObject
*pyobj
= 0;
16185 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16187 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16194 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16195 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16200 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16201 PyObject
*pyobj
= 0;
16205 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16207 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16214 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxColourData
*result
= 0 ;
16218 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (wxColourData
*)new wxColourData();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16232 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16233 PyObject
*resultobj
= 0;
16234 wxColourData
*arg1
= (wxColourData
*) 0 ;
16237 PyObject
*swig_obj
[1] ;
16239 if (!args
) SWIG_fail
;
16240 swig_obj
[0] = args
;
16241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16242 if (!SWIG_IsOK(res1
)) {
16243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16245 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_Py_Void();
16260 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16261 PyObject
*resultobj
= 0;
16262 wxColourData
*arg1
= (wxColourData
*) 0 ;
16266 PyObject
*swig_obj
[1] ;
16268 if (!args
) SWIG_fail
;
16269 swig_obj
[0] = args
;
16270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16271 if (!SWIG_IsOK(res1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16274 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (bool)(arg1
)->GetChooseFull();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16290 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 PyObject
*resultobj
= 0;
16292 wxColourData
*arg1
= (wxColourData
*) 0 ;
16296 PyObject
*swig_obj
[1] ;
16298 if (!args
) SWIG_fail
;
16299 swig_obj
[0] = args
;
16300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16301 if (!SWIG_IsOK(res1
)) {
16302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16304 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (arg1
)->GetColour();
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16318 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16320 wxColourData
*arg1
= (wxColourData
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char * kwnames
[] = {
16330 (char *) "self",(char *) "i", NULL
16333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16338 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16340 if (!SWIG_IsOK(ecode2
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16343 arg2
= static_cast< int >(val2
);
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (arg1
)->GetCustomColour(arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16357 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
= 0;
16359 wxColourData
*arg1
= (wxColourData
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 char * kwnames
[] = {
16368 (char *) "self",(char *) "flag", NULL
16371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16373 if (!SWIG_IsOK(res1
)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16376 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16378 if (!SWIG_IsOK(ecode2
)) {
16379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16381 arg2
= static_cast< int >(val2
);
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 (arg1
)->SetChooseFull(arg2
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_Py_Void();
16395 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
= 0;
16397 wxColourData
*arg1
= (wxColourData
*) 0 ;
16398 wxColour
*arg2
= 0 ;
16402 PyObject
* obj0
= 0 ;
16403 PyObject
* obj1
= 0 ;
16404 char * kwnames
[] = {
16405 (char *) "self",(char *) "colour", NULL
16408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16410 if (!SWIG_IsOK(res1
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16413 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 (arg1
)->SetColour((wxColour
const &)*arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_Py_Void();
16431 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
= 0;
16433 wxColourData
*arg1
= (wxColourData
*) 0 ;
16435 wxColour
*arg3
= 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 PyObject
* obj2
= 0 ;
16444 char * kwnames
[] = {
16445 (char *) "self",(char *) "i",(char *) "colour", NULL
16448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16450 if (!SWIG_IsOK(res1
)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16453 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16455 if (!SWIG_IsOK(ecode2
)) {
16456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16458 arg2
= static_cast< int >(val2
);
16461 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= SWIG_Py_Void();
16476 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16479 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16480 return SWIG_Py_Void();
16483 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16484 return SWIG_Python_InitShadowInstance(args
);
16487 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
= 0;
16489 wxWindow
*arg1
= (wxWindow
*) 0 ;
16490 wxColourData
*arg2
= (wxColourData
*) NULL
;
16491 wxColourDialog
*result
= 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "parent",(char *) "data", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16507 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16510 if (!SWIG_IsOK(res2
)) {
16511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16513 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16516 if (!wxPyCheckForApp()) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16529 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16530 PyObject
*resultobj
= 0;
16531 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16532 wxColourData
*result
= 0 ;
16535 PyObject
*swig_obj
[1] ;
16537 if (!args
) SWIG_fail
;
16538 swig_obj
[0] = args
;
16539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16540 if (!SWIG_IsOK(res1
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16543 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16548 result
= (wxColourData
*) &_result_ref
;
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16560 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16563 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16564 return SWIG_Py_Void();
16567 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16568 return SWIG_Python_InitShadowInstance(args
);
16571 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= 0;
16573 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16574 wxColour
const &arg2_defvalue
= wxNullColour
;
16575 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16576 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16582 bool temp3
= false ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 PyObject
* obj2
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16593 if (!SWIG_IsOK(res1
)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16606 arg3
= wxString_in_helper(obj2
);
16607 if (arg3
== NULL
) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16632 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= 0;
16634 wxWindow
*arg1
= (wxWindow
*) 0 ;
16635 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16636 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16637 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16639 long arg4
= (long) 0 ;
16640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16642 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16643 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16644 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16645 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16646 wxDirDialog
*result
= 0 ;
16649 bool temp2
= false ;
16650 bool temp3
= false ;
16655 bool temp7
= false ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 PyObject
* obj3
= 0 ;
16660 PyObject
* obj4
= 0 ;
16661 PyObject
* obj5
= 0 ;
16662 PyObject
* obj6
= 0 ;
16663 char * kwnames
[] = {
16664 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16675 arg2
= wxString_in_helper(obj1
);
16676 if (arg2
== NULL
) SWIG_fail
;
16682 arg3
= wxString_in_helper(obj2
);
16683 if (arg3
== NULL
) SWIG_fail
;
16688 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16689 if (!SWIG_IsOK(ecode4
)) {
16690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16692 arg4
= static_cast< long >(val4
);
16697 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16703 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16708 arg7
= wxString_in_helper(obj6
);
16709 if (arg7
== NULL
) SWIG_fail
;
16714 if (!wxPyCheckForApp()) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16751 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 PyObject
*resultobj
= 0;
16753 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16757 PyObject
*swig_obj
[1] ;
16759 if (!args
) SWIG_fail
;
16760 swig_obj
[0] = args
;
16761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16762 if (!SWIG_IsOK(res1
)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16765 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (arg1
)->GetPath();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16785 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16786 PyObject
*resultobj
= 0;
16787 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16791 PyObject
*swig_obj
[1] ;
16793 if (!args
) SWIG_fail
;
16794 swig_obj
[0] = args
;
16795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16799 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (arg1
)->GetMessage();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16819 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16822 wxString
*arg2
= 0 ;
16825 bool temp2
= false ;
16826 PyObject
* obj0
= 0 ;
16827 PyObject
* obj1
= 0 ;
16828 char * kwnames
[] = {
16829 (char *) "self",(char *) "message", NULL
16832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16837 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16839 arg2
= wxString_in_helper(obj1
);
16840 if (arg2
== NULL
) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->SetMessage((wxString
const &)*arg2
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_Py_Void();
16864 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
= 0;
16866 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16867 wxString
*arg2
= 0 ;
16870 bool temp2
= false ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char * kwnames
[] = {
16874 (char *) "self",(char *) "path", NULL
16877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16882 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16884 arg2
= wxString_in_helper(obj1
);
16885 if (arg2
== NULL
) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 (arg1
)->SetPath((wxString
const &)*arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_Py_Void();
16909 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16912 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16913 return SWIG_Py_Void();
16916 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16917 return SWIG_Python_InitShadowInstance(args
);
16920 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
= 0;
16922 wxWindow
*arg1
= (wxWindow
*) 0 ;
16923 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16924 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16925 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16926 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16927 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16928 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16929 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16930 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16931 long arg6
= (long) 0 ;
16932 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16933 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16934 wxFileDialog
*result
= 0 ;
16937 bool temp2
= false ;
16938 bool temp3
= false ;
16939 bool temp4
= false ;
16940 bool temp5
= false ;
16944 PyObject
* obj0
= 0 ;
16945 PyObject
* obj1
= 0 ;
16946 PyObject
* obj2
= 0 ;
16947 PyObject
* obj3
= 0 ;
16948 PyObject
* obj4
= 0 ;
16949 PyObject
* obj5
= 0 ;
16950 PyObject
* obj6
= 0 ;
16951 char * kwnames
[] = {
16952 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16957 if (!SWIG_IsOK(res1
)) {
16958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16960 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16963 arg2
= wxString_in_helper(obj1
);
16964 if (arg2
== NULL
) SWIG_fail
;
16970 arg3
= wxString_in_helper(obj2
);
16971 if (arg3
== NULL
) SWIG_fail
;
16977 arg4
= wxString_in_helper(obj3
);
16978 if (arg4
== NULL
) SWIG_fail
;
16984 arg5
= wxString_in_helper(obj4
);
16985 if (arg5
== NULL
) SWIG_fail
;
16990 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16991 if (!SWIG_IsOK(ecode6
)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16994 arg6
= static_cast< long >(val6
);
16999 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17003 if (!wxPyCheckForApp()) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17048 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17051 wxString
*arg2
= 0 ;
17054 bool temp2
= false ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 char * kwnames
[] = {
17058 (char *) "self",(char *) "message", NULL
17061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17063 if (!SWIG_IsOK(res1
)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17066 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17068 arg2
= wxString_in_helper(obj1
);
17069 if (arg2
== NULL
) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 (arg1
)->SetMessage((wxString
const &)*arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= SWIG_Py_Void();
17093 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
= 0;
17095 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17096 wxString
*arg2
= 0 ;
17099 bool temp2
= false ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char * kwnames
[] = {
17103 (char *) "self",(char *) "path", NULL
17106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17108 if (!SWIG_IsOK(res1
)) {
17109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17111 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17113 arg2
= wxString_in_helper(obj1
);
17114 if (arg2
== NULL
) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->SetPath((wxString
const &)*arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_Py_Void();
17138 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
= 0;
17140 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17141 wxString
*arg2
= 0 ;
17144 bool temp2
= false ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "dir", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17156 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17158 arg2
= wxString_in_helper(obj1
);
17159 if (arg2
== NULL
) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_Py_Void();
17183 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
= 0;
17185 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17186 wxString
*arg2
= 0 ;
17189 bool temp2
= false ;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 char * kwnames
[] = {
17193 (char *) "self",(char *) "name", NULL
17196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17198 if (!SWIG_IsOK(res1
)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17201 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17203 arg2
= wxString_in_helper(obj1
);
17204 if (arg2
== NULL
) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 (arg1
)->SetFilename((wxString
const &)*arg2
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= SWIG_Py_Void();
17228 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
= 0;
17230 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17231 wxString
*arg2
= 0 ;
17234 bool temp2
= false ;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 char * kwnames
[] = {
17238 (char *) "self",(char *) "wildCard", NULL
17241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17243 if (!SWIG_IsOK(res1
)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17246 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17248 arg2
= wxString_in_helper(obj1
);
17249 if (arg2
== NULL
) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_Py_Void();
17273 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
= 0;
17275 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char * kwnames
[] = {
17284 (char *) "self",(char *) "style", NULL
17287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17289 if (!SWIG_IsOK(res1
)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17292 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17294 if (!SWIG_IsOK(ecode2
)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17297 arg2
= static_cast< long >(val2
);
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 (arg1
)->SetStyle(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_Py_Void();
17311 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
= 0;
17313 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "self",(char *) "filterIndex", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17330 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17332 if (!SWIG_IsOK(ecode2
)) {
17333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17335 arg2
= static_cast< int >(val2
);
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 (arg1
)->SetFilterIndex(arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_Py_Void();
17349 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17350 PyObject
*resultobj
= 0;
17351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17355 PyObject
*swig_obj
[1] ;
17357 if (!args
) SWIG_fail
;
17358 swig_obj
[0] = args
;
17359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17363 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17383 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17384 PyObject
*resultobj
= 0;
17385 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17389 PyObject
*swig_obj
[1] ;
17391 if (!args
) SWIG_fail
;
17392 swig_obj
[0] = args
;
17393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17397 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17417 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 PyObject
*resultobj
= 0;
17419 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17423 PyObject
*swig_obj
[1] ;
17425 if (!args
) SWIG_fail
;
17426 swig_obj
[0] = args
;
17427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17431 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17451 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17452 PyObject
*resultobj
= 0;
17453 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17457 PyObject
*swig_obj
[1] ;
17459 if (!args
) SWIG_fail
;
17460 swig_obj
[0] = args
;
17461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17462 if (!SWIG_IsOK(res1
)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17465 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17485 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17486 PyObject
*resultobj
= 0;
17487 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
*swig_obj
[1] ;
17493 if (!args
) SWIG_fail
;
17494 swig_obj
[0] = args
;
17495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17496 if (!SWIG_IsOK(res1
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17499 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17519 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17520 PyObject
*resultobj
= 0;
17521 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17525 PyObject
*swig_obj
[1] ;
17527 if (!args
) SWIG_fail
;
17528 swig_obj
[0] = args
;
17529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17530 if (!SWIG_IsOK(res1
)) {
17531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17533 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= SWIG_From_long(static_cast< long >(result
));
17547 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17548 PyObject
*resultobj
= 0;
17549 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17553 PyObject
*swig_obj
[1] ;
17555 if (!args
) SWIG_fail
;
17556 swig_obj
[0] = args
;
17557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17558 if (!SWIG_IsOK(res1
)) {
17559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17561 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_From_int(static_cast< int >(result
));
17575 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17576 PyObject
*resultobj
= 0;
17577 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17578 PyObject
*result
= 0 ;
17581 PyObject
*swig_obj
[1] ;
17583 if (!args
) SWIG_fail
;
17584 swig_obj
[0] = args
;
17585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17586 if (!SWIG_IsOK(res1
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17589 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= result
;
17603 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17604 PyObject
*resultobj
= 0;
17605 wxFileDialog
*arg1
= (wxFileDialog
*) 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_wxFileDialog
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17617 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
;
17631 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17634 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17635 return SWIG_Py_Void();
17638 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17639 return SWIG_Python_InitShadowInstance(args
);
17642 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
= 0;
17644 wxWindow
*arg1
= (wxWindow
*) 0 ;
17645 wxString
*arg2
= 0 ;
17646 wxString
*arg3
= 0 ;
17647 int arg4
= (int) 0 ;
17648 wxString
*arg5
= (wxString
*) NULL
;
17649 long arg6
= (long) wxCHOICEDLG_STYLE
;
17650 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17651 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17652 wxMultiChoiceDialog
*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 *)"OOO|OOO:new_MultiChoiceDialog",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_MultiChoiceDialog" "', 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
;
17688 arg4
= PyList_Size(obj3
);
17689 arg5
= wxString_LIST_helper(obj3
);
17690 if (arg5
== NULL
) SWIG_fail
;
17694 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17695 if (!SWIG_IsOK(ecode6
)) {
17696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17698 arg6
= static_cast< long >(val6
);
17703 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17707 if (!wxPyCheckForApp()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17723 if (arg5
) delete [] arg5
;
17736 if (arg5
) delete [] arg5
;
17742 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
= 0;
17744 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17745 wxArrayInt
*arg2
= 0 ;
17748 bool temp2
= false ;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 char * kwnames
[] = {
17752 (char *) "self",(char *) "selections", NULL
17755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17757 if (!SWIG_IsOK(res1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17760 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17762 if (! PySequence_Check(obj1
)) {
17763 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17766 arg2
= new wxArrayInt
;
17768 int i
, len
=PySequence_Length(obj1
);
17769 for (i
=0; i
<len
; i
++) {
17770 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17771 PyObject
* number
= PyNumber_Int(item
);
17772 arg2
->Add(PyInt_AS_LONG(number
));
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_Py_Void();
17785 if (temp2
) delete arg2
;
17790 if (temp2
) delete arg2
;
17796 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17797 PyObject
*resultobj
= 0;
17798 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17799 PyObject
*result
= 0 ;
17802 PyObject
*swig_obj
[1] ;
17804 if (!args
) SWIG_fail
;
17805 swig_obj
[0] = args
;
17806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17807 if (!SWIG_IsOK(res1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17810 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= result
;
17824 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17827 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17828 return SWIG_Py_Void();
17831 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17832 return SWIG_Python_InitShadowInstance(args
);
17835 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
= 0;
17837 wxWindow
*arg1
= (wxWindow
*) 0 ;
17838 wxString
*arg2
= 0 ;
17839 wxString
*arg3
= 0 ;
17841 wxString
*arg5
= (wxString
*) 0 ;
17842 long arg6
= (long) wxCHOICEDLG_STYLE
;
17843 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17844 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17845 wxSingleChoiceDialog
*result
= 0 ;
17848 bool temp2
= false ;
17849 bool temp3
= false ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 PyObject
* obj2
= 0 ;
17856 PyObject
* obj3
= 0 ;
17857 PyObject
* obj4
= 0 ;
17858 PyObject
* obj5
= 0 ;
17859 char * kwnames
[] = {
17860 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17865 if (!SWIG_IsOK(res1
)) {
17866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17870 arg2
= wxString_in_helper(obj1
);
17871 if (arg2
== NULL
) SWIG_fail
;
17875 arg3
= wxString_in_helper(obj2
);
17876 if (arg3
== NULL
) SWIG_fail
;
17880 arg4
= PyList_Size(obj3
);
17881 arg5
= wxString_LIST_helper(obj3
);
17882 if (arg5
== NULL
) SWIG_fail
;
17885 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17886 if (!SWIG_IsOK(ecode6
)) {
17887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17889 arg6
= static_cast< long >(val6
);
17894 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17898 if (!wxPyCheckForApp()) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17914 if (arg5
) delete [] arg5
;
17927 if (arg5
) delete [] arg5
;
17933 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17934 PyObject
*resultobj
= 0;
17935 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17939 PyObject
*swig_obj
[1] ;
17941 if (!args
) SWIG_fail
;
17942 swig_obj
[0] = args
;
17943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17944 if (!SWIG_IsOK(res1
)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17947 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (int)(arg1
)->GetSelection();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_From_int(static_cast< int >(result
));
17961 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17962 PyObject
*resultobj
= 0;
17963 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17967 PyObject
*swig_obj
[1] ;
17969 if (!args
) SWIG_fail
;
17970 swig_obj
[0] = args
;
17971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17972 if (!SWIG_IsOK(res1
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17975 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (arg1
)->GetStringSelection();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17995 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
= 0;
17997 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char * kwnames
[] = {
18006 (char *) "self",(char *) "sel", NULL
18009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18014 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18016 if (!SWIG_IsOK(ecode2
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18019 arg2
= static_cast< int >(val2
);
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 (arg1
)->SetSelection(arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_Py_Void();
18033 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18036 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18037 return SWIG_Py_Void();
18040 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18041 return SWIG_Python_InitShadowInstance(args
);
18044 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
= 0;
18046 wxWindow
*arg1
= (wxWindow
*) 0 ;
18047 wxString
*arg2
= 0 ;
18048 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18049 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18050 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18052 long arg5
= (long) wxTextEntryDialogStyle
;
18053 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18054 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18055 wxTextEntryDialog
*result
= 0 ;
18058 bool temp2
= false ;
18059 bool temp3
= false ;
18060 bool temp4
= false ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 PyObject
* obj2
= 0 ;
18067 PyObject
* obj3
= 0 ;
18068 PyObject
* obj4
= 0 ;
18069 PyObject
* obj5
= 0 ;
18070 char * kwnames
[] = {
18071 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18076 if (!SWIG_IsOK(res1
)) {
18077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18081 arg2
= wxString_in_helper(obj1
);
18082 if (arg2
== NULL
) SWIG_fail
;
18087 arg3
= wxString_in_helper(obj2
);
18088 if (arg3
== NULL
) SWIG_fail
;
18094 arg4
= wxString_in_helper(obj3
);
18095 if (arg4
== NULL
) SWIG_fail
;
18100 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18101 if (!SWIG_IsOK(ecode5
)) {
18102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18104 arg5
= static_cast< long >(val5
);
18109 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18113 if (!wxPyCheckForApp()) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18150 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18151 PyObject
*resultobj
= 0;
18152 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18156 PyObject
*swig_obj
[1] ;
18158 if (!args
) SWIG_fail
;
18159 swig_obj
[0] = args
;
18160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18164 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (arg1
)->GetValue();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18184 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
= 0;
18186 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18187 wxString
*arg2
= 0 ;
18190 bool temp2
= false ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char * kwnames
[] = {
18194 (char *) "self",(char *) "value", NULL
18197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18199 if (!SWIG_IsOK(res1
)) {
18200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18202 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18204 arg2
= wxString_in_helper(obj1
);
18205 if (arg2
== NULL
) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 (arg1
)->SetValue((wxString
const &)*arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_Py_Void();
18229 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18232 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18233 return SWIG_Py_Void();
18236 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18237 return SWIG_Python_InitShadowInstance(args
);
18240 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18241 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18246 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18247 PyObject
*pyobj
= 0;
18251 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18253 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18260 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
= 0;
18262 wxWindow
*arg1
= (wxWindow
*) 0 ;
18263 wxString
*arg2
= 0 ;
18264 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18266 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18267 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18268 long arg5
= (long) wxTextEntryDialogStyle
;
18269 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18270 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18271 wxPasswordEntryDialog
*result
= 0 ;
18274 bool temp2
= false ;
18275 bool temp3
= false ;
18276 bool temp4
= false ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 PyObject
* obj2
= 0 ;
18283 PyObject
* obj3
= 0 ;
18284 PyObject
* obj4
= 0 ;
18285 PyObject
* obj5
= 0 ;
18286 char * kwnames
[] = {
18287 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18292 if (!SWIG_IsOK(res1
)) {
18293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18295 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18297 arg2
= wxString_in_helper(obj1
);
18298 if (arg2
== NULL
) SWIG_fail
;
18303 arg3
= wxString_in_helper(obj2
);
18304 if (arg3
== NULL
) SWIG_fail
;
18310 arg4
= wxString_in_helper(obj3
);
18311 if (arg4
== NULL
) SWIG_fail
;
18316 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18317 if (!SWIG_IsOK(ecode5
)) {
18318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18320 arg5
= static_cast< long >(val5
);
18325 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18365 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18368 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18369 return SWIG_Py_Void();
18372 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18373 return SWIG_Python_InitShadowInstance(args
);
18376 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18377 PyObject
*resultobj
= 0;
18378 wxFontData
*result
= 0 ;
18380 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (wxFontData
*)new wxFontData();
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18394 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18395 PyObject
*resultobj
= 0;
18396 wxFontData
*arg1
= (wxFontData
*) 0 ;
18399 PyObject
*swig_obj
[1] ;
18401 if (!args
) SWIG_fail
;
18402 swig_obj
[0] = args
;
18403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18407 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_Py_Void();
18422 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
= 0;
18424 wxFontData
*arg1
= (wxFontData
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 char * kwnames
[] = {
18433 (char *) "self",(char *) "enable", NULL
18436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18441 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18443 if (!SWIG_IsOK(ecode2
)) {
18444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18446 arg2
= static_cast< bool >(val2
);
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 (arg1
)->EnableEffects(arg2
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_Py_Void();
18460 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18461 PyObject
*resultobj
= 0;
18462 wxFontData
*arg1
= (wxFontData
*) 0 ;
18466 PyObject
*swig_obj
[1] ;
18468 if (!args
) SWIG_fail
;
18469 swig_obj
[0] = args
;
18470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18471 if (!SWIG_IsOK(res1
)) {
18472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18474 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (bool)(arg1
)->GetAllowSymbols();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18490 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18491 PyObject
*resultobj
= 0;
18492 wxFontData
*arg1
= (wxFontData
*) 0 ;
18496 PyObject
*swig_obj
[1] ;
18498 if (!args
) SWIG_fail
;
18499 swig_obj
[0] = args
;
18500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18501 if (!SWIG_IsOK(res1
)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18504 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 result
= (arg1
)->GetColour();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18518 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18519 PyObject
*resultobj
= 0;
18520 wxFontData
*arg1
= (wxFontData
*) 0 ;
18524 PyObject
*swig_obj
[1] ;
18526 if (!args
) SWIG_fail
;
18527 swig_obj
[0] = args
;
18528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18529 if (!SWIG_IsOK(res1
)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18532 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (arg1
)->GetChosenFont();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18546 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18547 PyObject
*resultobj
= 0;
18548 wxFontData
*arg1
= (wxFontData
*) 0 ;
18552 PyObject
*swig_obj
[1] ;
18554 if (!args
) SWIG_fail
;
18555 swig_obj
[0] = args
;
18556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18557 if (!SWIG_IsOK(res1
)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18560 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (bool)(arg1
)->GetEnableEffects();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18576 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18577 PyObject
*resultobj
= 0;
18578 wxFontData
*arg1
= (wxFontData
*) 0 ;
18582 PyObject
*swig_obj
[1] ;
18584 if (!args
) SWIG_fail
;
18585 swig_obj
[0] = args
;
18586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18587 if (!SWIG_IsOK(res1
)) {
18588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18590 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (arg1
)->GetInitialFont();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18604 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18605 PyObject
*resultobj
= 0;
18606 wxFontData
*arg1
= (wxFontData
*) 0 ;
18610 PyObject
*swig_obj
[1] ;
18612 if (!args
) SWIG_fail
;
18613 swig_obj
[0] = args
;
18614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18615 if (!SWIG_IsOK(res1
)) {
18616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18618 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (bool)(arg1
)->GetShowHelp();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18634 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(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 *) "allowSymbols", NULL
18648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",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_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18653 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18654 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18655 if (!SWIG_IsOK(ecode2
)) {
18656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18658 arg2
= static_cast< bool >(val2
);
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 (arg1
)->SetAllowSymbols(arg2
);
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= SWIG_Py_Void();
18672 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
= 0;
18674 wxFontData
*arg1
= (wxFontData
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 char * kwnames
[] = {
18683 (char *) "self",(char *) "font", NULL
18686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18691 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18693 if (!SWIG_IsOK(res2
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18699 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_Py_Void();
18713 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
= 0;
18715 wxFontData
*arg1
= (wxFontData
*) 0 ;
18716 wxColour
*arg2
= 0 ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 char * kwnames
[] = {
18723 (char *) "self",(char *) "colour", NULL
18726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18728 if (!SWIG_IsOK(res1
)) {
18729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18731 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 (arg1
)->SetColour((wxColour
const &)*arg2
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_Py_Void();
18749 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
= 0;
18751 wxFontData
*arg1
= (wxFontData
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 PyObject
* obj1
= 0 ;
18759 char * kwnames
[] = {
18760 (char *) "self",(char *) "font", NULL
18763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18765 if (!SWIG_IsOK(res1
)) {
18766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18768 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18770 if (!SWIG_IsOK(res2
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18776 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_Py_Void();
18790 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
= 0;
18792 wxFontData
*arg1
= (wxFontData
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 PyObject
* obj2
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "self",(char *) "min",(char *) "max", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18813 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18815 if (!SWIG_IsOK(ecode2
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18818 arg2
= static_cast< int >(val2
);
18819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18820 if (!SWIG_IsOK(ecode3
)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18823 arg3
= static_cast< int >(val3
);
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->SetRange(arg2
,arg3
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_Py_Void();
18837 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= 0;
18839 wxFontData
*arg1
= (wxFontData
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char * kwnames
[] = {
18848 (char *) "self",(char *) "showHelp", NULL
18851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18853 if (!SWIG_IsOK(res1
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18856 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18857 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18858 if (!SWIG_IsOK(ecode2
)) {
18859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18861 arg2
= static_cast< bool >(val2
);
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 (arg1
)->SetShowHelp(arg2
);
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= SWIG_Py_Void();
18875 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18878 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18879 return SWIG_Py_Void();
18882 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18883 return SWIG_Python_InitShadowInstance(args
);
18886 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
= 0;
18888 wxWindow
*arg1
= (wxWindow
*) 0 ;
18889 wxFontData
*arg2
= 0 ;
18890 wxFontDialog
*result
= 0 ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char * kwnames
[] = {
18898 (char *) "parent",(char *) "data", NULL
18901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18906 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18908 if (!SWIG_IsOK(res2
)) {
18909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18914 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18916 if (!wxPyCheckForApp()) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18929 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18930 PyObject
*resultobj
= 0;
18931 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18932 wxFontData
*result
= 0 ;
18935 PyObject
*swig_obj
[1] ;
18937 if (!args
) SWIG_fail
;
18938 swig_obj
[0] = args
;
18939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18940 if (!SWIG_IsOK(res1
)) {
18941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18943 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18948 result
= (wxFontData
*) &_result_ref
;
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18960 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18963 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18964 return SWIG_Py_Void();
18967 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18968 return SWIG_Python_InitShadowInstance(args
);
18971 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxWindow
*arg1
= (wxWindow
*) NULL
;
18974 wxFont
const &arg2_defvalue
= wxNullFont
;
18975 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18976 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18977 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18983 bool temp3
= false ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 PyObject
* obj2
= 0 ;
18987 char * kwnames
[] = {
18988 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18994 if (!SWIG_IsOK(res1
)) {
18995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19001 if (!SWIG_IsOK(res2
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19007 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19011 arg3
= wxString_in_helper(obj2
);
19012 if (arg3
== NULL
) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19037 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
= 0;
19039 wxWindow
*arg1
= (wxWindow
*) 0 ;
19040 wxString
*arg2
= 0 ;
19041 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19042 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19043 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19046 wxMessageDialog
*result
= 0 ;
19049 bool temp2
= false ;
19050 bool temp3
= false ;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 PyObject
* obj2
= 0 ;
19057 PyObject
* obj3
= 0 ;
19058 PyObject
* obj4
= 0 ;
19059 char * kwnames
[] = {
19060 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19065 if (!SWIG_IsOK(res1
)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19070 arg2
= wxString_in_helper(obj1
);
19071 if (arg2
== NULL
) SWIG_fail
;
19076 arg3
= wxString_in_helper(obj2
);
19077 if (arg3
== NULL
) SWIG_fail
;
19082 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19083 if (!SWIG_IsOK(ecode4
)) {
19084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19086 arg4
= static_cast< long >(val4
);
19091 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19095 if (!wxPyCheckForApp()) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19124 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19127 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19128 return SWIG_Py_Void();
19131 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19132 return SWIG_Python_InitShadowInstance(args
);
19135 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxString
*arg1
= 0 ;
19138 wxString
*arg2
= 0 ;
19139 int arg3
= (int) 100 ;
19140 wxWindow
*arg4
= (wxWindow
*) NULL
;
19141 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19142 wxProgressDialog
*result
= 0 ;
19143 bool temp1
= false ;
19144 bool temp2
= false ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 PyObject
* obj2
= 0 ;
19154 PyObject
* obj3
= 0 ;
19155 PyObject
* obj4
= 0 ;
19156 char * kwnames
[] = {
19157 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19162 arg1
= wxString_in_helper(obj0
);
19163 if (arg1
== NULL
) SWIG_fail
;
19167 arg2
= wxString_in_helper(obj1
);
19168 if (arg2
== NULL
) SWIG_fail
;
19172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19173 if (!SWIG_IsOK(ecode3
)) {
19174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19176 arg3
= static_cast< int >(val3
);
19179 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19180 if (!SWIG_IsOK(res4
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19183 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19186 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19187 if (!SWIG_IsOK(ecode5
)) {
19188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19190 arg5
= static_cast< int >(val5
);
19193 if (!wxPyCheckForApp()) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19222 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19226 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19227 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19228 bool *arg4
= (bool *) 0 ;
19234 bool temp3
= false ;
19236 int res4
= SWIG_TMPOBJ
;
19237 PyObject
* obj0
= 0 ;
19238 PyObject
* obj1
= 0 ;
19239 PyObject
* obj2
= 0 ;
19240 char * kwnames
[] = {
19241 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19247 if (!SWIG_IsOK(res1
)) {
19248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19250 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19252 if (!SWIG_IsOK(ecode2
)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19255 arg2
= static_cast< int >(val2
);
19258 arg3
= wxString_in_helper(obj2
);
19259 if (arg3
== NULL
) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19272 if (SWIG_IsTmpObj(res4
)) {
19273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19275 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19292 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19293 PyObject
*resultobj
= 0;
19294 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19297 PyObject
*swig_obj
[1] ;
19299 if (!args
) SWIG_fail
;
19300 swig_obj
[0] = args
;
19301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19305 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= SWIG_Py_Void();
19319 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19322 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19323 return SWIG_Py_Void();
19326 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19327 return SWIG_Python_InitShadowInstance(args
);
19330 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
= 0;
19332 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19333 int arg2
= (int) 0 ;
19334 wxFindDialogEvent
*result
= 0 ;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char * kwnames
[] = {
19342 (char *) "commandType",(char *) "id", NULL
19345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19347 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19348 if (!SWIG_IsOK(ecode1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19351 arg1
= static_cast< wxEventType
>(val1
);
19354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19355 if (!SWIG_IsOK(ecode2
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19358 arg2
= static_cast< int >(val2
);
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19373 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19374 PyObject
*resultobj
= 0;
19375 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19379 PyObject
*swig_obj
[1] ;
19381 if (!args
) SWIG_fail
;
19382 swig_obj
[0] = args
;
19383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19384 if (!SWIG_IsOK(res1
)) {
19385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19387 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 result
= (int)(arg1
)->GetFlags();
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= SWIG_From_int(static_cast< int >(result
));
19401 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19402 PyObject
*resultobj
= 0;
19403 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19404 wxString
*result
= 0 ;
19407 PyObject
*swig_obj
[1] ;
19409 if (!args
) SWIG_fail
;
19410 swig_obj
[0] = args
;
19411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19415 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 wxString
const &_result_ref
= (arg1
)->GetFindString();
19420 result
= (wxString
*) &_result_ref
;
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19427 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19429 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19438 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19439 PyObject
*resultobj
= 0;
19440 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19441 wxString
*result
= 0 ;
19444 PyObject
*swig_obj
[1] ;
19446 if (!args
) SWIG_fail
;
19447 swig_obj
[0] = args
;
19448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19449 if (!SWIG_IsOK(res1
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19452 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19457 result
= (wxString
*) &_result_ref
;
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19464 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19466 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19475 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19476 PyObject
*resultobj
= 0;
19477 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19478 wxFindReplaceDialog
*result
= 0 ;
19481 PyObject
*swig_obj
[1] ;
19483 if (!args
) SWIG_fail
;
19484 swig_obj
[0] = args
;
19485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19486 if (!SWIG_IsOK(res1
)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19489 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19503 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
= 0;
19505 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char * kwnames
[] = {
19514 (char *) "self",(char *) "flags", NULL
19517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19519 if (!SWIG_IsOK(res1
)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19522 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19524 if (!SWIG_IsOK(ecode2
)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19527 arg2
= static_cast< int >(val2
);
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 (arg1
)->SetFlags(arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= SWIG_Py_Void();
19541 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
= 0;
19543 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19544 wxString
*arg2
= 0 ;
19547 bool temp2
= false ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char * kwnames
[] = {
19551 (char *) "self",(char *) "str", NULL
19554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19559 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19561 arg2
= wxString_in_helper(obj1
);
19562 if (arg2
== NULL
) SWIG_fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 (arg1
)->SetFindString((wxString
const &)*arg2
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= SWIG_Py_Void();
19586 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
= 0;
19588 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19589 wxString
*arg2
= 0 ;
19592 bool temp2
= false ;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 char * kwnames
[] = {
19596 (char *) "self",(char *) "str", NULL
19599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19601 if (!SWIG_IsOK(res1
)) {
19602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19604 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19606 arg2
= wxString_in_helper(obj1
);
19607 if (arg2
== NULL
) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= SWIG_Py_Void();
19631 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19634 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19635 return SWIG_Py_Void();
19638 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19639 return SWIG_Python_InitShadowInstance(args
);
19642 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= 0;
19644 int arg1
= (int) 0 ;
19645 wxFindReplaceData
*result
= 0 ;
19648 PyObject
* obj0
= 0 ;
19649 char * kwnames
[] = {
19650 (char *) "flags", NULL
19653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19655 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19656 if (!SWIG_IsOK(ecode1
)) {
19657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19659 arg1
= static_cast< int >(val1
);
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19674 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19675 PyObject
*resultobj
= 0;
19676 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19679 PyObject
*swig_obj
[1] ;
19681 if (!args
) SWIG_fail
;
19682 swig_obj
[0] = args
;
19683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19687 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= SWIG_Py_Void();
19702 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19703 PyObject
*resultobj
= 0;
19704 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19705 wxString
*result
= 0 ;
19708 PyObject
*swig_obj
[1] ;
19710 if (!args
) SWIG_fail
;
19711 swig_obj
[0] = args
;
19712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19713 if (!SWIG_IsOK(res1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19716 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 wxString
const &_result_ref
= (arg1
)->GetFindString();
19721 result
= (wxString
*) &_result_ref
;
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19730 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19739 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19740 PyObject
*resultobj
= 0;
19741 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19742 wxString
*result
= 0 ;
19745 PyObject
*swig_obj
[1] ;
19747 if (!args
) SWIG_fail
;
19748 swig_obj
[0] = args
;
19749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19750 if (!SWIG_IsOK(res1
)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19753 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19758 result
= (wxString
*) &_result_ref
;
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19776 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19777 PyObject
*resultobj
= 0;
19778 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19782 PyObject
*swig_obj
[1] ;
19784 if (!args
) SWIG_fail
;
19785 swig_obj
[0] = args
;
19786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19787 if (!SWIG_IsOK(res1
)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19790 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (int)(arg1
)->GetFlags();
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_From_int(static_cast< int >(result
));
19804 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
= 0;
19806 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 PyObject
* obj1
= 0 ;
19814 char * kwnames
[] = {
19815 (char *) "self",(char *) "flags", NULL
19818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19820 if (!SWIG_IsOK(res1
)) {
19821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19823 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19825 if (!SWIG_IsOK(ecode2
)) {
19826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19828 arg2
= static_cast< int >(val2
);
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->SetFlags(arg2
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_Py_Void();
19842 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
= 0;
19844 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19845 wxString
*arg2
= 0 ;
19848 bool temp2
= false ;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char * kwnames
[] = {
19852 (char *) "self",(char *) "str", NULL
19855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19860 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19862 arg2
= wxString_in_helper(obj1
);
19863 if (arg2
== NULL
) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 (arg1
)->SetFindString((wxString
const &)*arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_Py_Void();
19887 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
= 0;
19889 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19890 wxString
*arg2
= 0 ;
19893 bool temp2
= false ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "str", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19905 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19907 arg2
= wxString_in_helper(obj1
);
19908 if (arg2
== NULL
) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= SWIG_Py_Void();
19932 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19935 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19936 return SWIG_Py_Void();
19939 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19940 return SWIG_Python_InitShadowInstance(args
);
19943 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
= 0;
19945 wxWindow
*arg1
= (wxWindow
*) 0 ;
19946 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19947 wxString
*arg3
= 0 ;
19948 int arg4
= (int) 0 ;
19949 wxFindReplaceDialog
*result
= 0 ;
19954 bool temp3
= false ;
19957 PyObject
* obj0
= 0 ;
19958 PyObject
* obj1
= 0 ;
19959 PyObject
* obj2
= 0 ;
19960 PyObject
* obj3
= 0 ;
19961 char * kwnames
[] = {
19962 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19967 if (!SWIG_IsOK(res1
)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19971 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19972 if (!SWIG_IsOK(res2
)) {
19973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19975 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19977 arg3
= wxString_in_helper(obj2
);
19978 if (arg3
== NULL
) SWIG_fail
;
19982 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19983 if (!SWIG_IsOK(ecode4
)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19986 arg4
= static_cast< int >(val4
);
19989 if (!wxPyCheckForApp()) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20010 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20011 PyObject
*resultobj
= 0;
20012 wxFindReplaceDialog
*result
= 0 ;
20014 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20016 if (!wxPyCheckForApp()) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20029 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= 0;
20031 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20032 wxWindow
*arg2
= (wxWindow
*) 0 ;
20033 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20034 wxString
*arg4
= 0 ;
20035 int arg5
= (int) 0 ;
20043 bool temp4
= false ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 PyObject
* obj3
= 0 ;
20050 PyObject
* obj4
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20060 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20062 if (!SWIG_IsOK(res2
)) {
20063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20066 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20067 if (!SWIG_IsOK(res3
)) {
20068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20070 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20072 arg4
= wxString_in_helper(obj3
);
20073 if (arg4
== NULL
) SWIG_fail
;
20077 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20078 if (!SWIG_IsOK(ecode5
)) {
20079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20081 arg5
= static_cast< int >(val5
);
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20106 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20107 PyObject
*resultobj
= 0;
20108 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20109 wxFindReplaceData
*result
= 0 ;
20112 PyObject
*swig_obj
[1] ;
20114 if (!args
) SWIG_fail
;
20115 swig_obj
[0] = args
;
20116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20120 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20134 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
= 0;
20136 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20137 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char * kwnames
[] = {
20145 (char *) "self",(char *) "data", NULL
20148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20150 if (!SWIG_IsOK(res1
)) {
20151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20153 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20155 if (!SWIG_IsOK(res2
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20158 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 (arg1
)->SetData(arg2
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_Py_Void();
20172 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20175 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20176 return SWIG_Py_Void();
20179 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20180 return SWIG_Python_InitShadowInstance(args
);
20183 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20184 PyObject
*resultobj
= 0;
20185 wxWindow
*arg1
= (wxWindow
*) 0 ;
20186 int arg2
= (int) (int)-1 ;
20187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20193 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20194 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20195 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20196 wxMDIParentFrame
*result
= 0 ;
20201 bool temp3
= false ;
20206 bool temp7
= false ;
20207 PyObject
* obj0
= 0 ;
20208 PyObject
* obj1
= 0 ;
20209 PyObject
* obj2
= 0 ;
20210 PyObject
* obj3
= 0 ;
20211 PyObject
* obj4
= 0 ;
20212 PyObject
* obj5
= 0 ;
20213 PyObject
* obj6
= 0 ;
20214 char * kwnames
[] = {
20215 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20220 if (!SWIG_IsOK(res1
)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20226 if (!SWIG_IsOK(ecode2
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20229 arg2
= static_cast< int >(val2
);
20233 arg3
= wxString_in_helper(obj2
);
20234 if (arg3
== NULL
) SWIG_fail
;
20241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20251 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20252 if (!SWIG_IsOK(ecode6
)) {
20253 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20255 arg6
= static_cast< long >(val6
);
20259 arg7
= wxString_in_helper(obj6
);
20260 if (arg7
== NULL
) SWIG_fail
;
20265 if (!wxPyCheckForApp()) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20294 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20295 PyObject
*resultobj
= 0;
20296 wxMDIParentFrame
*result
= 0 ;
20298 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20300 if (!wxPyCheckForApp()) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20313 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
= 0;
20315 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20316 wxWindow
*arg2
= (wxWindow
*) 0 ;
20317 int arg3
= (int) (int)-1 ;
20318 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20319 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20324 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20325 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20334 bool temp4
= false ;
20339 bool temp8
= false ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 PyObject
* obj2
= 0 ;
20343 PyObject
* obj3
= 0 ;
20344 PyObject
* obj4
= 0 ;
20345 PyObject
* obj5
= 0 ;
20346 PyObject
* obj6
= 0 ;
20347 PyObject
* obj7
= 0 ;
20348 char * kwnames
[] = {
20349 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20354 if (!SWIG_IsOK(res1
)) {
20355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20357 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20359 if (!SWIG_IsOK(res2
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20362 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20365 if (!SWIG_IsOK(ecode3
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20368 arg3
= static_cast< int >(val3
);
20372 arg4
= wxString_in_helper(obj3
);
20373 if (arg4
== NULL
) SWIG_fail
;
20380 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20386 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20390 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20391 if (!SWIG_IsOK(ecode7
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20394 arg7
= static_cast< long >(val7
);
20398 arg8
= wxString_in_helper(obj7
);
20399 if (arg8
== NULL
) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20434 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20435 PyObject
*resultobj
= 0;
20436 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20439 PyObject
*swig_obj
[1] ;
20441 if (!args
) SWIG_fail
;
20442 swig_obj
[0] = args
;
20443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20444 if (!SWIG_IsOK(res1
)) {
20445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20447 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 (arg1
)->ActivateNext();
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= SWIG_Py_Void();
20461 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20462 PyObject
*resultobj
= 0;
20463 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20466 PyObject
*swig_obj
[1] ;
20468 if (!args
) SWIG_fail
;
20469 swig_obj
[0] = args
;
20470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20471 if (!SWIG_IsOK(res1
)) {
20472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20474 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 (arg1
)->ActivatePrevious();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_Py_Void();
20488 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20489 PyObject
*resultobj
= 0;
20490 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20493 PyObject
*swig_obj
[1] ;
20495 if (!args
) SWIG_fail
;
20496 swig_obj
[0] = args
;
20497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20498 if (!SWIG_IsOK(res1
)) {
20499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20501 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 (arg1
)->ArrangeIcons();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= SWIG_Py_Void();
20515 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20516 PyObject
*resultobj
= 0;
20517 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20520 PyObject
*swig_obj
[1] ;
20522 if (!args
) SWIG_fail
;
20523 swig_obj
[0] = args
;
20524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20525 if (!SWIG_IsOK(res1
)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20528 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_Py_Void();
20542 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20543 PyObject
*resultobj
= 0;
20544 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20545 wxMDIChildFrame
*result
= 0 ;
20548 PyObject
*swig_obj
[1] ;
20550 if (!args
) SWIG_fail
;
20551 swig_obj
[0] = args
;
20552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20553 if (!SWIG_IsOK(res1
)) {
20554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20556 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20572 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20573 PyObject
*resultobj
= 0;
20574 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20575 wxMDIClientWindow
*result
= 0 ;
20578 PyObject
*swig_obj
[1] ;
20580 if (!args
) SWIG_fail
;
20581 swig_obj
[0] = args
;
20582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20583 if (!SWIG_IsOK(res1
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20586 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20602 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20603 PyObject
*resultobj
= 0;
20604 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20605 wxWindow
*result
= 0 ;
20608 PyObject
*swig_obj
[1] ;
20610 if (!args
) SWIG_fail
;
20611 swig_obj
[0] = args
;
20612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20613 if (!SWIG_IsOK(res1
)) {
20614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20616 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (wxWindow
*)(arg1
)->GetToolBar();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= wxPyMake_wxObject(result
, 0);
20632 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
= 0;
20634 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20635 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "self",(char *) "orient", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20651 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20654 if (!SWIG_IsOK(ecode2
)) {
20655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20657 arg2
= static_cast< wxOrientation
>(val2
);
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 (arg1
)->Tile(arg2
);
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= SWIG_Py_Void();
20672 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20675 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20676 return SWIG_Py_Void();
20679 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20680 return SWIG_Python_InitShadowInstance(args
);
20683 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20686 int arg2
= (int) (int)-1 ;
20687 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20688 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20693 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20694 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20695 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20696 wxMDIChildFrame
*result
= 0 ;
20701 bool temp3
= false ;
20706 bool temp7
= false ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 PyObject
* obj2
= 0 ;
20710 PyObject
* obj3
= 0 ;
20711 PyObject
* obj4
= 0 ;
20712 PyObject
* obj5
= 0 ;
20713 PyObject
* obj6
= 0 ;
20714 char * kwnames
[] = {
20715 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20720 if (!SWIG_IsOK(res1
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20723 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20726 if (!SWIG_IsOK(ecode2
)) {
20727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20729 arg2
= static_cast< int >(val2
);
20733 arg3
= wxString_in_helper(obj2
);
20734 if (arg3
== NULL
) SWIG_fail
;
20741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20751 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20752 if (!SWIG_IsOK(ecode6
)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20755 arg6
= static_cast< long >(val6
);
20759 arg7
= wxString_in_helper(obj6
);
20760 if (arg7
== NULL
) SWIG_fail
;
20765 if (!wxPyCheckForApp()) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20794 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20795 PyObject
*resultobj
= 0;
20796 wxMDIChildFrame
*result
= 0 ;
20798 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20800 if (!wxPyCheckForApp()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20813 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
= 0;
20815 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20816 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20817 int arg3
= (int) (int)-1 ;
20818 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20824 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20825 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20834 bool temp4
= false ;
20839 bool temp8
= false ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 PyObject
* obj2
= 0 ;
20843 PyObject
* obj3
= 0 ;
20844 PyObject
* obj4
= 0 ;
20845 PyObject
* obj5
= 0 ;
20846 PyObject
* obj6
= 0 ;
20847 PyObject
* obj7
= 0 ;
20848 char * kwnames
[] = {
20849 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20854 if (!SWIG_IsOK(res1
)) {
20855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20857 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20859 if (!SWIG_IsOK(res2
)) {
20860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20862 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20865 if (!SWIG_IsOK(ecode3
)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20868 arg3
= static_cast< int >(val3
);
20872 arg4
= wxString_in_helper(obj3
);
20873 if (arg4
== NULL
) SWIG_fail
;
20880 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20886 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20890 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20891 if (!SWIG_IsOK(ecode7
)) {
20892 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20894 arg7
= static_cast< long >(val7
);
20898 arg8
= wxString_in_helper(obj7
);
20899 if (arg8
== NULL
) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20934 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20935 PyObject
*resultobj
= 0;
20936 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20939 PyObject
*swig_obj
[1] ;
20941 if (!args
) SWIG_fail
;
20942 swig_obj
[0] = args
;
20943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20944 if (!SWIG_IsOK(res1
)) {
20945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20947 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 (arg1
)->Activate();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_Py_Void();
20961 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20964 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20965 return SWIG_Py_Void();
20968 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20969 return SWIG_Python_InitShadowInstance(args
);
20972 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
= 0;
20974 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20975 long arg2
= (long) 0 ;
20976 wxMDIClientWindow
*result
= 0 ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 char * kwnames
[] = {
20984 (char *) "parent",(char *) "style", NULL
20987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20992 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20994 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20995 if (!SWIG_IsOK(ecode2
)) {
20996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20998 arg2
= static_cast< long >(val2
);
21001 if (!wxPyCheckForApp()) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21014 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21015 PyObject
*resultobj
= 0;
21016 wxMDIClientWindow
*result
= 0 ;
21018 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21020 if (!wxPyCheckForApp()) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21033 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
= 0;
21035 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21036 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21037 long arg3
= (long) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 PyObject
* obj2
= 0 ;
21048 char * kwnames
[] = {
21049 (char *) "self",(char *) "parent",(char *) "style", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21057 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21059 if (!SWIG_IsOK(res2
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21062 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21064 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21065 if (!SWIG_IsOK(ecode3
)) {
21066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21068 arg3
= static_cast< long >(val3
);
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21085 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21088 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21089 return SWIG_Py_Void();
21092 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21093 return SWIG_Python_InitShadowInstance(args
);
21096 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
= 0;
21098 wxWindow
*arg1
= (wxWindow
*) 0 ;
21099 int arg2
= (int) (int)-1 ;
21100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21104 long arg5
= (long) 0 ;
21105 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21107 wxPyWindow
*result
= 0 ;
21116 bool temp6
= false ;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 PyObject
* obj2
= 0 ;
21120 PyObject
* obj3
= 0 ;
21121 PyObject
* obj4
= 0 ;
21122 PyObject
* obj5
= 0 ;
21123 char * kwnames
[] = {
21124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21129 if (!SWIG_IsOK(res1
)) {
21130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21135 if (!SWIG_IsOK(ecode2
)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21138 arg2
= static_cast< int >(val2
);
21143 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21149 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21153 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21154 if (!SWIG_IsOK(ecode5
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21157 arg5
= static_cast< long >(val5
);
21161 arg6
= wxString_in_helper(obj5
);
21162 if (arg6
== NULL
) SWIG_fail
;
21167 if (!wxPyCheckForApp()) SWIG_fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21188 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21189 PyObject
*resultobj
= 0;
21190 wxPyWindow
*result
= 0 ;
21192 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21194 if (!wxPyCheckForApp()) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= (wxPyWindow
*)new wxPyWindow();
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21207 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
= 0;
21209 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21210 PyObject
*arg2
= (PyObject
*) 0 ;
21211 PyObject
*arg3
= (PyObject
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 PyObject
* obj1
= 0 ;
21216 PyObject
* obj2
= 0 ;
21217 char * kwnames
[] = {
21218 (char *) "self",(char *) "self",(char *) "_class", NULL
21221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21223 if (!SWIG_IsOK(res1
)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21226 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= SWIG_Py_Void();
21242 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
= 0;
21244 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char * kwnames
[] = {
21252 (char *) "self",(char *) "size", NULL
21255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",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_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21260 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21263 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_Py_Void();
21278 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
= 0;
21280 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21281 wxDC
*arg2
= (wxDC
*) 0 ;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 char * kwnames
[] = {
21290 (char *) "self",(char *) "dc", NULL
21293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21295 if (!SWIG_IsOK(res1
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21298 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21300 if (!SWIG_IsOK(res2
)) {
21301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21303 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21319 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
= 0;
21321 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 PyObject
* obj2
= 0 ;
21339 PyObject
* obj3
= 0 ;
21340 PyObject
* obj4
= 0 ;
21341 char * kwnames
[] = {
21342 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21347 if (!SWIG_IsOK(res1
)) {
21348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21350 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21352 if (!SWIG_IsOK(ecode2
)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21355 arg2
= static_cast< int >(val2
);
21356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21357 if (!SWIG_IsOK(ecode3
)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21360 arg3
= static_cast< int >(val3
);
21361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21362 if (!SWIG_IsOK(ecode4
)) {
21363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21365 arg4
= static_cast< int >(val4
);
21366 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21367 if (!SWIG_IsOK(ecode5
)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21370 arg5
= static_cast< int >(val5
);
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_Py_Void();
21384 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
= 0;
21386 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21391 int arg6
= (int) wxSIZE_AUTO
;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 PyObject
* obj2
= 0 ;
21407 PyObject
* obj3
= 0 ;
21408 PyObject
* obj4
= 0 ;
21409 PyObject
* obj5
= 0 ;
21410 char * kwnames
[] = {
21411 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21419 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21421 if (!SWIG_IsOK(ecode2
)) {
21422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21424 arg2
= static_cast< int >(val2
);
21425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21426 if (!SWIG_IsOK(ecode3
)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21429 arg3
= static_cast< int >(val3
);
21430 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21431 if (!SWIG_IsOK(ecode4
)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21434 arg4
= static_cast< int >(val4
);
21435 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21436 if (!SWIG_IsOK(ecode5
)) {
21437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21439 arg5
= static_cast< int >(val5
);
21441 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21442 if (!SWIG_IsOK(ecode6
)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21445 arg6
= static_cast< int >(val6
);
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_Py_Void();
21460 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
= 0;
21462 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 PyObject
* obj2
= 0 ;
21474 char * kwnames
[] = {
21475 (char *) "self",(char *) "width",(char *) "height", NULL
21478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21480 if (!SWIG_IsOK(res1
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21483 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21485 if (!SWIG_IsOK(ecode2
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21488 arg2
= static_cast< int >(val2
);
21489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21490 if (!SWIG_IsOK(ecode3
)) {
21491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21493 arg3
= static_cast< int >(val3
);
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 (arg1
)->DoSetClientSize(arg2
,arg3
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_Py_Void();
21507 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
= 0;
21509 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 PyObject
* obj2
= 0 ;
21521 char * kwnames
[] = {
21522 (char *) "self",(char *) "x",(char *) "y", NULL
21525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21527 if (!SWIG_IsOK(res1
)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21530 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21532 if (!SWIG_IsOK(ecode2
)) {
21533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21535 arg2
= static_cast< int >(val2
);
21536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21537 if (!SWIG_IsOK(ecode3
)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21540 arg3
= static_cast< int >(val3
);
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_Py_Void();
21554 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21555 PyObject
*resultobj
= 0;
21556 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21557 int *arg2
= (int *) 0 ;
21558 int *arg3
= (int *) 0 ;
21562 int res2
= SWIG_TMPOBJ
;
21564 int res3
= SWIG_TMPOBJ
;
21565 PyObject
*swig_obj
[1] ;
21569 if (!args
) SWIG_fail
;
21570 swig_obj
[0] = args
;
21571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21575 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_Py_Void();
21583 if (SWIG_IsTmpObj(res2
)) {
21584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21586 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21589 if (SWIG_IsTmpObj(res3
)) {
21590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21592 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21601 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 PyObject
*resultobj
= 0;
21603 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21604 int *arg2
= (int *) 0 ;
21605 int *arg3
= (int *) 0 ;
21609 int res2
= SWIG_TMPOBJ
;
21611 int res3
= SWIG_TMPOBJ
;
21612 PyObject
*swig_obj
[1] ;
21616 if (!args
) SWIG_fail
;
21617 swig_obj
[0] = args
;
21618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21619 if (!SWIG_IsOK(res1
)) {
21620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21622 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21625 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= SWIG_Py_Void();
21630 if (SWIG_IsTmpObj(res2
)) {
21631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21633 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21636 if (SWIG_IsTmpObj(res3
)) {
21637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21639 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21648 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21649 PyObject
*resultobj
= 0;
21650 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21651 int *arg2
= (int *) 0 ;
21652 int *arg3
= (int *) 0 ;
21656 int res2
= SWIG_TMPOBJ
;
21658 int res3
= SWIG_TMPOBJ
;
21659 PyObject
*swig_obj
[1] ;
21663 if (!args
) SWIG_fail
;
21664 swig_obj
[0] = args
;
21665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21666 if (!SWIG_IsOK(res1
)) {
21667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21669 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_Py_Void();
21677 if (SWIG_IsTmpObj(res2
)) {
21678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21680 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21683 if (SWIG_IsTmpObj(res3
)) {
21684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21686 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21695 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21696 PyObject
*resultobj
= 0;
21697 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21701 PyObject
*swig_obj
[1] ;
21703 if (!args
) SWIG_fail
;
21704 swig_obj
[0] = args
;
21705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21709 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21723 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21724 PyObject
*resultobj
= 0;
21725 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21729 PyObject
*swig_obj
[1] ;
21731 if (!args
) SWIG_fail
;
21732 swig_obj
[0] = args
;
21733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21734 if (!SWIG_IsOK(res1
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21737 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21751 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21752 PyObject
*resultobj
= 0;
21753 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21754 SwigValueWrapper
<wxVisualAttributes
> result
;
21757 PyObject
*swig_obj
[1] ;
21759 if (!args
) SWIG_fail
;
21760 swig_obj
[0] = args
;
21761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21762 if (!SWIG_IsOK(res1
)) {
21763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21765 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (arg1
)->GetDefaultAttributes();
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21779 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21780 PyObject
*resultobj
= 0;
21781 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21784 PyObject
*swig_obj
[1] ;
21786 if (!args
) SWIG_fail
;
21787 swig_obj
[0] = args
;
21788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21789 if (!SWIG_IsOK(res1
)) {
21790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21792 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 (arg1
)->OnInternalIdle();
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= SWIG_Py_Void();
21806 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21809 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21810 return SWIG_Py_Void();
21813 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 return SWIG_Python_InitShadowInstance(args
);
21817 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
= 0;
21819 wxWindow
*arg1
= (wxWindow
*) 0 ;
21820 int arg2
= (int) (int)-1 ;
21821 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21822 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21823 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21824 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21825 long arg5
= (long) 0 ;
21826 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21827 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21828 wxPyPanel
*result
= 0 ;
21837 bool temp6
= false ;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 PyObject
* obj2
= 0 ;
21841 PyObject
* obj3
= 0 ;
21842 PyObject
* obj4
= 0 ;
21843 PyObject
* obj5
= 0 ;
21844 char * kwnames
[] = {
21845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21850 if (!SWIG_IsOK(res1
)) {
21851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21856 if (!SWIG_IsOK(ecode2
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21859 arg2
= static_cast< int >(val2
);
21864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21874 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21875 if (!SWIG_IsOK(ecode5
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21878 arg5
= static_cast< long >(val5
);
21882 arg6
= wxString_in_helper(obj5
);
21883 if (arg6
== NULL
) SWIG_fail
;
21888 if (!wxPyCheckForApp()) SWIG_fail
;
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21909 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21910 PyObject
*resultobj
= 0;
21911 wxPyPanel
*result
= 0 ;
21913 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21915 if (!wxPyCheckForApp()) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (wxPyPanel
*)new wxPyPanel();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21928 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
= 0;
21930 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21931 PyObject
*arg2
= (PyObject
*) 0 ;
21932 PyObject
*arg3
= (PyObject
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 PyObject
* obj2
= 0 ;
21938 char * kwnames
[] = {
21939 (char *) "self",(char *) "self",(char *) "_class", NULL
21942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21944 if (!SWIG_IsOK(res1
)) {
21945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21947 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_Py_Void();
21963 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
= 0;
21965 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 char * kwnames
[] = {
21973 (char *) "self",(char *) "size", NULL
21976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",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_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21981 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 resultobj
= SWIG_Py_Void();
21999 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
= 0;
22001 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22002 wxDC
*arg2
= (wxDC
*) 0 ;
22008 PyObject
* obj0
= 0 ;
22009 PyObject
* obj1
= 0 ;
22010 char * kwnames
[] = {
22011 (char *) "self",(char *) "dc", NULL
22014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22016 if (!SWIG_IsOK(res1
)) {
22017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22019 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22021 if (!SWIG_IsOK(res2
)) {
22022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22024 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22040 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
= 0;
22042 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 PyObject
* obj2
= 0 ;
22060 PyObject
* obj3
= 0 ;
22061 PyObject
* obj4
= 0 ;
22062 char * kwnames
[] = {
22063 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22068 if (!SWIG_IsOK(res1
)) {
22069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22071 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22073 if (!SWIG_IsOK(ecode2
)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22076 arg2
= static_cast< int >(val2
);
22077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22078 if (!SWIG_IsOK(ecode3
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22081 arg3
= static_cast< int >(val3
);
22082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22083 if (!SWIG_IsOK(ecode4
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22086 arg4
= static_cast< int >(val4
);
22087 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22088 if (!SWIG_IsOK(ecode5
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22091 arg5
= static_cast< int >(val5
);
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_Py_Void();
22105 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
= 0;
22107 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22112 int arg6
= (int) wxSIZE_AUTO
;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 PyObject
* obj2
= 0 ;
22128 PyObject
* obj3
= 0 ;
22129 PyObject
* obj4
= 0 ;
22130 PyObject
* obj5
= 0 ;
22131 char * kwnames
[] = {
22132 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22137 if (!SWIG_IsOK(res1
)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22140 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22142 if (!SWIG_IsOK(ecode2
)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22145 arg2
= static_cast< int >(val2
);
22146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22147 if (!SWIG_IsOK(ecode3
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22150 arg3
= static_cast< int >(val3
);
22151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22152 if (!SWIG_IsOK(ecode4
)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22155 arg4
= static_cast< int >(val4
);
22156 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22157 if (!SWIG_IsOK(ecode5
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22160 arg5
= static_cast< int >(val5
);
22162 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22163 if (!SWIG_IsOK(ecode6
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22166 arg6
= static_cast< int >(val6
);
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_Py_Void();
22181 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
= 0;
22183 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 PyObject
* obj2
= 0 ;
22195 char * kwnames
[] = {
22196 (char *) "self",(char *) "width",(char *) "height", NULL
22199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22204 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22206 if (!SWIG_IsOK(ecode2
)) {
22207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22209 arg2
= static_cast< int >(val2
);
22210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22211 if (!SWIG_IsOK(ecode3
)) {
22212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22214 arg3
= static_cast< int >(val3
);
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 (arg1
)->DoSetClientSize(arg2
,arg3
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= SWIG_Py_Void();
22228 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
= 0;
22230 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 PyObject
* obj2
= 0 ;
22242 char * kwnames
[] = {
22243 (char *) "self",(char *) "x",(char *) "y", NULL
22246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22248 if (!SWIG_IsOK(res1
)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22251 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22253 if (!SWIG_IsOK(ecode2
)) {
22254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22256 arg2
= static_cast< int >(val2
);
22257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22258 if (!SWIG_IsOK(ecode3
)) {
22259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22261 arg3
= static_cast< int >(val3
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_Py_Void();
22275 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22276 PyObject
*resultobj
= 0;
22277 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22278 int *arg2
= (int *) 0 ;
22279 int *arg3
= (int *) 0 ;
22283 int res2
= SWIG_TMPOBJ
;
22285 int res3
= SWIG_TMPOBJ
;
22286 PyObject
*swig_obj
[1] ;
22290 if (!args
) SWIG_fail
;
22291 swig_obj
[0] = args
;
22292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22293 if (!SWIG_IsOK(res1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22296 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_Py_Void();
22304 if (SWIG_IsTmpObj(res2
)) {
22305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22307 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22310 if (SWIG_IsTmpObj(res3
)) {
22311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22313 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22322 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22323 PyObject
*resultobj
= 0;
22324 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22325 int *arg2
= (int *) 0 ;
22326 int *arg3
= (int *) 0 ;
22330 int res2
= SWIG_TMPOBJ
;
22332 int res3
= SWIG_TMPOBJ
;
22333 PyObject
*swig_obj
[1] ;
22337 if (!args
) SWIG_fail
;
22338 swig_obj
[0] = args
;
22339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22340 if (!SWIG_IsOK(res1
)) {
22341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22343 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_Py_Void();
22351 if (SWIG_IsTmpObj(res2
)) {
22352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22354 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22357 if (SWIG_IsTmpObj(res3
)) {
22358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22360 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22369 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22370 PyObject
*resultobj
= 0;
22371 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22372 int *arg2
= (int *) 0 ;
22373 int *arg3
= (int *) 0 ;
22377 int res2
= SWIG_TMPOBJ
;
22379 int res3
= SWIG_TMPOBJ
;
22380 PyObject
*swig_obj
[1] ;
22384 if (!args
) SWIG_fail
;
22385 swig_obj
[0] = args
;
22386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22387 if (!SWIG_IsOK(res1
)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22390 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_Py_Void();
22398 if (SWIG_IsTmpObj(res2
)) {
22399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22401 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22404 if (SWIG_IsTmpObj(res3
)) {
22405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22407 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22416 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22417 PyObject
*resultobj
= 0;
22418 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22422 PyObject
*swig_obj
[1] ;
22424 if (!args
) SWIG_fail
;
22425 swig_obj
[0] = args
;
22426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22427 if (!SWIG_IsOK(res1
)) {
22428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22430 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22444 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22446 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22450 PyObject
*swig_obj
[1] ;
22452 if (!args
) SWIG_fail
;
22453 swig_obj
[0] = args
;
22454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22458 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22472 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22473 PyObject
*resultobj
= 0;
22474 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22475 SwigValueWrapper
<wxVisualAttributes
> result
;
22478 PyObject
*swig_obj
[1] ;
22480 if (!args
) SWIG_fail
;
22481 swig_obj
[0] = args
;
22482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22483 if (!SWIG_IsOK(res1
)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22486 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= (arg1
)->GetDefaultAttributes();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22500 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22501 PyObject
*resultobj
= 0;
22502 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22505 PyObject
*swig_obj
[1] ;
22507 if (!args
) SWIG_fail
;
22508 swig_obj
[0] = args
;
22509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22510 if (!SWIG_IsOK(res1
)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22513 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 (arg1
)->OnInternalIdle();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= SWIG_Py_Void();
22527 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22529 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22530 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22531 return SWIG_Py_Void();
22534 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22535 return SWIG_Python_InitShadowInstance(args
);
22538 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
= 0;
22540 wxWindow
*arg1
= (wxWindow
*) 0 ;
22541 int arg2
= (int) (int)-1 ;
22542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22546 long arg5
= (long) 0 ;
22547 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22549 wxPyScrolledWindow
*result
= 0 ;
22558 bool temp6
= false ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 PyObject
* obj2
= 0 ;
22562 PyObject
* obj3
= 0 ;
22563 PyObject
* obj4
= 0 ;
22564 PyObject
* obj5
= 0 ;
22565 char * kwnames
[] = {
22566 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22577 if (!SWIG_IsOK(ecode2
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22580 arg2
= static_cast< int >(val2
);
22585 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22591 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22595 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22596 if (!SWIG_IsOK(ecode5
)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22599 arg5
= static_cast< long >(val5
);
22603 arg6
= wxString_in_helper(obj5
);
22604 if (arg6
== NULL
) SWIG_fail
;
22609 if (!wxPyCheckForApp()) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22630 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22631 PyObject
*resultobj
= 0;
22632 wxPyScrolledWindow
*result
= 0 ;
22634 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22636 if (!wxPyCheckForApp()) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22649 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
= 0;
22651 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22652 PyObject
*arg2
= (PyObject
*) 0 ;
22653 PyObject
*arg3
= (PyObject
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 PyObject
* obj1
= 0 ;
22658 PyObject
* obj2
= 0 ;
22659 char * kwnames
[] = {
22660 (char *) "self",(char *) "self",(char *) "_class", NULL
22663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22665 if (!SWIG_IsOK(res1
)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22668 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 resultobj
= SWIG_Py_Void();
22684 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
= 0;
22686 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 char * kwnames
[] = {
22694 (char *) "self",(char *) "size", NULL
22697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",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_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22702 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22705 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= SWIG_Py_Void();
22720 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
= 0;
22722 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22723 wxDC
*arg2
= (wxDC
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 char * kwnames
[] = {
22732 (char *) "self",(char *) "dc", NULL
22735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22737 if (!SWIG_IsOK(res1
)) {
22738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22740 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22742 if (!SWIG_IsOK(res2
)) {
22743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22745 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22761 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
= 0;
22763 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22780 PyObject
* obj2
= 0 ;
22781 PyObject
* obj3
= 0 ;
22782 PyObject
* obj4
= 0 ;
22783 char * kwnames
[] = {
22784 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22789 if (!SWIG_IsOK(res1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22792 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22794 if (!SWIG_IsOK(ecode2
)) {
22795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22797 arg2
= static_cast< int >(val2
);
22798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22799 if (!SWIG_IsOK(ecode3
)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22802 arg3
= static_cast< int >(val3
);
22803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22804 if (!SWIG_IsOK(ecode4
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22807 arg4
= static_cast< int >(val4
);
22808 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22809 if (!SWIG_IsOK(ecode5
)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22812 arg5
= static_cast< int >(val5
);
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= SWIG_Py_Void();
22826 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
= 0;
22828 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22833 int arg6
= (int) wxSIZE_AUTO
;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 PyObject
* obj2
= 0 ;
22849 PyObject
* obj3
= 0 ;
22850 PyObject
* obj4
= 0 ;
22851 PyObject
* obj5
= 0 ;
22852 char * kwnames
[] = {
22853 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22861 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22863 if (!SWIG_IsOK(ecode2
)) {
22864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22866 arg2
= static_cast< int >(val2
);
22867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22868 if (!SWIG_IsOK(ecode3
)) {
22869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22871 arg3
= static_cast< int >(val3
);
22872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22873 if (!SWIG_IsOK(ecode4
)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22876 arg4
= static_cast< int >(val4
);
22877 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22878 if (!SWIG_IsOK(ecode5
)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22881 arg5
= static_cast< int >(val5
);
22883 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22884 if (!SWIG_IsOK(ecode6
)) {
22885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22887 arg6
= static_cast< int >(val6
);
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_Py_Void();
22902 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
= 0;
22904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 PyObject
* obj1
= 0 ;
22915 PyObject
* obj2
= 0 ;
22916 char * kwnames
[] = {
22917 (char *) "self",(char *) "width",(char *) "height", NULL
22920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22922 if (!SWIG_IsOK(res1
)) {
22923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22925 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22927 if (!SWIG_IsOK(ecode2
)) {
22928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22930 arg2
= static_cast< int >(val2
);
22931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22932 if (!SWIG_IsOK(ecode3
)) {
22933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22935 arg3
= static_cast< int >(val3
);
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->DoSetClientSize(arg2
,arg3
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_Py_Void();
22949 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
= 0;
22951 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22960 PyObject
* obj0
= 0 ;
22961 PyObject
* obj1
= 0 ;
22962 PyObject
* obj2
= 0 ;
22963 char * kwnames
[] = {
22964 (char *) "self",(char *) "x",(char *) "y", NULL
22967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22972 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22974 if (!SWIG_IsOK(ecode2
)) {
22975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22977 arg2
= static_cast< int >(val2
);
22978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22979 if (!SWIG_IsOK(ecode3
)) {
22980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22982 arg3
= static_cast< int >(val3
);
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22986 wxPyEndAllowThreads(__tstate
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22989 resultobj
= SWIG_Py_Void();
22996 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22997 PyObject
*resultobj
= 0;
22998 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22999 int *arg2
= (int *) 0 ;
23000 int *arg3
= (int *) 0 ;
23004 int res2
= SWIG_TMPOBJ
;
23006 int res3
= SWIG_TMPOBJ
;
23007 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23017 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_Py_Void();
23025 if (SWIG_IsTmpObj(res2
)) {
23026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23028 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23031 if (SWIG_IsTmpObj(res3
)) {
23032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23034 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23043 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23044 PyObject
*resultobj
= 0;
23045 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23046 int *arg2
= (int *) 0 ;
23047 int *arg3
= (int *) 0 ;
23051 int res2
= SWIG_TMPOBJ
;
23053 int res3
= SWIG_TMPOBJ
;
23054 PyObject
*swig_obj
[1] ;
23058 if (!args
) SWIG_fail
;
23059 swig_obj
[0] = args
;
23060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23061 if (!SWIG_IsOK(res1
)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23064 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_Py_Void();
23072 if (SWIG_IsTmpObj(res2
)) {
23073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23075 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23078 if (SWIG_IsTmpObj(res3
)) {
23079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23081 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23090 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23091 PyObject
*resultobj
= 0;
23092 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23093 int *arg2
= (int *) 0 ;
23094 int *arg3
= (int *) 0 ;
23098 int res2
= SWIG_TMPOBJ
;
23100 int res3
= SWIG_TMPOBJ
;
23101 PyObject
*swig_obj
[1] ;
23105 if (!args
) SWIG_fail
;
23106 swig_obj
[0] = args
;
23107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23108 if (!SWIG_IsOK(res1
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23111 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_Py_Void();
23119 if (SWIG_IsTmpObj(res2
)) {
23120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23122 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23125 if (SWIG_IsTmpObj(res3
)) {
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23128 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23137 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 PyObject
*resultobj
= 0;
23139 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23143 PyObject
*swig_obj
[1] ;
23145 if (!args
) SWIG_fail
;
23146 swig_obj
[0] = args
;
23147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23151 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23165 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23166 PyObject
*resultobj
= 0;
23167 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23171 PyObject
*swig_obj
[1] ;
23173 if (!args
) SWIG_fail
;
23174 swig_obj
[0] = args
;
23175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23176 if (!SWIG_IsOK(res1
)) {
23177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23179 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23193 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23194 PyObject
*resultobj
= 0;
23195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23196 SwigValueWrapper
<wxVisualAttributes
> result
;
23199 PyObject
*swig_obj
[1] ;
23201 if (!args
) SWIG_fail
;
23202 swig_obj
[0] = args
;
23203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23207 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (arg1
)->GetDefaultAttributes();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23221 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23222 PyObject
*resultobj
= 0;
23223 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23226 PyObject
*swig_obj
[1] ;
23228 if (!args
) SWIG_fail
;
23229 swig_obj
[0] = args
;
23230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23231 if (!SWIG_IsOK(res1
)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23234 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 (arg1
)->OnInternalIdle();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_Py_Void();
23248 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23252 return SWIG_Py_Void();
23255 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23256 return SWIG_Python_InitShadowInstance(args
);
23259 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23260 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23265 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23266 PyObject
*pyobj
= 0;
23270 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23272 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23279 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23280 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23285 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23286 PyObject
*pyobj
= 0;
23290 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23292 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23299 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23300 PyObject
*resultobj
= 0;
23301 wxPrintData
*result
= 0 ;
23303 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 result
= (wxPrintData
*)new wxPrintData();
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23317 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23318 PyObject
*resultobj
= 0;
23319 wxPrintData
*arg1
= 0 ;
23320 wxPrintData
*result
= 0 ;
23324 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23332 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23346 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23350 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23353 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23356 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23360 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23365 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23366 PyObject
*resultobj
= 0;
23367 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23370 PyObject
*swig_obj
[1] ;
23372 if (!args
) SWIG_fail
;
23373 swig_obj
[0] = args
;
23374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23375 if (!SWIG_IsOK(res1
)) {
23376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23378 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_Py_Void();
23393 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23394 PyObject
*resultobj
= 0;
23395 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23399 PyObject
*swig_obj
[1] ;
23401 if (!args
) SWIG_fail
;
23402 swig_obj
[0] = args
;
23403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23404 if (!SWIG_IsOK(res1
)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23407 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 result
= (int)(arg1
)->GetNoCopies();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_From_int(static_cast< int >(result
));
23421 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23422 PyObject
*resultobj
= 0;
23423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23427 PyObject
*swig_obj
[1] ;
23429 if (!args
) SWIG_fail
;
23430 swig_obj
[0] = args
;
23431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23432 if (!SWIG_IsOK(res1
)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23435 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 result
= (bool)(arg1
)->GetCollate();
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23451 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23452 PyObject
*resultobj
= 0;
23453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23457 PyObject
*swig_obj
[1] ;
23459 if (!args
) SWIG_fail
;
23460 swig_obj
[0] = args
;
23461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23462 if (!SWIG_IsOK(res1
)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23465 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (int)(arg1
)->GetOrientation();
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_From_int(static_cast< int >(result
));
23479 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23480 PyObject
*resultobj
= 0;
23481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23485 PyObject
*swig_obj
[1] ;
23487 if (!args
) SWIG_fail
;
23488 swig_obj
[0] = args
;
23489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23490 if (!SWIG_IsOK(res1
)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23493 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (bool)(arg1
)->Ok();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23509 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23510 PyObject
*resultobj
= 0;
23511 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23512 wxString
*result
= 0 ;
23515 PyObject
*swig_obj
[1] ;
23517 if (!args
) SWIG_fail
;
23518 swig_obj
[0] = args
;
23519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23520 if (!SWIG_IsOK(res1
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23523 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23528 result
= (wxString
*) &_result_ref
;
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23537 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23546 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23547 PyObject
*resultobj
= 0;
23548 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23552 PyObject
*swig_obj
[1] ;
23554 if (!args
) SWIG_fail
;
23555 swig_obj
[0] = args
;
23556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23557 if (!SWIG_IsOK(res1
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23560 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (bool)(arg1
)->GetColour();
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23576 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23577 PyObject
*resultobj
= 0;
23578 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23579 wxDuplexMode result
;
23582 PyObject
*swig_obj
[1] ;
23584 if (!args
) SWIG_fail
;
23585 swig_obj
[0] = args
;
23586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23587 if (!SWIG_IsOK(res1
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23590 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 resultobj
= SWIG_From_int(static_cast< int >(result
));
23604 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23605 PyObject
*resultobj
= 0;
23606 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23607 wxPaperSize result
;
23610 PyObject
*swig_obj
[1] ;
23612 if (!args
) SWIG_fail
;
23613 swig_obj
[0] = args
;
23614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23615 if (!SWIG_IsOK(res1
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23618 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_From_int(static_cast< int >(result
));
23632 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23633 PyObject
*resultobj
= 0;
23634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23635 wxSize
*result
= 0 ;
23638 PyObject
*swig_obj
[1] ;
23640 if (!args
) SWIG_fail
;
23641 swig_obj
[0] = args
;
23642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23646 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23651 result
= (wxSize
*) &_result_ref
;
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23663 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23664 PyObject
*resultobj
= 0;
23665 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23669 PyObject
*swig_obj
[1] ;
23671 if (!args
) SWIG_fail
;
23672 swig_obj
[0] = args
;
23673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23674 if (!SWIG_IsOK(res1
)) {
23675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23677 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= (int)(arg1
)->GetQuality();
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_From_int(static_cast< int >(result
));
23691 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23692 PyObject
*resultobj
= 0;
23693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23697 PyObject
*swig_obj
[1] ;
23699 if (!args
) SWIG_fail
;
23700 swig_obj
[0] = args
;
23701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23702 if (!SWIG_IsOK(res1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23705 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (wxPrintBin
)(arg1
)->GetBin();
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_From_int(static_cast< int >(result
));
23719 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23720 PyObject
*resultobj
= 0;
23721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23722 wxPrintMode result
;
23725 PyObject
*swig_obj
[1] ;
23727 if (!args
) SWIG_fail
;
23728 swig_obj
[0] = args
;
23729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23730 if (!SWIG_IsOK(res1
)) {
23731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23733 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_From_int(static_cast< int >(result
));
23747 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(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 *) "v", NULL
23761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",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_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23766 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23768 if (!SWIG_IsOK(ecode2
)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23771 arg2
= static_cast< int >(val2
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->SetNoCopies(arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_Py_Void();
23785 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(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 *) "flag", NULL
23799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",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_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23804 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23806 if (!SWIG_IsOK(ecode2
)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23809 arg2
= static_cast< bool >(val2
);
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 (arg1
)->SetCollate(arg2
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_Py_Void();
23823 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= 0;
23825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23831 PyObject
* obj0
= 0 ;
23832 PyObject
* obj1
= 0 ;
23833 char * kwnames
[] = {
23834 (char *) "self",(char *) "orient", NULL
23837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23839 if (!SWIG_IsOK(res1
)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23842 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23844 if (!SWIG_IsOK(ecode2
)) {
23845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23847 arg2
= static_cast< int >(val2
);
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 (arg1
)->SetOrientation(arg2
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_Py_Void();
23861 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
= 0;
23863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23864 wxString
*arg2
= 0 ;
23867 bool temp2
= false ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 char * kwnames
[] = {
23871 (char *) "self",(char *) "name", NULL
23874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23879 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23881 arg2
= wxString_in_helper(obj1
);
23882 if (arg2
== NULL
) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_Py_Void();
23906 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= 0;
23908 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 char * kwnames
[] = {
23917 (char *) "self",(char *) "colour", NULL
23920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",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_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23925 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23926 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23927 if (!SWIG_IsOK(ecode2
)) {
23928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23930 arg2
= static_cast< bool >(val2
);
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 (arg1
)->SetColour(arg2
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= SWIG_Py_Void();
23944 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
= 0;
23946 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23947 wxDuplexMode arg2
;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char * kwnames
[] = {
23955 (char *) "self",(char *) "duplex", NULL
23958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",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_SetDuplex" "', 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_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23968 arg2
= static_cast< wxDuplexMode
>(val2
);
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 (arg1
)->SetDuplex(arg2
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= SWIG_Py_Void();
23982 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
= 0;
23984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "self",(char *) "sizeId", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24001 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24003 if (!SWIG_IsOK(ecode2
)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24006 arg2
= static_cast< wxPaperSize
>(val2
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 (arg1
)->SetPaperId(arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= SWIG_Py_Void();
24020 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
= 0;
24022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char * kwnames
[] = {
24030 (char *) "self",(char *) "sz", NULL
24033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24035 if (!SWIG_IsOK(res1
)) {
24036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24038 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= SWIG_Py_Void();
24056 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(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 *) "quality", NULL
24070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",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_SetQuality" "', 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_SetQuality" "', expected argument " "2"" of type '" "int""'");
24080 arg2
= static_cast< int >(val2
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->SetQuality(arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_Py_Void();
24094 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(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 *) "bin", NULL
24108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",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_SetBin" "', 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_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24118 arg2
= static_cast< wxPrintBin
>(val2
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 (arg1
)->SetBin(arg2
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_Py_Void();
24132 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
= 0;
24134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24140 PyObject
* obj0
= 0 ;
24141 PyObject
* obj1
= 0 ;
24142 char * kwnames
[] = {
24143 (char *) "self",(char *) "printMode", NULL
24146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24148 if (!SWIG_IsOK(res1
)) {
24149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24151 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24153 if (!SWIG_IsOK(ecode2
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24156 arg2
= static_cast< wxPrintMode
>(val2
);
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->SetPrintMode(arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_Py_Void();
24170 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24171 PyObject
*resultobj
= 0;
24172 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24176 PyObject
*swig_obj
[1] ;
24178 if (!args
) SWIG_fail
;
24179 swig_obj
[0] = args
;
24180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24184 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24204 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
= 0;
24206 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24207 wxString
*arg2
= 0 ;
24210 bool temp2
= false ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char * kwnames
[] = {
24214 (char *) "self",(char *) "filename", NULL
24217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24222 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24224 arg2
= wxString_in_helper(obj1
);
24225 if (arg2
== NULL
) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 (arg1
)->SetFilename((wxString
const &)*arg2
);
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_Py_Void();
24249 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24250 PyObject
*resultobj
= 0;
24251 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24252 PyObject
*result
= 0 ;
24255 PyObject
*swig_obj
[1] ;
24257 if (!args
) SWIG_fail
;
24258 swig_obj
[0] = args
;
24259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24260 if (!SWIG_IsOK(res1
)) {
24261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24263 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= result
;
24277 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
= 0;
24279 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24280 PyObject
*arg2
= (PyObject
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char * kwnames
[] = {
24286 (char *) "self",(char *) "data", NULL
24289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24291 if (!SWIG_IsOK(res1
)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24294 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 wxPrintData_SetPrivData(arg1
,arg2
);
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= SWIG_Py_Void();
24309 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24313 return SWIG_Py_Void();
24316 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24317 return SWIG_Python_InitShadowInstance(args
);
24320 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24321 PyObject
*resultobj
= 0;
24322 wxPageSetupDialogData
*result
= 0 ;
24324 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24338 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24339 PyObject
*resultobj
= 0;
24340 wxPageSetupDialogData
*arg1
= 0 ;
24341 wxPageSetupDialogData
*result
= 0 ;
24345 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24347 if (!SWIG_IsOK(res1
)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24353 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24367 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24368 PyObject
*resultobj
= 0;
24369 wxPrintData
*arg1
= 0 ;
24370 wxPageSetupDialogData
*result
= 0 ;
24374 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24376 if (!SWIG_IsOK(res1
)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24382 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24396 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24400 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24403 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24408 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24409 _v
= SWIG_CheckState(res
);
24411 if (!_v
) goto check_2
;
24412 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24417 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24421 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24426 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24427 PyObject
*resultobj
= 0;
24428 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24431 PyObject
*swig_obj
[1] ;
24433 if (!args
) SWIG_fail
;
24434 swig_obj
[0] = args
;
24435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24436 if (!SWIG_IsOK(res1
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24439 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_Py_Void();
24454 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(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_EnableHelp",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_EnableHelp" "', 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_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24478 arg2
= static_cast< bool >(val2
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->EnableHelp(arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_Py_Void();
24492 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(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_EnableMargins",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_EnableMargins" "', 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_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24516 arg2
= static_cast< bool >(val2
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->EnableMargins(arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_Py_Void();
24530 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(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_EnableOrientation",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_EnableOrientation" "', 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_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24554 arg2
= static_cast< bool >(val2
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->EnableOrientation(arg2
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_Py_Void();
24568 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(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_EnablePaper",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_EnablePaper" "', 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_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24592 arg2
= static_cast< bool >(val2
);
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->EnablePaper(arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_Py_Void();
24606 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
= 0;
24608 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char * kwnames
[] = {
24617 (char *) "self",(char *) "flag", NULL
24620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24625 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24627 if (!SWIG_IsOK(ecode2
)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24630 arg2
= static_cast< bool >(val2
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->EnablePrinter(arg2
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_Py_Void();
24644 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24645 PyObject
*resultobj
= 0;
24646 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24650 PyObject
*swig_obj
[1] ;
24652 if (!args
) SWIG_fail
;
24653 swig_obj
[0] = args
;
24654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24658 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (bool)(arg1
)->GetDefaultMinMargins();
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24674 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24675 PyObject
*resultobj
= 0;
24676 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24680 PyObject
*swig_obj
[1] ;
24682 if (!args
) SWIG_fail
;
24683 swig_obj
[0] = args
;
24684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24685 if (!SWIG_IsOK(res1
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24688 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (bool)(arg1
)->GetEnableMargins();
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24704 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24705 PyObject
*resultobj
= 0;
24706 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24710 PyObject
*swig_obj
[1] ;
24712 if (!args
) SWIG_fail
;
24713 swig_obj
[0] = args
;
24714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24718 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= (bool)(arg1
)->GetEnableOrientation();
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24734 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24735 PyObject
*resultobj
= 0;
24736 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24740 PyObject
*swig_obj
[1] ;
24742 if (!args
) SWIG_fail
;
24743 swig_obj
[0] = args
;
24744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24745 if (!SWIG_IsOK(res1
)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24748 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (bool)(arg1
)->GetEnablePaper();
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24764 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24765 PyObject
*resultobj
= 0;
24766 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24770 PyObject
*swig_obj
[1] ;
24772 if (!args
) SWIG_fail
;
24773 swig_obj
[0] = args
;
24774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24775 if (!SWIG_IsOK(res1
)) {
24776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24778 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (bool)(arg1
)->GetEnablePrinter();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24794 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24795 PyObject
*resultobj
= 0;
24796 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24800 PyObject
*swig_obj
[1] ;
24802 if (!args
) SWIG_fail
;
24803 swig_obj
[0] = args
;
24804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24805 if (!SWIG_IsOK(res1
)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24808 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (bool)(arg1
)->GetEnableHelp();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24824 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 PyObject
*resultobj
= 0;
24826 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24830 PyObject
*swig_obj
[1] ;
24832 if (!args
) SWIG_fail
;
24833 swig_obj
[0] = args
;
24834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24838 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (bool)(arg1
)->GetDefaultInfo();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24854 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24855 PyObject
*resultobj
= 0;
24856 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24860 PyObject
*swig_obj
[1] ;
24862 if (!args
) SWIG_fail
;
24863 swig_obj
[0] = args
;
24864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24868 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 result
= (arg1
)->GetMarginTopLeft();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24882 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24883 PyObject
*resultobj
= 0;
24884 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24888 PyObject
*swig_obj
[1] ;
24890 if (!args
) SWIG_fail
;
24891 swig_obj
[0] = args
;
24892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24893 if (!SWIG_IsOK(res1
)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24896 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= (arg1
)->GetMarginBottomRight();
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24910 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24911 PyObject
*resultobj
= 0;
24912 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24916 PyObject
*swig_obj
[1] ;
24918 if (!args
) SWIG_fail
;
24919 swig_obj
[0] = args
;
24920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24924 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (arg1
)->GetMinMarginTopLeft();
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24938 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24939 PyObject
*resultobj
= 0;
24940 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24944 PyObject
*swig_obj
[1] ;
24946 if (!args
) SWIG_fail
;
24947 swig_obj
[0] = args
;
24948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24949 if (!SWIG_IsOK(res1
)) {
24950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24952 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (arg1
)->GetMinMarginBottomRight();
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24966 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24967 PyObject
*resultobj
= 0;
24968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24969 wxPaperSize result
;
24972 PyObject
*swig_obj
[1] ;
24974 if (!args
) SWIG_fail
;
24975 swig_obj
[0] = args
;
24976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24980 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_From_int(static_cast< int >(result
));
24994 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24995 PyObject
*resultobj
= 0;
24996 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25000 PyObject
*swig_obj
[1] ;
25002 if (!args
) SWIG_fail
;
25003 swig_obj
[0] = args
;
25004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25005 if (!SWIG_IsOK(res1
)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25008 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 result
= (arg1
)->GetPaperSize();
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25022 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25023 PyObject
*resultobj
= 0;
25024 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25025 wxPrintData
*result
= 0 ;
25028 PyObject
*swig_obj
[1] ;
25030 if (!args
) SWIG_fail
;
25031 swig_obj
[0] = args
;
25032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25036 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25040 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25041 result
= (wxPrintData
*) &_result_ref
;
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25053 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25054 PyObject
*resultobj
= 0;
25055 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25059 PyObject
*swig_obj
[1] ;
25061 if (!args
) SWIG_fail
;
25062 swig_obj
[0] = args
;
25063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25064 if (!SWIG_IsOK(res1
)) {
25065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25067 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (bool)(arg1
)->Ok();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25083 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(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_SetDefaultInfo",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_SetDefaultInfo" "', 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_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25107 arg2
= static_cast< bool >(val2
);
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->SetDefaultInfo(arg2
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_Py_Void();
25121 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
= 0;
25123 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 PyObject
* obj1
= 0 ;
25131 char * kwnames
[] = {
25132 (char *) "self",(char *) "flag", NULL
25135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25140 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25141 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25142 if (!SWIG_IsOK(ecode2
)) {
25143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25145 arg2
= static_cast< bool >(val2
);
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->SetDefaultMinMargins(arg2
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_Py_Void();
25159 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
= 0;
25161 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25162 wxPoint
*arg2
= 0 ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char * kwnames
[] = {
25169 (char *) "self",(char *) "pt", NULL
25172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25174 if (!SWIG_IsOK(res1
)) {
25175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25177 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_Py_Void();
25195 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25198 wxPoint
*arg2
= 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char * kwnames
[] = {
25205 (char *) "self",(char *) "pt", NULL
25208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25213 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_Py_Void();
25231 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= 0;
25233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25234 wxPoint
*arg2
= 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char * kwnames
[] = {
25241 (char *) "self",(char *) "pt", NULL
25244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25246 if (!SWIG_IsOK(res1
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25249 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_Py_Void();
25267 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
= 0;
25269 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25270 wxPoint
*arg2
= 0 ;
25274 PyObject
* obj0
= 0 ;
25275 PyObject
* obj1
= 0 ;
25276 char * kwnames
[] = {
25277 (char *) "self",(char *) "pt", NULL
25280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25285 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25288 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_Py_Void();
25303 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
= 0;
25305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 char * kwnames
[] = {
25314 (char *) "self",(char *) "id", NULL
25317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25319 if (!SWIG_IsOK(res1
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25322 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25324 if (!SWIG_IsOK(ecode2
)) {
25325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25327 arg2
= static_cast< wxPaperSize
>(val2
);
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->SetPaperId(arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= SWIG_Py_Void();
25341 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
= 0;
25343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "self",(char *) "size", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25362 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= SWIG_Py_Void();
25377 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
= 0;
25379 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25380 wxPrintData
*arg2
= 0 ;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 char * kwnames
[] = {
25388 (char *) "self",(char *) "printData", NULL
25391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25396 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25398 if (!SWIG_IsOK(res2
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25404 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 resultobj
= SWIG_Py_Void();
25418 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 PyObject
*resultobj
= 0;
25420 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25423 PyObject
*swig_obj
[1] ;
25425 if (!args
) SWIG_fail
;
25426 swig_obj
[0] = args
;
25427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25428 if (!SWIG_IsOK(res1
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 (arg1
)->CalculateIdFromPaperSize();
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= SWIG_Py_Void();
25445 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25446 PyObject
*resultobj
= 0;
25447 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25450 PyObject
*swig_obj
[1] ;
25452 if (!args
) SWIG_fail
;
25453 swig_obj
[0] = args
;
25454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25455 if (!SWIG_IsOK(res1
)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25458 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 (arg1
)->CalculatePaperSizeFromId();
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= SWIG_Py_Void();
25472 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25475 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25476 return SWIG_Py_Void();
25479 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25480 return SWIG_Python_InitShadowInstance(args
);
25483 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
= 0;
25485 wxWindow
*arg1
= (wxWindow
*) 0 ;
25486 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25487 wxPageSetupDialog
*result
= 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char * kwnames
[] = {
25495 (char *) "parent",(char *) "data", NULL
25498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25500 if (!SWIG_IsOK(res1
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25506 if (!SWIG_IsOK(res2
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25509 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25512 if (!wxPyCheckForApp()) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25525 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25530 PyObject
*swig_obj
[1] ;
25532 if (!args
) SWIG_fail
;
25533 swig_obj
[0] = args
;
25534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25538 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_Py_Void();
25553 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25556 wxPageSetupDialogData
*result
= 0 ;
25559 PyObject
*swig_obj
[1] ;
25561 if (!args
) SWIG_fail
;
25562 swig_obj
[0] = args
;
25563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25567 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25572 result
= (wxPageSetupDialogData
*) &_result_ref
;
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25584 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25585 PyObject
*resultobj
= 0;
25586 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25587 wxPageSetupDialogData
*result
= 0 ;
25590 PyObject
*swig_obj
[1] ;
25592 if (!args
) SWIG_fail
;
25593 swig_obj
[0] = args
;
25594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25595 if (!SWIG_IsOK(res1
)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25598 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25603 result
= (wxPageSetupDialogData
*) &_result_ref
;
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25615 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25616 PyObject
*resultobj
= 0;
25617 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25621 PyObject
*swig_obj
[1] ;
25623 if (!args
) SWIG_fail
;
25624 swig_obj
[0] = args
;
25625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25629 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (int)(arg1
)->ShowModal();
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= SWIG_From_int(static_cast< int >(result
));
25643 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25646 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25647 return SWIG_Py_Void();
25650 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 return SWIG_Python_InitShadowInstance(args
);
25654 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25655 PyObject
*resultobj
= 0;
25656 wxPrintDialogData
*result
= 0 ;
25658 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25672 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25673 PyObject
*resultobj
= 0;
25674 wxPrintData
*arg1
= 0 ;
25675 wxPrintDialogData
*result
= 0 ;
25679 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25681 if (!SWIG_IsOK(res1
)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25687 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25701 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25702 PyObject
*resultobj
= 0;
25703 wxPrintDialogData
*arg1
= 0 ;
25704 wxPrintDialogData
*result
= 0 ;
25708 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25716 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25730 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25734 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25737 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25742 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25743 _v
= SWIG_CheckState(res
);
25745 if (!_v
) goto check_2
;
25746 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25751 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25755 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25760 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25761 PyObject
*resultobj
= 0;
25762 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25765 PyObject
*swig_obj
[1] ;
25767 if (!args
) SWIG_fail
;
25768 swig_obj
[0] = args
;
25769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25770 if (!SWIG_IsOK(res1
)) {
25771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25773 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= SWIG_Py_Void();
25788 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25789 PyObject
*resultobj
= 0;
25790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25794 PyObject
*swig_obj
[1] ;
25796 if (!args
) SWIG_fail
;
25797 swig_obj
[0] = args
;
25798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25799 if (!SWIG_IsOK(res1
)) {
25800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25802 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= SWIG_From_int(static_cast< int >(result
));
25816 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25817 PyObject
*resultobj
= 0;
25818 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25822 PyObject
*swig_obj
[1] ;
25824 if (!args
) SWIG_fail
;
25825 swig_obj
[0] = args
;
25826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25827 if (!SWIG_IsOK(res1
)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25830 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= SWIG_From_int(static_cast< int >(result
));
25844 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25845 PyObject
*resultobj
= 0;
25846 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25850 PyObject
*swig_obj
[1] ;
25852 if (!args
) SWIG_fail
;
25853 swig_obj
[0] = args
;
25854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25855 if (!SWIG_IsOK(res1
)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25858 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_From_int(static_cast< int >(result
));
25872 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25873 PyObject
*resultobj
= 0;
25874 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25878 PyObject
*swig_obj
[1] ;
25880 if (!args
) SWIG_fail
;
25881 swig_obj
[0] = args
;
25882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25883 if (!SWIG_IsOK(res1
)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25886 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_From_int(static_cast< int >(result
));
25900 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25901 PyObject
*resultobj
= 0;
25902 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25906 PyObject
*swig_obj
[1] ;
25908 if (!args
) SWIG_fail
;
25909 swig_obj
[0] = args
;
25910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25911 if (!SWIG_IsOK(res1
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25914 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_From_int(static_cast< int >(result
));
25928 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25929 PyObject
*resultobj
= 0;
25930 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25934 PyObject
*swig_obj
[1] ;
25936 if (!args
) SWIG_fail
;
25937 swig_obj
[0] = args
;
25938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25942 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25958 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25959 PyObject
*resultobj
= 0;
25960 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25964 PyObject
*swig_obj
[1] ;
25966 if (!args
) SWIG_fail
;
25967 swig_obj
[0] = args
;
25968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25969 if (!SWIG_IsOK(res1
)) {
25970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25972 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25988 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25989 PyObject
*resultobj
= 0;
25990 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25994 PyObject
*swig_obj
[1] ;
25996 if (!args
) SWIG_fail
;
25997 swig_obj
[0] = args
;
25998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25999 if (!SWIG_IsOK(res1
)) {
26000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26002 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26018 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26019 PyObject
*resultobj
= 0;
26020 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26024 PyObject
*swig_obj
[1] ;
26026 if (!args
) SWIG_fail
;
26027 swig_obj
[0] = args
;
26028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26032 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26048 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(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_SetFromPage",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_SetFromPage" "', 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_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26072 arg2
= static_cast< int >(val2
);
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 (arg1
)->SetFromPage(arg2
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_Py_Void();
26086 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(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_SetToPage",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_SetToPage" "', 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_SetToPage" "', expected argument " "2"" of type '" "int""'");
26110 arg2
= static_cast< int >(val2
);
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 (arg1
)->SetToPage(arg2
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= SWIG_Py_Void();
26124 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(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_SetMinPage",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_SetMinPage" "', 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_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26148 arg2
= static_cast< int >(val2
);
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->SetMinPage(arg2
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(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_SetMaxPage",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_SetMaxPage" "', 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_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26186 arg2
= static_cast< int >(val2
);
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 (arg1
)->SetMaxPage(arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_Py_Void();
26200 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(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 *) "v", NULL
26214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",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_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26219 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26221 if (!SWIG_IsOK(ecode2
)) {
26222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26224 arg2
= static_cast< int >(val2
);
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->SetNoCopies(arg2
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_Py_Void();
26238 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(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_SetAllPages",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_SetAllPages" "', 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_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26262 arg2
= static_cast< bool >(val2
);
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 (arg1
)->SetAllPages(arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= SWIG_Py_Void();
26276 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(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_SetSelection",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_SetSelection" "', 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_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26300 arg2
= static_cast< bool >(val2
);
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->SetSelection(arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_Py_Void();
26314 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(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_SetCollate",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_SetCollate" "', 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_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26338 arg2
= static_cast< bool >(val2
);
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 (arg1
)->SetCollate(arg2
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= SWIG_Py_Void();
26352 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(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_SetPrintToFile",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_SetPrintToFile" "', 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_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26376 arg2
= static_cast< bool >(val2
);
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 (arg1
)->SetPrintToFile(arg2
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= SWIG_Py_Void();
26390 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(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_EnablePrintToFile",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_EnablePrintToFile" "', 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_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26414 arg2
= static_cast< bool >(val2
);
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 (arg1
)->EnablePrintToFile(arg2
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= SWIG_Py_Void();
26428 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(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_EnableSelection",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_EnableSelection" "', 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_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26452 arg2
= static_cast< bool >(val2
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 (arg1
)->EnableSelection(arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_Py_Void();
26466 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(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_EnablePageNumbers",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_EnablePageNumbers" "', 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_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26490 arg2
= static_cast< bool >(val2
);
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 (arg1
)->EnablePageNumbers(arg2
);
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_Py_Void();
26504 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= 0;
26506 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 char * kwnames
[] = {
26515 (char *) "self",(char *) "flag", NULL
26518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26520 if (!SWIG_IsOK(res1
)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26523 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26524 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26525 if (!SWIG_IsOK(ecode2
)) {
26526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26528 arg2
= static_cast< bool >(val2
);
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->EnableHelp(arg2
);
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= SWIG_Py_Void();
26542 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26543 PyObject
*resultobj
= 0;
26544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26548 PyObject
*swig_obj
[1] ;
26550 if (!args
) SWIG_fail
;
26551 swig_obj
[0] = args
;
26552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26553 if (!SWIG_IsOK(res1
)) {
26554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26556 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26572 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26573 PyObject
*resultobj
= 0;
26574 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26578 PyObject
*swig_obj
[1] ;
26580 if (!args
) SWIG_fail
;
26581 swig_obj
[0] = args
;
26582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26583 if (!SWIG_IsOK(res1
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26586 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26602 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26603 PyObject
*resultobj
= 0;
26604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26608 PyObject
*swig_obj
[1] ;
26610 if (!args
) SWIG_fail
;
26611 swig_obj
[0] = args
;
26612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26616 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26632 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26633 PyObject
*resultobj
= 0;
26634 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26638 PyObject
*swig_obj
[1] ;
26640 if (!args
) SWIG_fail
;
26641 swig_obj
[0] = args
;
26642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26646 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26662 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 PyObject
*resultobj
= 0;
26664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26668 PyObject
*swig_obj
[1] ;
26670 if (!args
) SWIG_fail
;
26671 swig_obj
[0] = args
;
26672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26676 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26692 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26693 PyObject
*resultobj
= 0;
26694 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26695 wxPrintData
*result
= 0 ;
26698 PyObject
*swig_obj
[1] ;
26700 if (!args
) SWIG_fail
;
26701 swig_obj
[0] = args
;
26702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26703 if (!SWIG_IsOK(res1
)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26706 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26711 result
= (wxPrintData
*) &_result_ref
;
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26723 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
= 0;
26725 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26726 wxPrintData
*arg2
= 0 ;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char * kwnames
[] = {
26734 (char *) "self",(char *) "printData", NULL
26737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26739 if (!SWIG_IsOK(res1
)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26742 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26744 if (!SWIG_IsOK(res2
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26750 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= SWIG_Py_Void();
26764 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26767 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26768 return SWIG_Py_Void();
26771 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26772 return SWIG_Python_InitShadowInstance(args
);
26775 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
= 0;
26777 wxWindow
*arg1
= (wxWindow
*) 0 ;
26778 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26779 wxPrintDialog
*result
= 0 ;
26784 PyObject
* obj0
= 0 ;
26785 PyObject
* obj1
= 0 ;
26786 char * kwnames
[] = {
26787 (char *) "parent",(char *) "data", NULL
26790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26792 if (!SWIG_IsOK(res1
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26798 if (!SWIG_IsOK(res2
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26801 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26804 if (!wxPyCheckForApp()) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26817 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26818 PyObject
*resultobj
= 0;
26819 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26822 PyObject
*swig_obj
[1] ;
26824 if (!args
) SWIG_fail
;
26825 swig_obj
[0] = args
;
26826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26827 if (!SWIG_IsOK(res1
)) {
26828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26830 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= SWIG_Py_Void();
26845 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26846 PyObject
*resultobj
= 0;
26847 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26851 PyObject
*swig_obj
[1] ;
26853 if (!args
) SWIG_fail
;
26854 swig_obj
[0] = args
;
26855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26856 if (!SWIG_IsOK(res1
)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26859 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (int)(arg1
)->ShowModal();
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= SWIG_From_int(static_cast< int >(result
));
26873 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26874 PyObject
*resultobj
= 0;
26875 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26876 wxPrintDialogData
*result
= 0 ;
26879 PyObject
*swig_obj
[1] ;
26881 if (!args
) SWIG_fail
;
26882 swig_obj
[0] = args
;
26883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26887 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26892 result
= (wxPrintDialogData
*) &_result_ref
;
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26904 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26905 PyObject
*resultobj
= 0;
26906 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26907 wxPrintData
*result
= 0 ;
26910 PyObject
*swig_obj
[1] ;
26912 if (!args
) SWIG_fail
;
26913 swig_obj
[0] = args
;
26914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26915 if (!SWIG_IsOK(res1
)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26918 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26923 result
= (wxPrintData
*) &_result_ref
;
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26935 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26936 PyObject
*resultobj
= 0;
26937 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26941 PyObject
*swig_obj
[1] ;
26943 if (!args
) SWIG_fail
;
26944 swig_obj
[0] = args
;
26945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26949 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 result
= (wxDC
*)(arg1
)->GetPrintDC();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26965 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26969 return SWIG_Py_Void();
26972 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26973 return SWIG_Python_InitShadowInstance(args
);
26976 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26979 wxPrinter
*result
= 0 ;
26982 PyObject
* obj0
= 0 ;
26983 char * kwnames
[] = {
26984 (char *) "data", NULL
26987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26993 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26996 if (!wxPyCheckForApp()) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 result
= (wxPrinter
*)new wxPrinter(arg1
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27009 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27010 PyObject
*resultobj
= 0;
27011 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27014 PyObject
*swig_obj
[1] ;
27016 if (!args
) SWIG_fail
;
27017 swig_obj
[0] = args
;
27018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27022 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_Py_Void();
27037 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
= 0;
27039 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27040 wxWindow
*arg2
= (wxWindow
*) 0 ;
27041 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27042 wxWindow
*result
= 0 ;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 PyObject
* obj2
= 0 ;
27052 char * kwnames
[] = {
27053 (char *) "self",(char *) "parent",(char *) "printout", NULL
27056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27061 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27063 if (!SWIG_IsOK(res2
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27066 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27067 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27068 if (!SWIG_IsOK(res3
)) {
27069 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27071 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= wxPyMake_wxObject(result
, 0);
27087 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
= 0;
27089 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27090 wxWindow
*arg2
= (wxWindow
*) 0 ;
27091 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27092 wxString
*arg4
= 0 ;
27099 bool temp4
= false ;
27100 PyObject
* obj0
= 0 ;
27101 PyObject
* obj1
= 0 ;
27102 PyObject
* obj2
= 0 ;
27103 PyObject
* obj3
= 0 ;
27104 char * kwnames
[] = {
27105 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27113 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27114 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27115 if (!SWIG_IsOK(res2
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27118 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27119 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27120 if (!SWIG_IsOK(res3
)) {
27121 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27123 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27125 arg4
= wxString_in_helper(obj3
);
27126 if (arg4
== NULL
) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_Py_Void();
27150 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
= 0;
27152 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27153 wxWindow
*arg2
= (wxWindow
*) 0 ;
27159 PyObject
* obj0
= 0 ;
27160 PyObject
* obj1
= 0 ;
27161 char * kwnames
[] = {
27162 (char *) "self",(char *) "parent", NULL
27165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27170 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27172 if (!SWIG_IsOK(res2
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27175 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (bool)(arg1
)->Setup(arg2
);
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27191 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
= 0;
27193 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27194 wxWindow
*arg2
= (wxWindow
*) 0 ;
27195 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27196 bool arg4
= (bool) true ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 PyObject
* obj2
= 0 ;
27209 PyObject
* obj3
= 0 ;
27210 char * kwnames
[] = {
27211 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27216 if (!SWIG_IsOK(res1
)) {
27217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27219 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27221 if (!SWIG_IsOK(res2
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27224 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27225 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27226 if (!SWIG_IsOK(res3
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27229 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27231 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27232 if (!SWIG_IsOK(ecode4
)) {
27233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27235 arg4
= static_cast< bool >(val4
);
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27252 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
= 0;
27254 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27255 wxWindow
*arg2
= (wxWindow
*) 0 ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 char * kwnames
[] = {
27264 (char *) "self",(char *) "parent", NULL
27267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27272 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27274 if (!SWIG_IsOK(res2
)) {
27275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27277 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27285 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27293 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27294 PyObject
*resultobj
= 0;
27295 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27296 wxPrintDialogData
*result
= 0 ;
27299 PyObject
*swig_obj
[1] ;
27301 if (!args
) SWIG_fail
;
27302 swig_obj
[0] = args
;
27303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27304 if (!SWIG_IsOK(res1
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27307 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27312 result
= (wxPrintDialogData
*) &_result_ref
;
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27324 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27338 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= (bool)(arg1
)->GetAbort();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27354 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27355 PyObject
*resultobj
= 0;
27356 wxPrinterError result
;
27358 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (wxPrinterError
)wxPrinter::GetLastError();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_From_int(static_cast< int >(result
));
27372 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27375 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27376 return SWIG_Py_Void();
27379 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27380 return SWIG_Python_InitShadowInstance(args
);
27383 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
= 0;
27385 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27386 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27387 wxPyPrintout
*result
= 0 ;
27388 bool temp1
= false ;
27389 PyObject
* obj0
= 0 ;
27390 char * kwnames
[] = {
27391 (char *) "title", NULL
27394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27397 arg1
= wxString_in_helper(obj0
);
27398 if (arg1
== NULL
) SWIG_fail
;
27403 if (!wxPyCheckForApp()) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27424 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 PyObject
*resultobj
= 0;
27426 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27429 PyObject
*swig_obj
[1] ;
27431 if (!args
) SWIG_fail
;
27432 swig_obj
[0] = args
;
27433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27434 if (!SWIG_IsOK(res1
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27437 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_Py_Void();
27452 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
= 0;
27454 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27455 PyObject
*arg2
= (PyObject
*) 0 ;
27456 PyObject
*arg3
= (PyObject
*) 0 ;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 PyObject
* obj2
= 0 ;
27462 char * kwnames
[] = {
27463 (char *) "self",(char *) "self",(char *) "_class", NULL
27466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27471 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_Py_Void();
27487 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 PyObject
*resultobj
= 0;
27489 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27493 PyObject
*swig_obj
[1] ;
27495 if (!args
) SWIG_fail
;
27496 swig_obj
[0] = args
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27501 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27521 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27522 PyObject
*resultobj
= 0;
27523 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27527 PyObject
*swig_obj
[1] ;
27529 if (!args
) SWIG_fail
;
27530 swig_obj
[0] = args
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27535 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (wxDC
*)(arg1
)->GetDC();
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27551 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= 0;
27553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27554 wxDC
*arg2
= (wxDC
*) 0 ;
27559 PyObject
* obj0
= 0 ;
27560 PyObject
* obj1
= 0 ;
27561 char * kwnames
[] = {
27562 (char *) "self",(char *) "dc", NULL
27565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27567 if (!SWIG_IsOK(res1
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27570 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27572 if (!SWIG_IsOK(res2
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27575 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 (arg1
)->SetDC(arg2
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_Py_Void();
27589 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
= 0;
27591 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27600 PyObject
* obj0
= 0 ;
27601 PyObject
* obj1
= 0 ;
27602 PyObject
* obj2
= 0 ;
27603 char * kwnames
[] = {
27604 (char *) "self",(char *) "w",(char *) "h", NULL
27607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27612 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27614 if (!SWIG_IsOK(ecode2
)) {
27615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27617 arg2
= static_cast< int >(val2
);
27618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27619 if (!SWIG_IsOK(ecode3
)) {
27620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27622 arg3
= static_cast< int >(val3
);
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_Py_Void();
27636 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27637 PyObject
*resultobj
= 0;
27638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27639 int *arg2
= (int *) 0 ;
27640 int *arg3
= (int *) 0 ;
27644 int res2
= SWIG_TMPOBJ
;
27646 int res3
= SWIG_TMPOBJ
;
27647 PyObject
*swig_obj
[1] ;
27651 if (!args
) SWIG_fail
;
27652 swig_obj
[0] = args
;
27653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27654 if (!SWIG_IsOK(res1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27657 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_Py_Void();
27665 if (SWIG_IsTmpObj(res2
)) {
27666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27671 if (SWIG_IsTmpObj(res3
)) {
27672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27683 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
= 0;
27685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27694 PyObject
* obj0
= 0 ;
27695 PyObject
* obj1
= 0 ;
27696 PyObject
* obj2
= 0 ;
27697 char * kwnames
[] = {
27698 (char *) "self",(char *) "w",(char *) "h", NULL
27701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27703 if (!SWIG_IsOK(res1
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27706 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27708 if (!SWIG_IsOK(ecode2
)) {
27709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27711 arg2
= static_cast< int >(val2
);
27712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27713 if (!SWIG_IsOK(ecode3
)) {
27714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27716 arg3
= static_cast< int >(val3
);
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_Py_Void();
27730 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27731 PyObject
*resultobj
= 0;
27732 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27733 int *arg2
= (int *) 0 ;
27734 int *arg3
= (int *) 0 ;
27738 int res2
= SWIG_TMPOBJ
;
27740 int res3
= SWIG_TMPOBJ
;
27741 PyObject
*swig_obj
[1] ;
27745 if (!args
) SWIG_fail
;
27746 swig_obj
[0] = args
;
27747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27748 if (!SWIG_IsOK(res1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27751 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27758 resultobj
= SWIG_Py_Void();
27759 if (SWIG_IsTmpObj(res2
)) {
27760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27762 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27765 if (SWIG_IsTmpObj(res3
)) {
27766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27768 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27777 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
= 0;
27779 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 PyObject
* obj2
= 0 ;
27791 char * kwnames
[] = {
27792 (char *) "self",(char *) "x",(char *) "y", NULL
27795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27797 if (!SWIG_IsOK(res1
)) {
27798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27800 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27802 if (!SWIG_IsOK(ecode2
)) {
27803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27805 arg2
= static_cast< int >(val2
);
27806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27807 if (!SWIG_IsOK(ecode3
)) {
27808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27810 arg3
= static_cast< int >(val3
);
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 (arg1
)->SetPPIScreen(arg2
,arg3
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= SWIG_Py_Void();
27824 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27825 PyObject
*resultobj
= 0;
27826 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27827 int *arg2
= (int *) 0 ;
27828 int *arg3
= (int *) 0 ;
27832 int res2
= SWIG_TMPOBJ
;
27834 int res3
= SWIG_TMPOBJ
;
27835 PyObject
*swig_obj
[1] ;
27839 if (!args
) SWIG_fail
;
27840 swig_obj
[0] = args
;
27841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27842 if (!SWIG_IsOK(res1
)) {
27843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27845 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 (arg1
)->GetPPIScreen(arg2
,arg3
);
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 resultobj
= SWIG_Py_Void();
27853 if (SWIG_IsTmpObj(res2
)) {
27854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27856 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27859 if (SWIG_IsTmpObj(res3
)) {
27860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27862 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27871 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
= 0;
27873 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 PyObject
* obj2
= 0 ;
27885 char * kwnames
[] = {
27886 (char *) "self",(char *) "x",(char *) "y", NULL
27889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27894 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27896 if (!SWIG_IsOK(ecode2
)) {
27897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27899 arg2
= static_cast< int >(val2
);
27900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27901 if (!SWIG_IsOK(ecode3
)) {
27902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27904 arg3
= static_cast< int >(val3
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_Py_Void();
27918 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27919 PyObject
*resultobj
= 0;
27920 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27921 int *arg2
= (int *) 0 ;
27922 int *arg3
= (int *) 0 ;
27926 int res2
= SWIG_TMPOBJ
;
27928 int res3
= SWIG_TMPOBJ
;
27929 PyObject
*swig_obj
[1] ;
27933 if (!args
) SWIG_fail
;
27934 swig_obj
[0] = args
;
27935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27936 if (!SWIG_IsOK(res1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27939 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_Py_Void();
27947 if (SWIG_IsTmpObj(res2
)) {
27948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27950 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27953 if (SWIG_IsTmpObj(res3
)) {
27954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27956 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27965 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27979 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (bool)(arg1
)->IsPreview();
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27995 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
= 0;
27997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28003 PyObject
* obj0
= 0 ;
28004 PyObject
* obj1
= 0 ;
28005 char * kwnames
[] = {
28006 (char *) "self",(char *) "p", NULL
28009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28011 if (!SWIG_IsOK(res1
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28014 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28015 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28016 if (!SWIG_IsOK(ecode2
)) {
28017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28019 arg2
= static_cast< bool >(val2
);
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 (arg1
)->SetIsPreview(arg2
);
28023 wxPyEndAllowThreads(__tstate
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= SWIG_Py_Void();
28033 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
= 0;
28035 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 PyObject
* obj2
= 0 ;
28048 char * kwnames
[] = {
28049 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28057 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28059 if (!SWIG_IsOK(ecode2
)) {
28060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28062 arg2
= static_cast< int >(val2
);
28063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28064 if (!SWIG_IsOK(ecode3
)) {
28065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28067 arg3
= static_cast< int >(val3
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28083 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28084 PyObject
*resultobj
= 0;
28085 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28088 PyObject
*swig_obj
[1] ;
28090 if (!args
) SWIG_fail
;
28091 swig_obj
[0] = args
;
28092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28093 if (!SWIG_IsOK(res1
)) {
28094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28096 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 (arg1
)->OnEndDocument();
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 resultobj
= SWIG_Py_Void();
28110 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28111 PyObject
*resultobj
= 0;
28112 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28115 PyObject
*swig_obj
[1] ;
28117 if (!args
) SWIG_fail
;
28118 swig_obj
[0] = args
;
28119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28123 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 (arg1
)->OnBeginPrinting();
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= SWIG_Py_Void();
28137 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28138 PyObject
*resultobj
= 0;
28139 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28142 PyObject
*swig_obj
[1] ;
28144 if (!args
) SWIG_fail
;
28145 swig_obj
[0] = args
;
28146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28147 if (!SWIG_IsOK(res1
)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28150 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 (arg1
)->OnEndPrinting();
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_Py_Void();
28164 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 PyObject
*resultobj
= 0;
28166 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28169 PyObject
*swig_obj
[1] ;
28171 if (!args
) SWIG_fail
;
28172 swig_obj
[0] = args
;
28173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28174 if (!SWIG_IsOK(res1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28177 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 (arg1
)->OnPreparePrinting();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_Py_Void();
28191 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
= 0;
28193 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28200 PyObject
* obj0
= 0 ;
28201 PyObject
* obj1
= 0 ;
28202 char * kwnames
[] = {
28203 (char *) "self",(char *) "page", NULL
28206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28208 if (!SWIG_IsOK(res1
)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28211 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28213 if (!SWIG_IsOK(ecode2
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28216 arg2
= static_cast< int >(val2
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (bool)(arg1
)->HasPage(arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28232 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28233 PyObject
*resultobj
= 0;
28234 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28235 int *arg2
= (int *) 0 ;
28236 int *arg3
= (int *) 0 ;
28237 int *arg4
= (int *) 0 ;
28238 int *arg5
= (int *) 0 ;
28242 int res2
= SWIG_TMPOBJ
;
28244 int res3
= SWIG_TMPOBJ
;
28246 int res4
= SWIG_TMPOBJ
;
28248 int res5
= SWIG_TMPOBJ
;
28249 PyObject
*swig_obj
[1] ;
28255 if (!args
) SWIG_fail
;
28256 swig_obj
[0] = args
;
28257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28258 if (!SWIG_IsOK(res1
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28261 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= SWIG_Py_Void();
28269 if (SWIG_IsTmpObj(res2
)) {
28270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28272 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28275 if (SWIG_IsTmpObj(res3
)) {
28276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28278 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28281 if (SWIG_IsTmpObj(res4
)) {
28282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28284 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28287 if (SWIG_IsTmpObj(res5
)) {
28288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28290 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28299 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28302 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28303 return SWIG_Py_Void();
28306 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 return SWIG_Python_InitShadowInstance(args
);
28310 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
= 0;
28312 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28313 wxWindow
*arg2
= (wxWindow
*) 0 ;
28314 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28315 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28316 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28317 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28318 long arg5
= (long) 0 ;
28319 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28320 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28321 wxPreviewCanvas
*result
= 0 ;
28330 bool temp6
= false ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 PyObject
* obj2
= 0 ;
28334 PyObject
* obj3
= 0 ;
28335 PyObject
* obj4
= 0 ;
28336 PyObject
* obj5
= 0 ;
28337 char * kwnames
[] = {
28338 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28343 if (!SWIG_IsOK(res1
)) {
28344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28346 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28348 if (!SWIG_IsOK(res2
)) {
28349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28365 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28366 if (!SWIG_IsOK(ecode5
)) {
28367 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28369 arg5
= static_cast< long >(val5
);
28373 arg6
= wxString_in_helper(obj5
);
28374 if (arg6
== NULL
) SWIG_fail
;
28379 if (!wxPyCheckForApp()) SWIG_fail
;
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28400 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28403 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28404 return SWIG_Py_Void();
28407 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28408 return SWIG_Python_InitShadowInstance(args
);
28411 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
= 0;
28413 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28414 wxFrame
*arg2
= (wxFrame
*) 0 ;
28415 wxString
*arg3
= 0 ;
28416 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28417 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28418 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28419 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28420 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28421 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28422 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28423 wxPreviewFrame
*result
= 0 ;
28427 bool temp3
= false ;
28432 bool temp7
= false ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 PyObject
* obj2
= 0 ;
28436 PyObject
* obj3
= 0 ;
28437 PyObject
* obj4
= 0 ;
28438 PyObject
* obj5
= 0 ;
28439 PyObject
* obj6
= 0 ;
28440 char * kwnames
[] = {
28441 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28445 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28446 if (!SWIG_IsOK(res1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28450 if (!SWIG_IsOK(res2
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28453 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28455 arg3
= wxString_in_helper(obj2
);
28456 if (arg3
== NULL
) SWIG_fail
;
28462 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28468 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28472 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28473 if (!SWIG_IsOK(ecode6
)) {
28474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28476 arg6
= static_cast< long >(val6
);
28480 arg7
= wxString_in_helper(obj6
);
28481 if (arg7
== NULL
) SWIG_fail
;
28486 if (!wxPyCheckForApp()) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28515 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28516 PyObject
*resultobj
= 0;
28517 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28520 PyObject
*swig_obj
[1] ;
28522 if (!args
) SWIG_fail
;
28523 swig_obj
[0] = args
;
28524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28528 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 (arg1
)->Initialize();
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_Py_Void();
28542 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28543 PyObject
*resultobj
= 0;
28544 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28547 PyObject
*swig_obj
[1] ;
28549 if (!args
) SWIG_fail
;
28550 swig_obj
[0] = args
;
28551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28555 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 (arg1
)->CreateControlBar();
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 resultobj
= SWIG_Py_Void();
28569 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28570 PyObject
*resultobj
= 0;
28571 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28574 PyObject
*swig_obj
[1] ;
28576 if (!args
) SWIG_fail
;
28577 swig_obj
[0] = args
;
28578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28579 if (!SWIG_IsOK(res1
)) {
28580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28582 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 (arg1
)->CreateCanvas();
28586 wxPyEndAllowThreads(__tstate
);
28587 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= SWIG_Py_Void();
28596 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28597 PyObject
*resultobj
= 0;
28598 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28599 wxPreviewControlBar
*result
= 0 ;
28602 PyObject
*swig_obj
[1] ;
28604 if (!args
) SWIG_fail
;
28605 swig_obj
[0] = args
;
28606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28607 if (!SWIG_IsOK(res1
)) {
28608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28610 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28624 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28627 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28628 return SWIG_Py_Void();
28631 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28632 return SWIG_Python_InitShadowInstance(args
);
28635 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28636 PyObject
*resultobj
= 0;
28637 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28639 wxWindow
*arg3
= (wxWindow
*) 0 ;
28640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28644 long arg6
= (long) wxTAB_TRAVERSAL
;
28645 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28646 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28647 wxPreviewControlBar
*result
= 0 ;
28658 bool temp7
= false ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 PyObject
* obj2
= 0 ;
28662 PyObject
* obj3
= 0 ;
28663 PyObject
* obj4
= 0 ;
28664 PyObject
* obj5
= 0 ;
28665 PyObject
* obj6
= 0 ;
28666 char * kwnames
[] = {
28667 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28672 if (!SWIG_IsOK(res1
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28675 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28676 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28677 if (!SWIG_IsOK(ecode2
)) {
28678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28680 arg2
= static_cast< long >(val2
);
28681 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28682 if (!SWIG_IsOK(res3
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28685 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28699 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28700 if (!SWIG_IsOK(ecode6
)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28703 arg6
= static_cast< long >(val6
);
28707 arg7
= wxString_in_helper(obj6
);
28708 if (arg7
== NULL
) SWIG_fail
;
28713 if (!wxPyCheckForApp()) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28734 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28735 PyObject
*resultobj
= 0;
28736 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28740 PyObject
*swig_obj
[1] ;
28742 if (!args
) SWIG_fail
;
28743 swig_obj
[0] = args
;
28744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28748 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= (int)(arg1
)->GetZoomControl();
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_From_int(static_cast< int >(result
));
28762 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
= 0;
28764 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28770 PyObject
* obj0
= 0 ;
28771 PyObject
* obj1
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "zoom", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28781 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28783 if (!SWIG_IsOK(ecode2
)) {
28784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28786 arg2
= static_cast< int >(val2
);
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 (arg1
)->SetZoomControl(arg2
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= SWIG_Py_Void();
28800 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28801 PyObject
*resultobj
= 0;
28802 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28803 wxPrintPreview
*result
= 0 ;
28806 PyObject
*swig_obj
[1] ;
28808 if (!args
) SWIG_fail
;
28809 swig_obj
[0] = args
;
28810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28814 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28828 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28829 PyObject
*resultobj
= 0;
28830 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28833 PyObject
*swig_obj
[1] ;
28835 if (!args
) SWIG_fail
;
28836 swig_obj
[0] = args
;
28837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28841 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= SWIG_Py_Void();
28855 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28856 PyObject
*resultobj
= 0;
28857 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28860 PyObject
*swig_obj
[1] ;
28862 if (!args
) SWIG_fail
;
28863 swig_obj
[0] = args
;
28864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28865 if (!SWIG_IsOK(res1
)) {
28866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28868 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 (arg1
)->OnPrevious();
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= SWIG_Py_Void();
28882 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28883 PyObject
*resultobj
= 0;
28884 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28887 PyObject
*swig_obj
[1] ;
28889 if (!args
) SWIG_fail
;
28890 swig_obj
[0] = args
;
28891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28895 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_Py_Void();
28909 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28910 PyObject
*resultobj
= 0;
28911 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28914 PyObject
*swig_obj
[1] ;
28916 if (!args
) SWIG_fail
;
28917 swig_obj
[0] = args
;
28918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28919 if (!SWIG_IsOK(res1
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28922 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= SWIG_Py_Void();
28936 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28937 PyObject
*resultobj
= 0;
28938 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28941 PyObject
*swig_obj
[1] ;
28943 if (!args
) SWIG_fail
;
28944 swig_obj
[0] = args
;
28945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28946 if (!SWIG_IsOK(res1
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28949 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_Py_Void();
28963 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28966 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28967 return SWIG_Py_Void();
28970 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28971 return SWIG_Python_InitShadowInstance(args
);
28974 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28975 PyObject
*resultobj
= 0;
28976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28977 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28978 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28979 wxPrintPreview
*result
= 0 ;
28985 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28986 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28987 if (!SWIG_IsOK(res1
)) {
28988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28990 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28991 if (!SWIG_IsOK(res2
)) {
28992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28995 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28996 if (!SWIG_IsOK(res3
)) {
28997 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28999 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29002 if (!wxPyCheckForApp()) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29015 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29016 PyObject
*resultobj
= 0;
29017 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29018 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29019 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29020 wxPrintPreview
*result
= 0 ;
29026 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29027 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29028 if (!SWIG_IsOK(res1
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29031 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29032 if (!SWIG_IsOK(res2
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29035 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29036 if (!SWIG_IsOK(res3
)) {
29037 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29039 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29041 if (!wxPyCheckForApp()) SWIG_fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29054 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29058 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29060 if ((argc
>= 2) && (argc
<= 3)) {
29065 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29066 _v
= SWIG_CheckState(res
);
29068 if (!_v
) goto check_1
;
29070 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29075 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29079 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29084 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29085 PyObject
*resultobj
= 0;
29086 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29089 PyObject
*swig_obj
[1] ;
29091 if (!args
) SWIG_fail
;
29092 swig_obj
[0] = args
;
29093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29097 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= SWIG_Py_Void();
29112 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
= 0;
29114 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char * kwnames
[] = {
29124 (char *) "self",(char *) "pageNum", NULL
29127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29129 if (!SWIG_IsOK(res1
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29132 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29134 if (!SWIG_IsOK(ecode2
)) {
29135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29137 arg2
= static_cast< int >(val2
);
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29153 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29154 PyObject
*resultobj
= 0;
29155 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29159 PyObject
*swig_obj
[1] ;
29161 if (!args
) SWIG_fail
;
29162 swig_obj
[0] = args
;
29163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29167 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= (int)(arg1
)->GetCurrentPage();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_From_int(static_cast< int >(result
));
29181 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
= 0;
29183 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29184 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29188 PyObject
* obj0
= 0 ;
29189 PyObject
* obj1
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "printout", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29199 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29200 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29201 if (!SWIG_IsOK(res2
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 (arg1
)->SetPrintout(arg2
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_Py_Void();
29217 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29218 PyObject
*resultobj
= 0;
29219 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29220 wxPyPrintout
*result
= 0 ;
29223 PyObject
*swig_obj
[1] ;
29225 if (!args
) SWIG_fail
;
29226 swig_obj
[0] = args
;
29227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29228 if (!SWIG_IsOK(res1
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29231 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= wxPyMake_wxObject(result
, 0);
29247 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29248 PyObject
*resultobj
= 0;
29249 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29250 wxPyPrintout
*result
= 0 ;
29253 PyObject
*swig_obj
[1] ;
29255 if (!args
) SWIG_fail
;
29256 swig_obj
[0] = args
;
29257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29258 if (!SWIG_IsOK(res1
)) {
29259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29261 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29264 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= wxPyMake_wxObject(result
, 0);
29277 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= 0;
29279 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29280 wxFrame
*arg2
= (wxFrame
*) 0 ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char * kwnames
[] = {
29288 (char *) "self",(char *) "frame", NULL
29291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",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_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29296 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29298 if (!SWIG_IsOK(res2
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29301 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 (arg1
)->SetFrame(arg2
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_Py_Void();
29315 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29318 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 char * kwnames
[] = {
29326 (char *) "self",(char *) "canvas", NULL
29329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29331 if (!SWIG_IsOK(res1
)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29334 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29336 if (!SWIG_IsOK(res2
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29339 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 (arg1
)->SetCanvas(arg2
);
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= SWIG_Py_Void();
29353 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29354 PyObject
*resultobj
= 0;
29355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29356 wxFrame
*result
= 0 ;
29359 PyObject
*swig_obj
[1] ;
29361 if (!args
) SWIG_fail
;
29362 swig_obj
[0] = args
;
29363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29364 if (!SWIG_IsOK(res1
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29367 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= (wxFrame
*)(arg1
)->GetFrame();
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= wxPyMake_wxObject(result
, 0);
29383 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29384 PyObject
*resultobj
= 0;
29385 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29386 wxPreviewCanvas
*result
= 0 ;
29389 PyObject
*swig_obj
[1] ;
29391 if (!args
) SWIG_fail
;
29392 swig_obj
[0] = args
;
29393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29394 if (!SWIG_IsOK(res1
)) {
29395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29397 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29411 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
= 0;
29413 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29414 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29423 PyObject
* obj0
= 0 ;
29424 PyObject
* obj1
= 0 ;
29425 PyObject
* obj2
= 0 ;
29426 char * kwnames
[] = {
29427 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29432 if (!SWIG_IsOK(res1
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29435 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29437 if (!SWIG_IsOK(res2
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29440 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29442 if (!SWIG_IsOK(res3
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29448 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29464 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
= 0;
29466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29467 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29476 PyObject
* obj0
= 0 ;
29477 PyObject
* obj1
= 0 ;
29478 PyObject
* obj2
= 0 ;
29479 char * kwnames
[] = {
29480 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29485 if (!SWIG_IsOK(res1
)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29488 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29490 if (!SWIG_IsOK(res2
)) {
29491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29493 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29494 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29495 if (!SWIG_IsOK(res3
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29501 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29505 wxPyEndAllowThreads(__tstate
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29517 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
= 0;
29519 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29526 PyObject
* obj0
= 0 ;
29527 PyObject
* obj1
= 0 ;
29528 char * kwnames
[] = {
29529 (char *) "self",(char *) "pageNum", NULL
29532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29537 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29539 if (!SWIG_IsOK(ecode2
)) {
29540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29542 arg2
= static_cast< int >(val2
);
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (bool)(arg1
)->RenderPage(arg2
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29558 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
= 0;
29560 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29561 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29566 PyObject
* obj0
= 0 ;
29567 PyObject
* obj1
= 0 ;
29568 char * kwnames
[] = {
29569 (char *) "self",(char *) "canvas", NULL
29572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29574 if (!SWIG_IsOK(res1
)) {
29575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29577 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29579 if (!SWIG_IsOK(res2
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29582 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29585 (arg1
)->AdjustScrollbars(arg2
);
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= SWIG_Py_Void();
29596 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29597 PyObject
*resultobj
= 0;
29598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29599 wxPrintDialogData
*result
= 0 ;
29602 PyObject
*swig_obj
[1] ;
29604 if (!args
) SWIG_fail
;
29605 swig_obj
[0] = args
;
29606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29607 if (!SWIG_IsOK(res1
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29610 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29615 result
= (wxPrintDialogData
*) &_result_ref
;
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29627 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
= 0;
29629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29635 PyObject
* obj0
= 0 ;
29636 PyObject
* obj1
= 0 ;
29637 char * kwnames
[] = {
29638 (char *) "self",(char *) "percent", NULL
29641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29643 if (!SWIG_IsOK(res1
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29646 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29648 if (!SWIG_IsOK(ecode2
)) {
29649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29651 arg2
= static_cast< int >(val2
);
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 (arg1
)->SetZoom(arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= SWIG_Py_Void();
29665 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29666 PyObject
*resultobj
= 0;
29667 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29671 PyObject
*swig_obj
[1] ;
29673 if (!args
) SWIG_fail
;
29674 swig_obj
[0] = args
;
29675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29679 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 result
= (int)(arg1
)->GetZoom();
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_From_int(static_cast< int >(result
));
29693 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29694 PyObject
*resultobj
= 0;
29695 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29699 PyObject
*swig_obj
[1] ;
29701 if (!args
) SWIG_fail
;
29702 swig_obj
[0] = args
;
29703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29707 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (int)(arg1
)->GetMaxPage();
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= SWIG_From_int(static_cast< int >(result
));
29721 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29722 PyObject
*resultobj
= 0;
29723 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29727 PyObject
*swig_obj
[1] ;
29729 if (!args
) SWIG_fail
;
29730 swig_obj
[0] = args
;
29731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29735 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (int)(arg1
)->GetMinPage();
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= SWIG_From_int(static_cast< int >(result
));
29749 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29750 PyObject
*resultobj
= 0;
29751 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29755 PyObject
*swig_obj
[1] ;
29757 if (!args
) SWIG_fail
;
29758 swig_obj
[0] = args
;
29759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29760 if (!SWIG_IsOK(res1
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29763 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 result
= (bool)(arg1
)->Ok();
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29779 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= 0;
29781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 char * kwnames
[] = {
29790 (char *) "self",(char *) "ok", NULL
29793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29795 if (!SWIG_IsOK(res1
)) {
29796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29798 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29799 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29800 if (!SWIG_IsOK(ecode2
)) {
29801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29803 arg2
= static_cast< bool >(val2
);
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 (arg1
)->SetOk(arg2
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 resultobj
= SWIG_Py_Void();
29817 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
= 0;
29819 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29826 PyObject
* obj0
= 0 ;
29827 PyObject
* obj1
= 0 ;
29828 char * kwnames
[] = {
29829 (char *) "self",(char *) "interactive", NULL
29832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29834 if (!SWIG_IsOK(res1
)) {
29835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29837 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29838 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29839 if (!SWIG_IsOK(ecode2
)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29842 arg2
= static_cast< bool >(val2
);
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (bool)(arg1
)->Print(arg2
);
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29858 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29859 PyObject
*resultobj
= 0;
29860 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29863 PyObject
*swig_obj
[1] ;
29865 if (!args
) SWIG_fail
;
29866 swig_obj
[0] = args
;
29867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29871 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 (arg1
)->DetermineScaling();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= SWIG_Py_Void();
29885 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29888 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29889 return SWIG_Py_Void();
29892 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29893 return SWIG_Python_InitShadowInstance(args
);
29896 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29897 PyObject
*resultobj
= 0;
29898 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29899 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29900 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29901 wxPyPrintPreview
*result
= 0 ;
29907 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29908 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29909 if (!SWIG_IsOK(res1
)) {
29910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29912 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29913 if (!SWIG_IsOK(res2
)) {
29914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29917 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29918 if (!SWIG_IsOK(res3
)) {
29919 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29921 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29924 if (!wxPyCheckForApp()) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29937 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29938 PyObject
*resultobj
= 0;
29939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29940 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29941 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29942 wxPyPrintPreview
*result
= 0 ;
29948 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29949 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29953 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29954 if (!SWIG_IsOK(res2
)) {
29955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29957 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29958 if (!SWIG_IsOK(res3
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29961 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29963 if (!wxPyCheckForApp()) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29976 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29980 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29982 if ((argc
>= 2) && (argc
<= 3)) {
29987 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29988 _v
= SWIG_CheckState(res
);
29990 if (!_v
) goto check_1
;
29992 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29997 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30001 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30006 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30009 PyObject
*arg2
= (PyObject
*) 0 ;
30010 PyObject
*arg3
= (PyObject
*) 0 ;
30013 PyObject
* obj0
= 0 ;
30014 PyObject
* obj1
= 0 ;
30015 PyObject
* obj2
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "self",(char *) "self",(char *) "_class", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30025 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= SWIG_Py_Void();
30041 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30045 return SWIG_Py_Void();
30048 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30049 return SWIG_Python_InitShadowInstance(args
);
30052 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
= 0;
30054 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30055 wxFrame
*arg2
= (wxFrame
*) 0 ;
30056 wxString
*arg3
= 0 ;
30057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30061 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30062 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30064 wxPyPreviewFrame
*result
= 0 ;
30069 bool temp3
= false ;
30074 bool temp7
= false ;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 PyObject
* obj2
= 0 ;
30078 PyObject
* obj3
= 0 ;
30079 PyObject
* obj4
= 0 ;
30080 PyObject
* obj5
= 0 ;
30081 PyObject
* obj6
= 0 ;
30082 char * kwnames
[] = {
30083 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30091 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30093 if (!SWIG_IsOK(res2
)) {
30094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30096 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30098 arg3
= wxString_in_helper(obj2
);
30099 if (arg3
== NULL
) SWIG_fail
;
30105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30115 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30116 if (!SWIG_IsOK(ecode6
)) {
30117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30119 arg6
= static_cast< long >(val6
);
30123 arg7
= wxString_in_helper(obj6
);
30124 if (arg7
== NULL
) SWIG_fail
;
30129 if (!wxPyCheckForApp()) SWIG_fail
;
30130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30158 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
= 0;
30160 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30161 PyObject
*arg2
= (PyObject
*) 0 ;
30162 PyObject
*arg3
= (PyObject
*) 0 ;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 PyObject
* obj2
= 0 ;
30168 char * kwnames
[] = {
30169 (char *) "self",(char *) "self",(char *) "_class", NULL
30172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30174 if (!SWIG_IsOK(res1
)) {
30175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30177 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= SWIG_Py_Void();
30193 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
= 0;
30195 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30196 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char * kwnames
[] = {
30204 (char *) "self",(char *) "canvas", NULL
30207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",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_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30212 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30214 if (!SWIG_IsOK(res2
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30217 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 (arg1
)->SetPreviewCanvas(arg2
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30224 resultobj
= SWIG_Py_Void();
30231 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
= 0;
30233 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30234 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 char * kwnames
[] = {
30242 (char *) "self",(char *) "bar", NULL
30245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30247 if (!SWIG_IsOK(res1
)) {
30248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30250 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30252 if (!SWIG_IsOK(res2
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30255 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->SetControlBar(arg2
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_Py_Void();
30269 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30270 PyObject
*resultobj
= 0;
30271 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30274 PyObject
*swig_obj
[1] ;
30276 if (!args
) SWIG_fail
;
30277 swig_obj
[0] = args
;
30278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30279 if (!SWIG_IsOK(res1
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30282 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 (arg1
)->Initialize();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= SWIG_Py_Void();
30296 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30297 PyObject
*resultobj
= 0;
30298 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30301 PyObject
*swig_obj
[1] ;
30303 if (!args
) SWIG_fail
;
30304 swig_obj
[0] = args
;
30305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30306 if (!SWIG_IsOK(res1
)) {
30307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30309 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 (arg1
)->CreateCanvas();
30313 wxPyEndAllowThreads(__tstate
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= SWIG_Py_Void();
30323 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30324 PyObject
*resultobj
= 0;
30325 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30328 PyObject
*swig_obj
[1] ;
30330 if (!args
) SWIG_fail
;
30331 swig_obj
[0] = args
;
30332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30333 if (!SWIG_IsOK(res1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30336 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 (arg1
)->CreateControlBar();
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= SWIG_Py_Void();
30350 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30353 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30354 return SWIG_Py_Void();
30357 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30358 return SWIG_Python_InitShadowInstance(args
);
30361 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30362 PyObject
*resultobj
= 0;
30363 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30365 wxWindow
*arg3
= (wxWindow
*) 0 ;
30366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30370 long arg6
= (long) 0 ;
30371 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30373 wxPyPreviewControlBar
*result
= 0 ;
30384 bool temp7
= false ;
30385 PyObject
* obj0
= 0 ;
30386 PyObject
* obj1
= 0 ;
30387 PyObject
* obj2
= 0 ;
30388 PyObject
* obj3
= 0 ;
30389 PyObject
* obj4
= 0 ;
30390 PyObject
* obj5
= 0 ;
30391 PyObject
* obj6
= 0 ;
30392 char * kwnames
[] = {
30393 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30398 if (!SWIG_IsOK(res1
)) {
30399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30401 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30402 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30403 if (!SWIG_IsOK(ecode2
)) {
30404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30406 arg2
= static_cast< long >(val2
);
30407 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30408 if (!SWIG_IsOK(res3
)) {
30409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30411 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30425 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30426 if (!SWIG_IsOK(ecode6
)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30429 arg6
= static_cast< long >(val6
);
30433 arg7
= wxString_in_helper(obj6
);
30434 if (arg7
== NULL
) SWIG_fail
;
30439 if (!wxPyCheckForApp()) SWIG_fail
;
30440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30441 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30460 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
= 0;
30462 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30463 PyObject
*arg2
= (PyObject
*) 0 ;
30464 PyObject
*arg3
= (PyObject
*) 0 ;
30467 PyObject
* obj0
= 0 ;
30468 PyObject
* obj1
= 0 ;
30469 PyObject
* obj2
= 0 ;
30470 char * kwnames
[] = {
30471 (char *) "self",(char *) "self",(char *) "_class", NULL
30474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30476 if (!SWIG_IsOK(res1
)) {
30477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30479 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= SWIG_Py_Void();
30495 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
= 0;
30497 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30498 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 char * kwnames
[] = {
30506 (char *) "self",(char *) "preview", NULL
30509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30514 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30516 if (!SWIG_IsOK(res2
)) {
30517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30519 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30522 (arg1
)->SetPrintPreview(arg2
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= SWIG_Py_Void();
30533 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30534 PyObject
*resultobj
= 0;
30535 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30538 PyObject
*swig_obj
[1] ;
30540 if (!args
) SWIG_fail
;
30541 swig_obj
[0] = args
;
30542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30543 if (!SWIG_IsOK(res1
)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30546 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 (arg1
)->CreateButtons();
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_Py_Void();
30560 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
= 0;
30562 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30568 PyObject
* obj0
= 0 ;
30569 PyObject
* obj1
= 0 ;
30570 char * kwnames
[] = {
30571 (char *) "self",(char *) "zoom", NULL
30574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30576 if (!SWIG_IsOK(res1
)) {
30577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30579 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30581 if (!SWIG_IsOK(ecode2
)) {
30582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30584 arg2
= static_cast< int >(val2
);
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 (arg1
)->SetZoomControl(arg2
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 resultobj
= SWIG_Py_Void();
30598 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30601 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30602 return SWIG_Py_Void();
30605 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30606 return SWIG_Python_InitShadowInstance(args
);
30609 static PyMethodDef SwigMethods
[] = {
30610 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30612 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30614 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30616 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30617 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30619 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30626 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30628 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30630 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30631 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30632 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30633 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30634 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30637 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30640 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30641 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30643 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30645 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30646 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30647 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30648 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30652 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30654 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30657 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30659 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30661 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30663 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30665 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30667 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30670 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30677 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30679 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30680 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30684 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30685 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30687 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30690 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30692 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30694 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30698 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30699 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30702 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30703 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30705 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30707 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30708 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30711 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30712 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30713 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30715 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30716 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30717 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30718 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30719 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30721 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30724 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30733 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30734 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30736 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30737 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30739 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30741 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30742 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30744 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30750 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30751 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30754 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30755 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30757 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30759 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30761 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30763 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30765 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30767 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30768 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30771 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30772 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30773 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30774 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30775 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30776 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30778 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30786 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30788 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30791 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30792 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30795 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30796 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30798 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30799 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30800 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30803 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30805 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30807 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30808 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30809 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30812 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30814 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30816 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30818 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30820 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30821 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30822 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30825 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30827 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30828 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30829 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30831 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30833 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30834 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30838 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30839 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30840 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30841 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30845 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30846 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30848 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30851 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30852 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30854 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30857 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30858 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30859 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30862 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30863 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30864 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30866 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30875 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30876 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30877 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30878 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30880 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30881 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30884 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30885 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30887 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30890 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30891 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30892 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30895 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30896 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30898 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30899 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30901 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30906 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30907 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30913 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30914 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30916 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30920 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30922 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30923 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30924 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30925 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30927 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30928 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30929 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30931 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30933 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30934 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30936 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30937 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30938 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30939 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30940 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30941 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30946 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30947 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30949 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30950 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30951 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30954 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30955 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30958 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30959 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30968 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30969 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30970 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30971 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30972 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30973 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30974 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30975 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30976 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30977 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30978 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30981 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30982 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30983 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30985 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30986 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30988 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30989 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30991 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30993 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30994 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30996 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30997 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30998 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30999 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31001 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31002 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31003 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31004 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31005 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31006 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31013 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31014 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31016 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31017 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31018 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31021 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31022 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31025 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31026 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31027 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31029 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31030 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31031 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31032 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31036 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31037 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31039 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31040 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31041 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31042 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31046 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31047 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31049 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31051 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31053 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31054 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31056 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31058 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31059 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31060 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31061 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31062 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31063 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31064 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31066 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31067 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31069 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31071 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31072 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31073 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31075 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31077 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31078 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31080 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31088 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31089 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31090 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31091 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31092 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31093 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31094 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31096 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31098 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31106 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31107 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31108 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31109 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31110 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31111 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31112 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31113 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31114 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31116 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31124 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31125 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31126 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31127 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31128 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31129 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31130 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31131 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31132 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31133 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31134 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31135 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31136 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31137 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31138 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31139 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31140 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31141 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31142 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31143 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31144 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31145 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31146 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31158 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31160 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31162 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31163 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31164 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31165 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31171 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31172 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31173 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31174 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31175 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31176 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31177 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31178 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31179 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31180 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31181 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31182 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31183 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31184 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31185 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31195 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31196 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31197 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31198 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31200 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31201 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31202 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31203 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31204 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31205 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31206 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31207 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31208 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31209 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31210 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31211 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31212 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31213 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31214 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31215 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31216 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31230 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31231 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31232 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31233 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31234 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31235 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31237 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31238 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31240 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31241 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31242 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31243 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31244 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31245 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31246 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31248 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31254 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31255 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31256 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31257 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31258 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31260 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31262 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31263 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31266 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31268 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31270 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31272 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31273 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31276 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31277 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31278 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31279 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31281 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31282 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31283 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31285 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31286 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31288 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31289 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31290 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31291 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31292 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31293 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31295 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31297 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31298 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31299 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31300 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31301 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31302 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31303 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31304 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31305 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31306 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31308 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31310 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31311 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31314 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31315 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31320 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31322 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31323 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31324 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31325 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31328 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31329 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31330 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31331 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31333 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31334 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31339 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31340 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31341 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31342 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31343 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31347 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31349 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31350 { NULL
, NULL
, 0, NULL
}
31354 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31356 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31357 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31359 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31362 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31363 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31365 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31366 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31368 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31369 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31371 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31372 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31374 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31375 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31377 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31378 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31380 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31381 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31383 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31386 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31389 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31392 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31393 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31395 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31396 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31398 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31399 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31401 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31404 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31405 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31407 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31408 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31410 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31411 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31413 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31414 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31416 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31417 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31419 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31420 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31422 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31423 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31425 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31428 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31429 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31431 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31432 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31434 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31435 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31437 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31438 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31440 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31441 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31443 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31444 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31446 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31447 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31449 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31450 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31452 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31453 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31455 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31458 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31461 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31462 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31464 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31465 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31467 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31468 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31470 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31473 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31476 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31477 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31479 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31480 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31482 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31483 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31485 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31486 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31488 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31489 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31491 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31492 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31494 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31497 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31500 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31503 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31506 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31507 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31509 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31510 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31512 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31513 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31515 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31518 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31521 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31524 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31527 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31530 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31533 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31536 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31539 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31540 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31542 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31543 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31545 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31548 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31551 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31554 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31555 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31557 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31560 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31561 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31563 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31564 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31566 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31567 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31569 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31570 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31572 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31575 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31578 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31579 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31581 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31584 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31585 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31587 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31590 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31593 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31596 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31597 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31599 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31602 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31603 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31605 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31608 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31611 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31614 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31617 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31620 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31621 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31623 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31626 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31629 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31632 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31635 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31638 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31641 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31642 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31644 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31645 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31647 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31648 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31650 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31651 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31653 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31654 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31656 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31657 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31659 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31660 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31662 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31663 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31665 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31668 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31671 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31674 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31677 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31680 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31683 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31686 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31689 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31692 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31695 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) ((wxSizer
*) x
));
31698 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31701 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31704 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31707 static void *_p_wxEventTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) ((wxEvent
*) x
));
31710 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) ((wxFontData
*) x
));
31713 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31716 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31719 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31722 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31725 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31728 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31731 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31734 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31737 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31740 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31743 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31746 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31749 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31752 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31755 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31758 static void *_p_wxControlTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31761 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31764 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31767 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31770 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31773 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31776 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31779 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) ((wxColourData
*) x
));
31782 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31785 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31788 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31791 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31794 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31797 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31800 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31803 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31806 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31809 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31812 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31815 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31818 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31821 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31824 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31827 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31830 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31833 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31836 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31839 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31842 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31845 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31848 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31851 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31854 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31857 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31860 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31863 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31866 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31869 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31872 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31875 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31878 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31881 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31884 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31887 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31890 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31893 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31896 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31899 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31902 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31905 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31908 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31911 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31914 static void *_p_wxImageTo_p_wxObject(void *x
) {
31915 return (void *)((wxObject
*) ((wxImage
*) x
));
31917 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31920 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31921 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31923 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31924 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31926 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31927 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31929 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31932 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31935 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31938 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31939 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31941 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31942 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31944 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31945 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31947 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31948 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31950 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31953 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31956 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31959 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31962 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31965 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31968 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31971 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31974 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31977 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31980 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31983 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31986 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31989 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31992 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31993 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31995 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31996 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31998 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32001 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32004 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32007 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32010 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32013 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32014 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32016 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32017 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32019 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32020 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32022 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32023 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32025 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32026 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32028 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32029 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32031 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32032 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32034 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32035 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32037 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32038 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32040 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32043 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32044 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32046 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32049 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32052 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32053 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32055 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32056 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32058 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32061 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32064 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32065 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32067 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32068 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32070 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32073 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32074 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32076 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32077 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32079 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32080 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32082 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32083 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32085 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32086 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32088 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32089 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32091 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32092 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32094 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32095 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32097 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32098 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32100 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32101 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32103 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32104 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32106 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32107 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32109 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32110 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32112 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32113 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32115 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32116 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32118 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32119 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32121 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32122 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32124 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32125 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32127 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32128 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32130 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32131 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32133 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32134 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32136 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32137 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32139 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32140 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32142 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32143 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32145 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32146 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32148 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32149 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32151 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32152 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32154 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32155 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32157 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32158 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32160 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32161 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32163 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32164 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32166 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32167 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32169 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32170 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32172 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32173 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32175 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32178 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32181 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32182 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32184 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32185 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32187 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32188 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32190 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32191 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32193 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32194 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32196 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32197 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32199 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32200 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32202 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32203 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32205 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32206 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32208 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32209 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32211 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32212 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32214 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32215 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32217 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32218 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32220 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32221 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32223 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32224 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32226 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32227 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32229 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32230 return (void *)((wxWindow
*) ((wxControl
*) x
));
32232 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32235 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32238 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32241 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32242 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32244 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32245 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32247 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32248 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32250 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32251 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32253 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32254 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32256 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32257 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32259 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32260 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32262 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32263 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32265 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32266 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32268 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32269 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32271 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32272 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32274 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32275 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32277 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32278 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32280 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32281 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32283 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32284 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32286 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32287 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32289 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32290 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32292 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32293 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32295 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32296 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32298 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32299 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32301 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32302 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32304 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32305 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32307 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32308 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32310 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32311 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32313 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32314 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32316 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32317 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32319 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32320 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32322 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32323 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32325 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32326 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32328 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32329 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32331 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32332 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32334 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32335 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32337 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32338 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32340 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32341 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32343 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32344 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32346 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32347 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32349 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32350 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32352 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32353 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32355 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32356 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32358 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32359 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32361 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32362 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32364 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32365 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32367 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32368 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32370 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32371 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32373 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32374 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32376 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32377 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32379 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32380 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32382 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32383 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32385 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32386 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32388 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32390 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};
32391 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32404 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32405 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32406 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32412 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32413 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32414 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32415 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32416 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32435 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32436 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32437 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32438 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32439 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32440 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32441 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32443 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32444 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32445 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32446 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32447 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32471 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32472 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32473 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32474 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32475 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32476 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32477 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32478 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32479 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32480 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32481 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32482 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32483 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32484 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32485 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32486 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32487 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32488 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32489 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32490 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32491 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32492 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32493 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32494 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32495 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32496 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32497 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32498 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32500 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32501 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32502 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32503 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32505 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32506 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32513 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32514 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32515 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32516 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32517 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32518 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32519 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32520 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32521 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32522 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32523 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32524 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32525 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32526 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32527 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32528 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32529 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32530 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32531 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32532 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32533 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32534 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32535 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32536 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32537 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32538 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32539 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32540 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32541 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32542 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32543 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32544 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32545 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32546 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32547 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32548 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32549 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32550 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32552 static swig_type_info
*swig_type_initial
[] = {
32555 &_swigt__p_form_ops_t
,
32557 &_swigt__p_unsigned_char
,
32558 &_swigt__p_unsigned_int
,
32559 &_swigt__p_unsigned_long
,
32560 &_swigt__p_wxANIHandler
,
32561 &_swigt__p_wxAcceleratorTable
,
32562 &_swigt__p_wxActivateEvent
,
32563 &_swigt__p_wxArrayInt
,
32564 &_swigt__p_wxBMPHandler
,
32565 &_swigt__p_wxBitmap
,
32566 &_swigt__p_wxBoxSizer
,
32567 &_swigt__p_wxCURHandler
,
32568 &_swigt__p_wxCalculateLayoutEvent
,
32569 &_swigt__p_wxChildFocusEvent
,
32570 &_swigt__p_wxClipboardTextEvent
,
32571 &_swigt__p_wxCloseEvent
,
32572 &_swigt__p_wxColour
,
32573 &_swigt__p_wxColourData
,
32574 &_swigt__p_wxColourDialog
,
32575 &_swigt__p_wxCommandEvent
,
32576 &_swigt__p_wxContextMenuEvent
,
32577 &_swigt__p_wxControl
,
32578 &_swigt__p_wxControlWithItems
,
32580 &_swigt__p_wxDateEvent
,
32581 &_swigt__p_wxDialog
,
32582 &_swigt__p_wxDirDialog
,
32583 &_swigt__p_wxDisplayChangedEvent
,
32584 &_swigt__p_wxDropFilesEvent
,
32585 &_swigt__p_wxDuplexMode
,
32586 &_swigt__p_wxEraseEvent
,
32587 &_swigt__p_wxEvent
,
32588 &_swigt__p_wxEvtHandler
,
32589 &_swigt__p_wxFSFile
,
32590 &_swigt__p_wxFileDialog
,
32591 &_swigt__p_wxFileSystem
,
32592 &_swigt__p_wxFindDialogEvent
,
32593 &_swigt__p_wxFindReplaceData
,
32594 &_swigt__p_wxFindReplaceDialog
,
32595 &_swigt__p_wxFlexGridSizer
,
32596 &_swigt__p_wxFocusEvent
,
32598 &_swigt__p_wxFontData
,
32599 &_swigt__p_wxFontDialog
,
32600 &_swigt__p_wxFrame
,
32601 &_swigt__p_wxGBSizerItem
,
32602 &_swigt__p_wxGIFHandler
,
32603 &_swigt__p_wxGridBagSizer
,
32604 &_swigt__p_wxGridSizer
,
32605 &_swigt__p_wxHtmlLinkInfo
,
32606 &_swigt__p_wxICOHandler
,
32608 &_swigt__p_wxIconBundle
,
32609 &_swigt__p_wxIconizeEvent
,
32610 &_swigt__p_wxIdleEvent
,
32611 &_swigt__p_wxImage
,
32612 &_swigt__p_wxImageHandler
,
32613 &_swigt__p_wxIndividualLayoutConstraint
,
32614 &_swigt__p_wxInitDialogEvent
,
32615 &_swigt__p_wxJPEGHandler
,
32616 &_swigt__p_wxKeyEvent
,
32617 &_swigt__p_wxLayoutAlgorithm
,
32618 &_swigt__p_wxLayoutConstraints
,
32619 &_swigt__p_wxMDIChildFrame
,
32620 &_swigt__p_wxMDIClientWindow
,
32621 &_swigt__p_wxMDIParentFrame
,
32622 &_swigt__p_wxMaximizeEvent
,
32624 &_swigt__p_wxMenuBar
,
32625 &_swigt__p_wxMenuEvent
,
32626 &_swigt__p_wxMenuItem
,
32627 &_swigt__p_wxMessageDialog
,
32628 &_swigt__p_wxMiniFrame
,
32629 &_swigt__p_wxMouseCaptureChangedEvent
,
32630 &_swigt__p_wxMouseEvent
,
32631 &_swigt__p_wxMoveEvent
,
32632 &_swigt__p_wxMultiChoiceDialog
,
32633 &_swigt__p_wxNavigationKeyEvent
,
32634 &_swigt__p_wxNcPaintEvent
,
32635 &_swigt__p_wxNotifyEvent
,
32636 &_swigt__p_wxObject
,
32637 &_swigt__p_wxPCXHandler
,
32638 &_swigt__p_wxPNGHandler
,
32639 &_swigt__p_wxPNMHandler
,
32640 &_swigt__p_wxPageSetupDialog
,
32641 &_swigt__p_wxPageSetupDialogData
,
32642 &_swigt__p_wxPaintEvent
,
32643 &_swigt__p_wxPaletteChangedEvent
,
32644 &_swigt__p_wxPanel
,
32645 &_swigt__p_wxPaperSize
,
32646 &_swigt__p_wxPasswordEntryDialog
,
32647 &_swigt__p_wxPoint
,
32648 &_swigt__p_wxPopupWindow
,
32649 &_swigt__p_wxPreviewCanvas
,
32650 &_swigt__p_wxPreviewControlBar
,
32651 &_swigt__p_wxPreviewFrame
,
32652 &_swigt__p_wxPrintData
,
32653 &_swigt__p_wxPrintDialog
,
32654 &_swigt__p_wxPrintDialogData
,
32655 &_swigt__p_wxPrintPreview
,
32656 &_swigt__p_wxPrinter
,
32657 &_swigt__p_wxProgressDialog
,
32658 &_swigt__p_wxPyApp
,
32659 &_swigt__p_wxPyCommandEvent
,
32660 &_swigt__p_wxPyEvent
,
32661 &_swigt__p_wxPyHtmlListBox
,
32662 &_swigt__p_wxPyImageHandler
,
32663 &_swigt__p_wxPyPanel
,
32664 &_swigt__p_wxPyPopupTransientWindow
,
32665 &_swigt__p_wxPyPreviewControlBar
,
32666 &_swigt__p_wxPyPreviewFrame
,
32667 &_swigt__p_wxPyPrintPreview
,
32668 &_swigt__p_wxPyPrintout
,
32669 &_swigt__p_wxPyScrolledWindow
,
32670 &_swigt__p_wxPySizer
,
32671 &_swigt__p_wxPyTaskBarIcon
,
32672 &_swigt__p_wxPyVListBox
,
32673 &_swigt__p_wxPyVScrolledWindow
,
32674 &_swigt__p_wxPyValidator
,
32675 &_swigt__p_wxPyWindow
,
32676 &_swigt__p_wxQueryLayoutInfoEvent
,
32677 &_swigt__p_wxQueryNewPaletteEvent
,
32679 &_swigt__p_wxRegion
,
32680 &_swigt__p_wxSashEvent
,
32681 &_swigt__p_wxSashLayoutWindow
,
32682 &_swigt__p_wxSashWindow
,
32683 &_swigt__p_wxScrollEvent
,
32684 &_swigt__p_wxScrollWinEvent
,
32685 &_swigt__p_wxScrolledWindow
,
32686 &_swigt__p_wxSetCursorEvent
,
32687 &_swigt__p_wxShowEvent
,
32688 &_swigt__p_wxSingleChoiceDialog
,
32690 &_swigt__p_wxSizeEvent
,
32691 &_swigt__p_wxSizer
,
32692 &_swigt__p_wxSizerItem
,
32693 &_swigt__p_wxSplashScreen
,
32694 &_swigt__p_wxSplashScreenWindow
,
32695 &_swigt__p_wxSplitterEvent
,
32696 &_swigt__p_wxSplitterWindow
,
32697 &_swigt__p_wxStaticBoxSizer
,
32698 &_swigt__p_wxStatusBar
,
32699 &_swigt__p_wxStdDialogButtonSizer
,
32700 &_swigt__p_wxString
,
32701 &_swigt__p_wxSysColourChangedEvent
,
32702 &_swigt__p_wxTIFFHandler
,
32703 &_swigt__p_wxTaskBarIcon
,
32704 &_swigt__p_wxTaskBarIconEvent
,
32705 &_swigt__p_wxTextEntryDialog
,
32706 &_swigt__p_wxTipWindow
,
32707 &_swigt__p_wxToolBar
,
32708 &_swigt__p_wxTopLevelWindow
,
32709 &_swigt__p_wxUpdateUIEvent
,
32710 &_swigt__p_wxValidator
,
32711 &_swigt__p_wxVisualAttributes
,
32712 &_swigt__p_wxWindow
,
32713 &_swigt__p_wxWindowCreateEvent
,
32714 &_swigt__p_wxWindowDestroyEvent
,
32715 &_swigt__p_wxXPMHandler
,
32718 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32740 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}};
32741 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32770 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}};
32771 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32777 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32798 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}};
32799 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32815 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32816 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32823 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32824 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32825 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32826 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32830 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}};
32831 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32836 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}};
32837 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}};
32838 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32841 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}};
32842 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32853 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}};
32854 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}};
32855 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32861 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}};
32862 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32863 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}};
32864 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32870 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32871 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32875 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}};
32876 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info
*swig_cast_initial
[] = {
32885 _swigc__p_form_ops_t
,
32887 _swigc__p_unsigned_char
,
32888 _swigc__p_unsigned_int
,
32889 _swigc__p_unsigned_long
,
32890 _swigc__p_wxANIHandler
,
32891 _swigc__p_wxAcceleratorTable
,
32892 _swigc__p_wxActivateEvent
,
32893 _swigc__p_wxArrayInt
,
32894 _swigc__p_wxBMPHandler
,
32895 _swigc__p_wxBitmap
,
32896 _swigc__p_wxBoxSizer
,
32897 _swigc__p_wxCURHandler
,
32898 _swigc__p_wxCalculateLayoutEvent
,
32899 _swigc__p_wxChildFocusEvent
,
32900 _swigc__p_wxClipboardTextEvent
,
32901 _swigc__p_wxCloseEvent
,
32902 _swigc__p_wxColour
,
32903 _swigc__p_wxColourData
,
32904 _swigc__p_wxColourDialog
,
32905 _swigc__p_wxCommandEvent
,
32906 _swigc__p_wxContextMenuEvent
,
32907 _swigc__p_wxControl
,
32908 _swigc__p_wxControlWithItems
,
32910 _swigc__p_wxDateEvent
,
32911 _swigc__p_wxDialog
,
32912 _swigc__p_wxDirDialog
,
32913 _swigc__p_wxDisplayChangedEvent
,
32914 _swigc__p_wxDropFilesEvent
,
32915 _swigc__p_wxDuplexMode
,
32916 _swigc__p_wxEraseEvent
,
32918 _swigc__p_wxEvtHandler
,
32919 _swigc__p_wxFSFile
,
32920 _swigc__p_wxFileDialog
,
32921 _swigc__p_wxFileSystem
,
32922 _swigc__p_wxFindDialogEvent
,
32923 _swigc__p_wxFindReplaceData
,
32924 _swigc__p_wxFindReplaceDialog
,
32925 _swigc__p_wxFlexGridSizer
,
32926 _swigc__p_wxFocusEvent
,
32928 _swigc__p_wxFontData
,
32929 _swigc__p_wxFontDialog
,
32931 _swigc__p_wxGBSizerItem
,
32932 _swigc__p_wxGIFHandler
,
32933 _swigc__p_wxGridBagSizer
,
32934 _swigc__p_wxGridSizer
,
32935 _swigc__p_wxHtmlLinkInfo
,
32936 _swigc__p_wxICOHandler
,
32938 _swigc__p_wxIconBundle
,
32939 _swigc__p_wxIconizeEvent
,
32940 _swigc__p_wxIdleEvent
,
32942 _swigc__p_wxImageHandler
,
32943 _swigc__p_wxIndividualLayoutConstraint
,
32944 _swigc__p_wxInitDialogEvent
,
32945 _swigc__p_wxJPEGHandler
,
32946 _swigc__p_wxKeyEvent
,
32947 _swigc__p_wxLayoutAlgorithm
,
32948 _swigc__p_wxLayoutConstraints
,
32949 _swigc__p_wxMDIChildFrame
,
32950 _swigc__p_wxMDIClientWindow
,
32951 _swigc__p_wxMDIParentFrame
,
32952 _swigc__p_wxMaximizeEvent
,
32954 _swigc__p_wxMenuBar
,
32955 _swigc__p_wxMenuEvent
,
32956 _swigc__p_wxMenuItem
,
32957 _swigc__p_wxMessageDialog
,
32958 _swigc__p_wxMiniFrame
,
32959 _swigc__p_wxMouseCaptureChangedEvent
,
32960 _swigc__p_wxMouseEvent
,
32961 _swigc__p_wxMoveEvent
,
32962 _swigc__p_wxMultiChoiceDialog
,
32963 _swigc__p_wxNavigationKeyEvent
,
32964 _swigc__p_wxNcPaintEvent
,
32965 _swigc__p_wxNotifyEvent
,
32966 _swigc__p_wxObject
,
32967 _swigc__p_wxPCXHandler
,
32968 _swigc__p_wxPNGHandler
,
32969 _swigc__p_wxPNMHandler
,
32970 _swigc__p_wxPageSetupDialog
,
32971 _swigc__p_wxPageSetupDialogData
,
32972 _swigc__p_wxPaintEvent
,
32973 _swigc__p_wxPaletteChangedEvent
,
32975 _swigc__p_wxPaperSize
,
32976 _swigc__p_wxPasswordEntryDialog
,
32978 _swigc__p_wxPopupWindow
,
32979 _swigc__p_wxPreviewCanvas
,
32980 _swigc__p_wxPreviewControlBar
,
32981 _swigc__p_wxPreviewFrame
,
32982 _swigc__p_wxPrintData
,
32983 _swigc__p_wxPrintDialog
,
32984 _swigc__p_wxPrintDialogData
,
32985 _swigc__p_wxPrintPreview
,
32986 _swigc__p_wxPrinter
,
32987 _swigc__p_wxProgressDialog
,
32989 _swigc__p_wxPyCommandEvent
,
32990 _swigc__p_wxPyEvent
,
32991 _swigc__p_wxPyHtmlListBox
,
32992 _swigc__p_wxPyImageHandler
,
32993 _swigc__p_wxPyPanel
,
32994 _swigc__p_wxPyPopupTransientWindow
,
32995 _swigc__p_wxPyPreviewControlBar
,
32996 _swigc__p_wxPyPreviewFrame
,
32997 _swigc__p_wxPyPrintPreview
,
32998 _swigc__p_wxPyPrintout
,
32999 _swigc__p_wxPyScrolledWindow
,
33000 _swigc__p_wxPySizer
,
33001 _swigc__p_wxPyTaskBarIcon
,
33002 _swigc__p_wxPyVListBox
,
33003 _swigc__p_wxPyVScrolledWindow
,
33004 _swigc__p_wxPyValidator
,
33005 _swigc__p_wxPyWindow
,
33006 _swigc__p_wxQueryLayoutInfoEvent
,
33007 _swigc__p_wxQueryNewPaletteEvent
,
33009 _swigc__p_wxRegion
,
33010 _swigc__p_wxSashEvent
,
33011 _swigc__p_wxSashLayoutWindow
,
33012 _swigc__p_wxSashWindow
,
33013 _swigc__p_wxScrollEvent
,
33014 _swigc__p_wxScrollWinEvent
,
33015 _swigc__p_wxScrolledWindow
,
33016 _swigc__p_wxSetCursorEvent
,
33017 _swigc__p_wxShowEvent
,
33018 _swigc__p_wxSingleChoiceDialog
,
33020 _swigc__p_wxSizeEvent
,
33022 _swigc__p_wxSizerItem
,
33023 _swigc__p_wxSplashScreen
,
33024 _swigc__p_wxSplashScreenWindow
,
33025 _swigc__p_wxSplitterEvent
,
33026 _swigc__p_wxSplitterWindow
,
33027 _swigc__p_wxStaticBoxSizer
,
33028 _swigc__p_wxStatusBar
,
33029 _swigc__p_wxStdDialogButtonSizer
,
33030 _swigc__p_wxString
,
33031 _swigc__p_wxSysColourChangedEvent
,
33032 _swigc__p_wxTIFFHandler
,
33033 _swigc__p_wxTaskBarIcon
,
33034 _swigc__p_wxTaskBarIconEvent
,
33035 _swigc__p_wxTextEntryDialog
,
33036 _swigc__p_wxTipWindow
,
33037 _swigc__p_wxToolBar
,
33038 _swigc__p_wxTopLevelWindow
,
33039 _swigc__p_wxUpdateUIEvent
,
33040 _swigc__p_wxValidator
,
33041 _swigc__p_wxVisualAttributes
,
33042 _swigc__p_wxWindow
,
33043 _swigc__p_wxWindowCreateEvent
,
33044 _swigc__p_wxWindowDestroyEvent
,
33045 _swigc__p_wxXPMHandler
,
33049 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33051 static swig_const_info swig_const_table
[] = {
33052 {0, 0, 0, 0.0, 0, 0}};
33057 /* -----------------------------------------------------------------------------
33058 * Type initialization:
33059 * This problem is tough by the requirement that no dynamic
33060 * memory is used. Also, since swig_type_info structures store pointers to
33061 * swig_cast_info structures and swig_cast_info structures store pointers back
33062 * to swig_type_info structures, we need some lookup code at initialization.
33063 * The idea is that swig generates all the structures that are needed.
33064 * The runtime then collects these partially filled structures.
33065 * The SWIG_InitializeModule function takes these initial arrays out of
33066 * swig_module, and does all the lookup, filling in the swig_module.types
33067 * array with the correct data and linking the correct swig_cast_info
33068 * structures together.
33070 * The generated swig_type_info structures are assigned staticly to an initial
33071 * array. We just loop though that array, and handle each type individually.
33072 * First we lookup if this type has been already loaded, and if so, use the
33073 * loaded structure instead of the generated one. Then we have to fill in the
33074 * cast linked list. The cast data is initially stored in something like a
33075 * two-dimensional array. Each row corresponds to a type (there are the same
33076 * number of rows as there are in the swig_type_initial array). Each entry in
33077 * a column is one of the swig_cast_info structures for that type.
33078 * The cast_initial array is actually an array of arrays, because each row has
33079 * a variable number of columns. So to actually build the cast linked list,
33080 * we find the array of casts associated with the type, and loop through it
33081 * adding the casts to the list. The one last trick we need to do is making
33082 * sure the type pointer in the swig_cast_info struct is correct.
33084 * First off, we lookup the cast->type name to see if it is already loaded.
33085 * There are three cases to handle:
33086 * 1) If the cast->type has already been loaded AND the type we are adding
33087 * casting info to has not been loaded (it is in this module), THEN we
33088 * replace the cast->type pointer with the type pointer that has already
33090 * 2) If BOTH types (the one we are adding casting info to, and the
33091 * cast->type) are loaded, THEN the cast info has already been loaded by
33092 * the previous module so we just ignore it.
33093 * 3) Finally, if cast->type has not already been loaded, then we add that
33094 * swig_cast_info to the linked list (because the cast->type) pointer will
33096 * ----------------------------------------------------------------------------- */
33106 #define SWIGRUNTIME_DEBUG
33110 SWIG_InitializeModule(void *clientdata
) {
33112 swig_module_info
*module_head
;
33113 static int init_run
= 0;
33115 clientdata
= clientdata
;
33117 if (init_run
) return;
33120 /* Initialize the swig_module */
33121 swig_module
.type_initial
= swig_type_initial
;
33122 swig_module
.cast_initial
= swig_cast_initial
;
33124 /* Try and load any already created modules */
33125 module_head
= SWIG_GetModule(clientdata
);
33127 swig_module
.next
= module_head
->next
;
33128 module_head
->next
= &swig_module
;
33130 /* This is the first module loaded */
33131 swig_module
.next
= &swig_module
;
33132 SWIG_SetModule(clientdata
, &swig_module
);
33135 /* Now work on filling in swig_module.types */
33136 #ifdef SWIGRUNTIME_DEBUG
33137 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33139 for (i
= 0; i
< swig_module
.size
; ++i
) {
33140 swig_type_info
*type
= 0;
33141 swig_type_info
*ret
;
33142 swig_cast_info
*cast
;
33144 #ifdef SWIGRUNTIME_DEBUG
33145 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33148 /* if there is another module already loaded */
33149 if (swig_module
.next
!= &swig_module
) {
33150 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33153 /* Overwrite clientdata field */
33154 #ifdef SWIGRUNTIME_DEBUG
33155 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33157 if (swig_module
.type_initial
[i
]->clientdata
) {
33158 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33159 #ifdef SWIGRUNTIME_DEBUG
33160 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33164 type
= swig_module
.type_initial
[i
];
33167 /* Insert casting types */
33168 cast
= swig_module
.cast_initial
[i
];
33169 while (cast
->type
) {
33170 /* Don't need to add information already in the list */
33172 #ifdef SWIGRUNTIME_DEBUG
33173 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33175 if (swig_module
.next
!= &swig_module
) {
33176 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33177 #ifdef SWIGRUNTIME_DEBUG
33178 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33182 if (type
== swig_module
.type_initial
[i
]) {
33183 #ifdef SWIGRUNTIME_DEBUG
33184 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33189 /* Check for casting already in the list */
33190 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33191 #ifdef SWIGRUNTIME_DEBUG
33192 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33194 if (!ocast
) ret
= 0;
33199 #ifdef SWIGRUNTIME_DEBUG
33200 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33203 type
->cast
->prev
= cast
;
33204 cast
->next
= type
->cast
;
33210 /* Set entry in modules->types array equal to the type */
33211 swig_module
.types
[i
] = type
;
33213 swig_module
.types
[i
] = 0;
33215 #ifdef SWIGRUNTIME_DEBUG
33216 printf("**** SWIG_InitializeModule: Cast List ******\n");
33217 for (i
= 0; i
< swig_module
.size
; ++i
) {
33219 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33220 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33221 while (cast
->type
) {
33222 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33226 printf("---- Total casts: %d\n",j
);
33228 printf("**** SWIG_InitializeModule: Cast List ******\n");
33232 /* This function will propagate the clientdata field of type to
33233 * any new swig_type_info structures that have been added into the list
33234 * of equivalent types. It is like calling
33235 * SWIG_TypeClientData(type, clientdata) a second time.
33238 SWIG_PropagateClientData(void) {
33240 swig_cast_info
*equiv
;
33241 static int init_run
= 0;
33243 if (init_run
) return;
33246 for (i
= 0; i
< swig_module
.size
; i
++) {
33247 if (swig_module
.types
[i
]->clientdata
) {
33248 equiv
= swig_module
.types
[i
]->cast
;
33250 if (!equiv
->converter
) {
33251 if (equiv
->type
&& !equiv
->type
->clientdata
)
33252 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33254 equiv
= equiv
->next
;
33274 /* Python-specific SWIG API */
33275 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33276 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33277 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33279 /* -----------------------------------------------------------------------------
33280 * global variable support code.
33281 * ----------------------------------------------------------------------------- */
33283 typedef struct swig_globalvar
{
33284 char *name
; /* Name of global variable */
33285 PyObject
*(*get_attr
)(void); /* Return the current value */
33286 int (*set_attr
)(PyObject
*); /* Set the value */
33287 struct swig_globalvar
*next
;
33290 typedef struct swig_varlinkobject
{
33292 swig_globalvar
*vars
;
33293 } swig_varlinkobject
;
33295 SWIGINTERN PyObject
*
33296 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33297 return PyString_FromString("<Swig global variables>");
33300 SWIGINTERN PyObject
*
33301 swig_varlink_str(swig_varlinkobject
*v
) {
33302 PyObject
*str
= PyString_FromString("(");
33303 swig_globalvar
*var
;
33304 for (var
= v
->vars
; var
; var
=var
->next
) {
33305 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33306 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33308 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33313 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33314 PyObject
*str
= swig_varlink_str(v
);
33315 fprintf(fp
,"Swig global variables ");
33316 fprintf(fp
,"%s\n", PyString_AsString(str
));
33322 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33323 swig_globalvar
*var
= v
->vars
;
33325 swig_globalvar
*n
= var
->next
;
33332 SWIGINTERN PyObject
*
33333 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33334 PyObject
*res
= NULL
;
33335 swig_globalvar
*var
= v
->vars
;
33337 if (strcmp(var
->name
,n
) == 0) {
33338 res
= (*var
->get_attr
)();
33343 if (res
== NULL
&& !PyErr_Occurred()) {
33344 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33350 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33352 swig_globalvar
*var
= v
->vars
;
33354 if (strcmp(var
->name
,n
) == 0) {
33355 res
= (*var
->set_attr
)(p
);
33360 if (res
== 1 && !PyErr_Occurred()) {
33361 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33366 SWIGINTERN PyTypeObject
*
33367 swig_varlink_type(void) {
33368 static char varlink__doc__
[] = "Swig var link object";
33369 static PyTypeObject varlink_type
;
33370 static int type_init
= 0;
33372 const PyTypeObject tmp
33374 PyObject_HEAD_INIT(NULL
)
33375 0, /* Number of items in variable part (ob_size) */
33376 (char *)"swigvarlink", /* Type name (tp_name) */
33377 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33378 0, /* Itemsize (tp_itemsize) */
33379 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33380 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33381 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33382 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33383 0, /* tp_compare */
33384 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33385 0, /* tp_as_number */
33386 0, /* tp_as_sequence */
33387 0, /* tp_as_mapping */
33390 (reprfunc
)swig_varlink_str
, /* tp_str */
33391 0, /* tp_getattro */
33392 0, /* tp_setattro */
33393 0, /* tp_as_buffer */
33395 varlink__doc__
, /* tp_doc */
33396 0, /* tp_traverse */
33398 0, /* tp_richcompare */
33399 0, /* tp_weaklistoffset */
33400 #if PY_VERSION_HEX >= 0x02020000
33401 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33403 #if PY_VERSION_HEX >= 0x02030000
33406 #ifdef COUNT_ALLOCS
33407 0,0,0,0 /* tp_alloc -> tp_next */
33410 varlink_type
= tmp
;
33411 varlink_type
.ob_type
= &PyType_Type
;
33414 return &varlink_type
;
33417 /* Create a variable linking object for use later */
33418 SWIGINTERN PyObject
*
33419 SWIG_Python_newvarlink(void) {
33420 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33424 return ((PyObject
*) result
);
33428 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33429 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33430 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33432 size_t size
= strlen(name
)+1;
33433 gv
->name
= (char *)malloc(size
);
33435 strncpy(gv
->name
,name
,size
);
33436 gv
->get_attr
= get_attr
;
33437 gv
->set_attr
= set_attr
;
33438 gv
->next
= v
->vars
;
33444 SWIGINTERN PyObject
*
33446 static PyObject
*_SWIG_globals
= 0;
33447 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33448 return _SWIG_globals
;
33451 /* -----------------------------------------------------------------------------
33452 * constants/methods manipulation
33453 * ----------------------------------------------------------------------------- */
33455 /* Install Constants */
33457 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33460 for (i
= 0; constants
[i
].type
; ++i
) {
33461 switch(constants
[i
].type
) {
33462 case SWIG_PY_POINTER
:
33463 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33465 case SWIG_PY_BINARY
:
33466 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33473 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33479 /* -----------------------------------------------------------------------------*/
33480 /* Fix SwigMethods to carry the callback ptrs when needed */
33481 /* -----------------------------------------------------------------------------*/
33484 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33485 swig_const_info
*const_table
,
33486 swig_type_info
**types
,
33487 swig_type_info
**types_initial
) {
33489 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33490 char *c
= methods
[i
].ml_doc
;
33491 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33493 swig_const_info
*ci
= 0;
33494 char *name
= c
+ 10;
33495 for (j
= 0; const_table
[j
].type
; ++j
) {
33496 if (strncmp(const_table
[j
].name
, name
,
33497 strlen(const_table
[j
].name
)) == 0) {
33498 ci
= &(const_table
[j
]);
33503 size_t shift
= (ci
->ptype
) - types
;
33504 swig_type_info
*ty
= types_initial
[shift
];
33505 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33506 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33507 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33510 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33512 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33514 strncpy(buff
, "swig_ptr: ", 10);
33516 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33517 methods
[i
].ml_doc
= ndoc
;
33529 /* -----------------------------------------------------------------------------*
33530 * Partial Init method
33531 * -----------------------------------------------------------------------------*/
33536 SWIGEXPORT
void SWIG_init(void) {
33539 /* Fix SwigMethods to carry the callback ptrs when needed */
33540 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33542 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33543 d
= PyModule_GetDict(m
);
33545 SWIG_InitializeModule(0);
33546 SWIG_InstallConstants(d
,swig_const_table
);
33549 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33550 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33551 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33552 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33553 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33554 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33555 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33556 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33557 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33558 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33559 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33560 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33561 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33562 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33563 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33564 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33565 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33566 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33567 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33568 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33569 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33570 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33571 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33572 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33573 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33574 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33575 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33576 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33577 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33578 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33579 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33580 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33581 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33582 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33583 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33584 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33585 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33586 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33587 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33588 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33589 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33590 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33591 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33592 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33593 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33594 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33595 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33596 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33597 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33598 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33599 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33600 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33601 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33602 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33603 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33604 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33605 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33606 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33607 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33608 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33609 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33610 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33611 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33612 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33613 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33614 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33615 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33616 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33617 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33618 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33619 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33620 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33621 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33622 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33623 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33624 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33625 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33626 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33627 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33628 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33629 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33630 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33631 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33632 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33633 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33634 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33635 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33636 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33637 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33638 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33639 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33640 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33641 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33642 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33643 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33644 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33645 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33646 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33647 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33648 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33649 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33650 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33652 // Map renamed classes back to their common name for OOR
33653 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33654 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33655 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33657 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33658 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33659 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33660 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33661 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33662 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33663 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33664 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33665 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33666 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33667 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33668 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33669 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33670 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33671 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33672 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33673 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33674 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33675 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33676 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33677 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33678 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33679 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33680 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33681 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33682 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33683 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33684 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33685 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33686 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33687 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33688 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33689 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33690 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33691 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33692 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33693 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33694 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33695 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33696 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33697 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33698 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33699 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33700 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33701 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33702 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33703 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33704 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33705 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33706 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33707 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33708 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33709 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33710 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33711 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33712 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33713 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33714 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33715 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33716 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33717 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33718 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33719 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33720 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33721 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33722 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33723 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33724 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33725 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33726 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33727 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33728 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33729 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33730 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33731 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33732 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33733 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33734 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33736 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");