1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2831 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2833 self
->GetFieldRect(i
, r
);
2836 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2840 #include <wx/popupwin.h>
2843 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2846 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2847 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2848 : wxPopupTransientWindow(parent
, style
) {}
2850 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2851 DEC_PYCALLBACK__(OnDismiss
);
2852 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2857 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2858 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2859 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2862 #include <wx/tipwin.h>
2864 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2865 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2868 #include <wx/tipwin.h>
2871 #include <wx/vscroll.h>
2874 class wxPyVScrolledWindow
: public wxVScrolledWindow
2876 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2878 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2880 wxPyVScrolledWindow(wxWindow
*parent
,
2881 wxWindowID id
= wxID_ANY
,
2882 const wxPoint
& pos
= wxDefaultPosition
,
2883 const wxSize
& size
= wxDefaultSize
,
2885 const wxString
& name
= wxPyPanelNameStr
)
2886 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2889 // Overridable virtuals
2891 // this function must be overridden in the derived class and it should
2892 // return the height of the given line in pixels
2893 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2896 // this function doesn't have to be overridden but it may be useful to do
2897 // it if calculating the lines heights is a relatively expensive operation
2898 // as it gives the user code a possibility to calculate several of them at
2901 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2902 // shouldn't rely on the latter being called for all lines in the interval
2903 // specified here. It is also possible that OnGetLineHeight() will be
2904 // called for the lines outside of this interval, so this is really just a
2905 // hint, not a promise.
2907 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2909 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2912 // when the number of lines changes, we try to estimate the total height
2913 // of all lines which is a rather expensive operation in terms of lines
2914 // access, so if the user code may estimate the average height
2915 // better/faster than we do, it should override this function to implement
2918 // this function should return the best guess for the total height it may
2920 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2923 // Also expose some other interesting protected methods
2926 // find the index of the line we need to show at the top of the window such
2927 // that the last (fully or partially) visible line is the given one
2928 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2929 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2931 // get the total height of the lines between lineMin (inclusive) and
2932 // lineMax (exclusive)
2933 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2934 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2936 // update the thumb size shown by the scrollbar
2937 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2939 // remove the scrollbar completely because we don't need it
2940 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2947 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2948 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2949 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2953 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2956 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2957 return SWIG_TypeError
;
2960 *val
= (unsigned long)v
;
2965 SWIGINTERNINLINE
int
2966 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2969 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2970 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2975 SWIGINTERNINLINE PyObject
*
2976 SWIG_From_unsigned_SS_long (unsigned long value
)
2978 return (value
> LONG_MAX
) ?
2979 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2983 SWIGINTERNINLINE PyObject
*
2984 SWIG_From_size_t (size_t value
)
2986 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2990 #include <wx/vlbox.h>
2992 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2994 class wxPyVListBox
: public wxVListBox
2996 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2998 wxPyVListBox() : wxVListBox() {}
3000 wxPyVListBox(wxWindow
*parent
,
3001 wxWindowID id
= wxID_ANY
,
3002 const wxPoint
& pos
= wxDefaultPosition
,
3003 const wxSize
& size
= wxDefaultSize
,
3005 const wxString
& name
= wxPyVListBoxNameStr
)
3006 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3009 // Overridable virtuals
3011 // the derived class must implement this function to actually draw the item
3012 // with the given index on the provided DC
3013 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3014 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3017 // the derived class must implement this method to return the height of the
3019 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3020 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3023 // this method may be used to draw separators between the lines; note that
3024 // the rectangle may be modified, typically to deflate it a bit before
3025 // passing to OnDrawItem()
3027 // the base class version doesn't do anything
3028 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3032 // this method is used to draw the items background and, maybe, a border
3035 // the base class version implements a reasonable default behaviour which
3036 // consists in drawing the selected item with the standard background
3037 // colour and drawing a border around the item if it is either selected or
3039 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3048 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3049 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3050 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3051 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3055 unsigned long cookie
= 0;
3056 int selected
= self
->GetFirstSelected(cookie
);
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 PyObject
* tup
= PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3060 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3061 wxPyEndBlockThreads(blocked
);
3064 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3065 int selected
= self
->GetNextSelected(cookie
);
3066 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3067 PyObject
* tup
= PyTuple_New(2);
3068 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3069 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3070 wxPyEndBlockThreads(blocked
);
3074 #include <wx/htmllbox.h>
3077 class wxPyHtmlListBox
: public wxHtmlListBox
3079 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3081 wxPyHtmlListBox() : wxHtmlListBox() {}
3083 wxPyHtmlListBox(wxWindow
*parent
,
3084 wxWindowID id
= wxID_ANY
,
3085 const wxPoint
& pos
= wxDefaultPosition
,
3086 const wxSize
& size
= wxDefaultSize
,
3088 const wxString
& name
= wxPyVListBoxNameStr
)
3089 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3092 // Overridable virtuals
3094 // this method must be implemented in the derived class and should return
3095 // the body (i.e. without <html>) of the HTML for the given item
3096 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3098 // this function may be overridden to decorate HTML returned by OnGetItem()
3099 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3101 // These are from wxVListBox
3102 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3103 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3106 // // this method allows to customize the selection appearance: it may be used
3107 // // to specify the colour of the text which normally has the given colour
3108 // // colFg when it is inside the selection
3110 // // by default, the original colour is not used at all and all text has the
3111 // // same (default for this system) colour inside selection
3112 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3114 // // this is the same as GetSelectedTextColour() but allows to customize the
3115 // // background colour -- this is even more rarely used as you can change it
3116 // // globally using SetSelectionBackground()
3117 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3120 // This method may be overriden to handle clicking on a link in
3121 // the listbox. By default, clicking links is ignored.
3122 virtual void OnLinkClicked(size_t n
,
3123 const wxHtmlLinkInfo
& link
);
3129 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3131 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3132 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3133 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3134 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3137 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3138 const wxHtmlLinkInfo
& link
) {
3140 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3141 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3142 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3143 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3146 wxPyEndBlockThreads(blocked
);
3148 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3155 #ifndef wxHAS_TASK_BAR_ICON
3156 // implement dummy classes for platforms that don't have it
3158 class wxTaskBarIcon
: public wxEvtHandler
3161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3165 class wxTaskBarIconEvent
: public wxEvent
3168 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3169 { wxPyRaiseNotImplemented(); }
3170 virtual wxEvent
* Clone() const { return NULL
; }
3171 bool IsOk() const { return false; }
3172 bool IsIconInstalled() const { return false; }
3173 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3174 bool RemoveIcon() { return false; }
3175 bool PopupMenu(wxMenu
*menu
) { return false; }
3179 wxEVT_TASKBAR_MOVE
= 0,
3180 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3181 wxEVT_TASKBAR_LEFT_UP
= 0,
3182 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3183 wxEVT_TASKBAR_RIGHT_UP
= 0,
3184 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3185 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3190 // Otherwise make a class that can virtualize CreatePopupMenu
3191 class wxPyTaskBarIcon
: public wxTaskBarIcon
3193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3195 wxPyTaskBarIcon() : wxTaskBarIcon()
3198 wxMenu
* CreatePopupMenu() {
3199 wxMenu
*rval
= NULL
;
3201 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3202 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3205 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3207 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3212 wxPyEndBlockThreads(blocked
);
3214 rval
= wxTaskBarIcon::CreatePopupMenu();
3221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3225 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3229 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3230 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3231 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3232 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3233 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3234 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3236 // for compatibility only
3237 #define wxHIDE_READONLY 0
3239 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3241 self
->GetFilenames(arr
);
3242 return wxArrayString2PyList_helper(arr
);
3244 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3246 self
->GetPaths(arr
);
3247 return wxArrayString2PyList_helper(arr
);
3249 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3250 return wxArrayInt2PyList_helper(self
->GetSelections());
3252 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
){
3253 return new wxSingleChoiceDialog(parent
, message
, caption
,
3254 choices
, choices_array
, NULL
, style
, pos
);
3256 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3267 // C++ version of Python aware wxWindow
3268 class wxPyWindow
: public wxWindow
3270 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3272 wxPyWindow() : wxWindow() {}
3273 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3274 const wxPoint
& pos
= wxDefaultPosition
,
3275 const wxSize
& size
= wxDefaultSize
,
3277 const wxString
& name
= wxPyPanelNameStr
)
3278 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3281 bool DoEraseBackground(wxDC
* dc
) {
3283 return wxWindow::DoEraseBackground(dc
->GetHDC());
3285 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3291 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3292 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3300 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3301 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3303 DEC_PYCALLBACK__(InitDialog
);
3304 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3305 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3306 DEC_PYCALLBACK_BOOL_(Validate
);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3310 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3315 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3316 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3318 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3320 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3325 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3327 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3328 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3339 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3349 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3352 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3356 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3358 // C++ version of Python aware wxPanel
3359 class wxPyPanel
: public wxPanel
3361 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3363 wxPyPanel() : wxPanel() {}
3364 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3365 const wxPoint
& pos
= wxDefaultPosition
,
3366 const wxSize
& size
= wxDefaultSize
,
3368 const wxString
& name
= wxPyPanelNameStr
)
3369 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3371 bool DoEraseBackground(wxDC
* dc
) {
3373 return wxWindow::DoEraseBackground(dc
->GetHDC());
3375 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3394 DEC_PYCALLBACK__(InitDialog
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3397 DEC_PYCALLBACK_BOOL_(Validate
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3430 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3447 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow
: public wxScrolledWindow
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3456 const wxPoint
& pos
= wxDefaultPosition
,
3457 const wxSize
& size
= wxDefaultSize
,
3459 const wxString
& name
= wxPyPanelNameStr
)
3460 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3462 bool DoEraseBackground(wxDC
* dc
) {
3464 return wxWindow::DoEraseBackground(dc
->GetHDC());
3466 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3484 DEC_PYCALLBACK__(InitDialog
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3487 DEC_PYCALLBACK_BOOL_(Validate
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3520 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3540 #include "wx/wxPython/printfw.h"
3543 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3549 self
->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked
);
3553 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3554 if (! PyString_Check(data
)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3556 "Expected string object"));
3560 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3561 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3562 wxPyEndBlockThreads(blocked
);
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3570 bool hadErr
= false;
3573 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3574 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3575 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3576 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3579 val
= PyTuple_GetItem(result
, 0);
3580 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3583 val
= PyTuple_GetItem(result
, 1);
3584 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3587 val
= PyTuple_GetItem(result
, 2);
3588 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 3);
3592 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3599 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3604 wxPyEndBlockThreads(blocked
);
3606 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3639 wxPyEndBlockThreads(blocked); \
3641 rval = PCLASS::CBNAME(a, b); \
3648 class wxPyPrintPreview
: public wxPrintPreview
3650 DECLARE_CLASS(wxPyPrintPreview
)
3652 wxPyPrintPreview(wxPyPrintout
* printout
,
3653 wxPyPrintout
* printoutForPrinting
,
3654 wxPrintDialogData
* data
=NULL
)
3655 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3657 wxPyPrintPreview(wxPyPrintout
* printout
,
3658 wxPyPrintout
* printoutForPrinting
,
3660 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3680 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3692 class wxPyPreviewFrame
: public wxPreviewFrame
3694 DECLARE_CLASS(wxPyPreviewFrame
)
3696 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3697 const wxString
& title
,
3698 const wxPoint
& pos
= wxDefaultPosition
,
3699 const wxSize
& size
= wxDefaultSize
,
3700 long style
= wxDEFAULT_FRAME_STYLE
,
3701 const wxString
& name
= wxPyFrameNameStr
)
3702 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3705 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3706 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3708 DEC_PYCALLBACK_VOID_(Initialize
);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3715 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3722 class wxPyPreviewControlBar
: public wxPreviewControlBar
3724 DECLARE_CLASS(wxPyPreviewControlBar
)
3726 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3729 const wxPoint
& pos
= wxDefaultPosition
,
3730 const wxSize
& size
= wxDefaultSize
,
3732 const wxString
& name
= wxPyPanelNameStr
)
3733 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3736 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3738 DEC_PYCALLBACK_VOID_(CreateButtons
);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3751 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxWindow
*arg1
= (wxWindow
*) 0 ;
3754 int arg2
= (int) (int)-1 ;
3755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3759 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3762 wxPanel
*result
= 0 ;
3771 bool temp6
= false ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3774 PyObject
* obj2
= 0 ;
3775 PyObject
* obj3
= 0 ;
3776 PyObject
* obj4
= 0 ;
3777 PyObject
* obj5
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3809 if (!SWIG_IsOK(ecode5
)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 arg5
= static_cast< long >(val5
);
3816 arg6
= wxString_in_helper(obj5
);
3817 if (arg6
== NULL
) SWIG_fail
;
3822 if (!wxPyCheckForApp()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3843 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3844 PyObject
*resultobj
= 0;
3845 wxPanel
*result
= 0 ;
3847 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxPanel
*)new wxPanel();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3862 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxPanel
*arg1
= (wxPanel
*) 0 ;
3865 wxWindow
*arg2
= (wxWindow
*) 0 ;
3866 int arg3
= (int) (int)-1 ;
3867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3885 bool temp7
= false ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3888 PyObject
* obj2
= 0 ;
3889 PyObject
* obj3
= 0 ;
3890 PyObject
* obj4
= 0 ;
3891 PyObject
* obj5
= 0 ;
3892 PyObject
* obj6
= 0 ;
3893 char * kwnames
[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3904 if (!SWIG_IsOK(res2
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3910 if (!SWIG_IsOK(ecode3
)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 arg3
= static_cast< int >(val3
);
3918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3929 if (!SWIG_IsOK(ecode6
)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 arg6
= static_cast< long >(val6
);
3936 arg7
= wxString_in_helper(obj6
);
3937 if (arg7
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3964 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 PyObject
*resultobj
= 0;
3966 wxPanel
*arg1
= (wxPanel
*) 0 ;
3969 PyObject
*swig_obj
[1] ;
3971 if (!args
) SWIG_fail
;
3973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3974 if (!SWIG_IsOK(res1
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_Py_Void();
3991 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
= 0;
3993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3994 SwigValueWrapper
<wxVisualAttributes
> result
;
3997 PyObject
* obj0
= 0 ;
3998 char * kwnames
[] = {
3999 (char *) "variant", NULL
4002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4005 if (!SWIG_IsOK(ecode1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 arg1
= static_cast< wxWindowVariant
>(val1
);
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4024 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4028 return SWIG_Py_Void();
4031 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4032 return SWIG_Python_InitShadowInstance(args
);
4035 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= 0;
4037 wxWindow
*arg1
= (wxWindow
*) 0 ;
4038 int arg2
= (int) (int)-1 ;
4039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4043 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4044 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4045 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4046 wxScrolledWindow
*result
= 0 ;
4055 bool temp6
= false ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4058 PyObject
* obj2
= 0 ;
4059 PyObject
* obj3
= 0 ;
4060 PyObject
* obj4
= 0 ;
4061 PyObject
* obj5
= 0 ;
4062 char * kwnames
[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4074 if (!SWIG_IsOK(ecode2
)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 arg2
= static_cast< int >(val2
);
4082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4092 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4093 if (!SWIG_IsOK(ecode5
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 arg5
= static_cast< long >(val5
);
4100 arg6
= wxString_in_helper(obj5
);
4101 if (arg6
== NULL
) SWIG_fail
;
4106 if (!wxPyCheckForApp()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4127 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxScrolledWindow
*result
= 0 ;
4131 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4133 if (!wxPyCheckForApp()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= 0;
4148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4149 wxWindow
*arg2
= (wxWindow
*) 0 ;
4150 int arg3
= (int) (int)-1 ;
4151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4155 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4156 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4169 bool temp7
= false ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4172 PyObject
* obj2
= 0 ;
4173 PyObject
* obj3
= 0 ;
4174 PyObject
* obj4
= 0 ;
4175 PyObject
* obj5
= 0 ;
4176 PyObject
* obj6
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4188 if (!SWIG_IsOK(res2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4194 if (!SWIG_IsOK(ecode3
)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 arg3
= static_cast< int >(val3
);
4202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4213 if (!SWIG_IsOK(ecode6
)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 arg6
= static_cast< long >(val6
);
4220 arg7
= wxString_in_helper(obj6
);
4221 if (arg7
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4248 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4255 int arg6
= (int) 0 ;
4256 int arg7
= (int) 0 ;
4257 bool arg8
= (bool) false ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4280 PyObject
* obj6
= 0 ;
4281 PyObject
* obj7
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 arg2
= static_cast< int >(val2
);
4297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4298 if (!SWIG_IsOK(ecode3
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 arg3
= static_cast< int >(val3
);
4302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4303 if (!SWIG_IsOK(ecode4
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 arg4
= static_cast< int >(val4
);
4307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4308 if (!SWIG_IsOK(ecode5
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 arg5
= static_cast< int >(val5
);
4313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4314 if (!SWIG_IsOK(ecode6
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 arg6
= static_cast< int >(val6
);
4320 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4321 if (!SWIG_IsOK(ecode7
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 arg7
= static_cast< int >(val7
);
4327 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4328 if (!SWIG_IsOK(ecode8
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 arg8
= static_cast< bool >(val8
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_Py_Void();
4346 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4366 if (!SWIG_IsOK(res1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4371 if (!SWIG_IsOK(ecode2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 arg2
= static_cast< int >(val2
);
4375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4376 if (!SWIG_IsOK(ecode3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 arg3
= static_cast< int >(val3
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->Scroll(arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "orient", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_From_int(static_cast< int >(result
));
4432 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 arg3
= static_cast< int >(val3
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4509 if (!SWIG_IsOK(ecode3
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 arg3
= static_cast< int >(val3
);
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetScrollRate(arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4527 PyObject
*resultobj
= 0;
4528 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4529 int *arg2
= (int *) 0 ;
4530 int *arg3
= (int *) 0 ;
4534 int res2
= SWIG_TMPOBJ
;
4536 int res3
= SWIG_TMPOBJ
;
4537 PyObject
*swig_obj
[1] ;
4541 if (!args
) SWIG_fail
;
4543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4544 if (!SWIG_IsOK(res1
)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2
)) {
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4561 if (SWIG_IsTmpObj(res3
)) {
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4573 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 arg2
= static_cast< bool >(val2
);
4602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4603 if (!SWIG_IsOK(ecode3
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 arg3
= static_cast< bool >(val3
);
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->EnableScrolling(arg2
,arg3
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_Py_Void();
4620 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4623 int *arg2
= (int *) 0 ;
4624 int *arg3
= (int *) 0 ;
4628 int res2
= SWIG_TMPOBJ
;
4630 int res3
= SWIG_TMPOBJ
;
4631 PyObject
*swig_obj
[1] ;
4635 if (!args
) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2
)) {
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4655 if (SWIG_IsTmpObj(res3
)) {
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4667 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 char * kwnames
[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4692 if (!SWIG_IsOK(ecode2
)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 arg2
= static_cast< double >(val2
);
4696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4697 if (!SWIG_IsOK(ecode3
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 arg3
= static_cast< double >(val3
);
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetScale(arg2
,arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_Py_Void();
4714 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4715 PyObject
*resultobj
= 0;
4716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4720 PyObject
*swig_obj
[1] ;
4722 if (!args
) SWIG_fail
;
4724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4725 if (!SWIG_IsOK(res1
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_double(static_cast< double >(result
));
4742 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_double(static_cast< double >(result
));
4770 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4771 PyObject
*resultobj
= 0;
4772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4779 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4787 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4802 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4803 PyObject
*resultobj
= 0;
4804 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4807 int *arg4
= (int *) 0 ;
4808 int *arg5
= (int *) 0 ;
4816 int res4
= SWIG_TMPOBJ
;
4818 int res5
= SWIG_TMPOBJ
;
4822 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4828 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4829 if (!SWIG_IsOK(ecode2
)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 arg2
= static_cast< int >(val2
);
4833 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4834 if (!SWIG_IsOK(ecode3
)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 arg3
= static_cast< int >(val3
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4848 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4851 if (SWIG_IsTmpObj(res5
)) {
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4854 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4863 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4882 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4883 PyObject
*resultobj
= 0;
4884 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4891 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4899 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4914 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4915 PyObject
*resultobj
= 0;
4916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4919 int *arg4
= (int *) 0 ;
4920 int *arg5
= (int *) 0 ;
4928 int res4
= SWIG_TMPOBJ
;
4930 int res5
= SWIG_TMPOBJ
;
4934 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4940 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 arg2
= static_cast< int >(val2
);
4945 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4946 if (!SWIG_IsOK(ecode3
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 arg3
= static_cast< int >(val3
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4960 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4963 if (SWIG_IsTmpObj(res5
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4966 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4994 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5024 wxScrollWinEvent
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "event", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5043 if (!SWIG_IsOK(res2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int(static_cast< int >(result
));
5063 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5066 wxWindow
*arg2
= (wxWindow
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "target", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5084 if (!SWIG_IsOK(res2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetTargetWindow(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5101 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 PyObject
*resultobj
= 0;
5103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5104 wxWindow
*result
= 0 ;
5107 PyObject
*swig_obj
[1] ;
5109 if (!args
) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= wxPyMake_wxObject(result
, 0);
5131 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "dc", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5152 if (!SWIG_IsOK(res2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5158 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 (arg1
)->DoPrepareDC(*arg2
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_Py_Void();
5172 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
= 0;
5174 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5175 SwigValueWrapper
<wxVisualAttributes
> result
;
5178 PyObject
* obj0
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "variant", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5186 if (!SWIG_IsOK(ecode1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5189 arg1
= static_cast< wxWindowVariant
>(val1
);
5192 if (!wxPyCheckForApp()) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5205 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5209 return SWIG_Py_Void();
5212 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 return SWIG_Python_InitShadowInstance(args
);
5216 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5217 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5222 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5223 PyObject
*pyobj
= 0;
5227 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5229 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5236 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5237 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5242 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5243 PyObject
*pyobj
= 0;
5247 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5249 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5256 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5257 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5262 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5263 PyObject
*pyobj
= 0;
5267 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5269 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5276 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5277 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5282 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5283 PyObject
*pyobj
= 0;
5287 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5289 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5296 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
= 0;
5298 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5299 bool arg2
= (bool) true ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5306 char * kwnames
[] = {
5307 (char *) "self",(char *) "maximize", NULL
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5312 if (!SWIG_IsOK(res1
)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5315 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5318 if (!SWIG_IsOK(ecode2
)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5321 arg2
= static_cast< bool >(val2
);
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 (arg1
)->Maximize(arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_Py_Void();
5336 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5338 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5341 PyObject
*swig_obj
[1] ;
5343 if (!args
) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5349 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5366 bool arg2
= (bool) true ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "iconize", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5382 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5385 if (!SWIG_IsOK(ecode2
)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5388 arg2
= static_cast< bool >(val2
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->Iconize(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_Py_Void();
5403 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5404 PyObject
*resultobj
= 0;
5405 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5409 PyObject
*swig_obj
[1] ;
5411 if (!args
) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5417 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5434 PyObject
*resultobj
= 0;
5435 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5439 PyObject
*swig_obj
[1] ;
5441 if (!args
) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5463 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5464 PyObject
*resultobj
= 0;
5465 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5469 PyObject
*swig_obj
[1] ;
5471 if (!args
) SWIG_fail
;
5473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5474 if (!SWIG_IsOK(res1
)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5477 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5494 PyObject
*resultobj
= 0;
5495 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5499 PyObject
*swig_obj
[1] ;
5501 if (!args
) SWIG_fail
;
5503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5504 if (!SWIG_IsOK(res1
)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5507 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5521 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "self",(char *) "icon", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5542 if (!SWIG_IsOK(res2
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5548 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_Py_Void();
5562 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5565 wxIconBundle
*arg2
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "icons", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5581 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5583 if (!SWIG_IsOK(res2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5589 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5607 long arg3
= (long) wxFULLSCREEN_ALL
;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 char * kwnames
[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5627 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5629 if (!SWIG_IsOK(ecode2
)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5632 arg2
= static_cast< bool >(val2
);
5634 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5635 if (!SWIG_IsOK(ecode3
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5638 arg3
= static_cast< long >(val3
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5669 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5685 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5688 wxString
*arg2
= 0 ;
5691 bool temp2
= false ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 char * kwnames
[] = {
5695 (char *) "self",(char *) "title", NULL
5698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5700 if (!SWIG_IsOK(res1
)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5703 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5705 arg2
= wxString_in_helper(obj1
);
5706 if (arg2
== NULL
) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetTitle((wxString
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_Py_Void();
5730 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5744 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5764 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 char * kwnames
[] = {
5776 (char *) "self",(char *) "enable", NULL
5779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5784 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5786 if (!SWIG_IsOK(ecode2
)) {
5787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5789 arg2
= static_cast< bool >(val2
);
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= 0;
5807 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5808 wxRegion
*arg2
= 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "self",(char *) "region", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5825 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5827 if (!SWIG_IsOK(res2
)) {
5828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5833 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5849 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= 0;
5851 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5852 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5859 char * kwnames
[] = {
5860 (char *) "self",(char *) "flags", NULL
5863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5868 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5871 if (!SWIG_IsOK(ecode2
)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5874 arg2
= static_cast< int >(val2
);
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 (arg1
)->RequestUserAttention(arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_Py_Void();
5889 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5890 PyObject
*resultobj
= 0;
5891 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5895 PyObject
*swig_obj
[1] ;
5897 if (!args
) SWIG_fail
;
5899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5900 if (!SWIG_IsOK(res1
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5903 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (bool)(arg1
)->IsActive();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5919 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
= 0;
5921 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5929 char * kwnames
[] = {
5930 (char *) "self",(char *) "on", NULL
5933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5935 if (!SWIG_IsOK(res1
)) {
5936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5938 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5939 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5940 if (!SWIG_IsOK(ecode2
)) {
5941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5943 arg2
= static_cast< bool >(val2
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5963 PyObject
*swig_obj
[1] ;
5965 if (!args
) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5971 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5987 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= 0;
5989 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5990 int arg2
= (int) wxBOTH
;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5997 char * kwnames
[] = {
5998 (char *) "self",(char *) "dir", NULL
6001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6006 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6009 if (!SWIG_IsOK(ecode2
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6012 arg2
= static_cast< int >(val2
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 (arg1
)->CenterOnScreen(arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_Py_Void();
6027 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6030 wxWindow
*result
= 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6041 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= wxPyMake_wxObject(result
, 0);
6057 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
= 0;
6059 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6060 wxWindow
*arg2
= (wxWindow
*) 0 ;
6061 wxWindow
*result
= 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6068 char * kwnames
[] = {
6069 (char *) "self",(char *) "child", NULL
6072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6079 if (!SWIG_IsOK(res2
)) {
6080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= wxPyMake_wxObject(result
, 0);
6098 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
= 0;
6100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6101 wxWindow
*arg2
= (wxWindow
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 char * kwnames
[] = {
6109 (char *) "self",(char *) "win", NULL
6112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6117 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6119 if (!SWIG_IsOK(res2
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6122 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 (arg1
)->SetTmpDefaultItem(arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_Py_Void();
6136 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 PyObject
*resultobj
= 0;
6138 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6139 wxWindow
*result
= 0 ;
6142 PyObject
*swig_obj
[1] ;
6144 if (!args
) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6150 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= wxPyMake_wxObject(result
, 0);
6166 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6169 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6170 return SWIG_Py_Void();
6173 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
= 0;
6175 wxWindow
*arg1
= (wxWindow
*) 0 ;
6176 int arg2
= (int) (int)-1 ;
6177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6183 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6184 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6185 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6186 wxFrame
*result
= 0 ;
6191 bool temp3
= false ;
6196 bool temp7
= false ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6200 PyObject
* obj3
= 0 ;
6201 PyObject
* obj4
= 0 ;
6202 PyObject
* obj5
= 0 ;
6203 PyObject
* obj6
= 0 ;
6204 char * kwnames
[] = {
6205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6216 if (!SWIG_IsOK(ecode2
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6219 arg2
= static_cast< int >(val2
);
6223 arg3
= wxString_in_helper(obj2
);
6224 if (arg3
== NULL
) SWIG_fail
;
6231 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6237 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6241 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6242 if (!SWIG_IsOK(ecode6
)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6245 arg6
= static_cast< long >(val6
);
6249 arg7
= wxString_in_helper(obj6
);
6250 if (arg7
== NULL
) SWIG_fail
;
6255 if (!wxPyCheckForApp()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6284 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6285 PyObject
*resultobj
= 0;
6286 wxFrame
*result
= 0 ;
6288 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6290 if (!wxPyCheckForApp()) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (wxFrame
*)new wxFrame();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6303 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= 0;
6305 wxFrame
*arg1
= (wxFrame
*) 0 ;
6306 wxWindow
*arg2
= (wxWindow
*) 0 ;
6307 int arg3
= (int) (int)-1 ;
6308 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6309 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6310 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6311 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6312 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6313 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6314 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6315 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6324 bool temp4
= false ;
6329 bool temp8
= false ;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6333 PyObject
* obj3
= 0 ;
6334 PyObject
* obj4
= 0 ;
6335 PyObject
* obj5
= 0 ;
6336 PyObject
* obj6
= 0 ;
6337 PyObject
* obj7
= 0 ;
6338 char * kwnames
[] = {
6339 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6344 if (!SWIG_IsOK(res1
)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6347 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6349 if (!SWIG_IsOK(res2
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6355 if (!SWIG_IsOK(ecode3
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6358 arg3
= static_cast< int >(val3
);
6362 arg4
= wxString_in_helper(obj3
);
6363 if (arg4
== NULL
) SWIG_fail
;
6370 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6376 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6380 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6381 if (!SWIG_IsOK(ecode7
)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6384 arg7
= static_cast< long >(val7
);
6388 arg8
= wxString_in_helper(obj7
);
6389 if (arg8
== NULL
) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6424 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6425 PyObject
*resultobj
= 0;
6426 wxFrame
*arg1
= (wxFrame
*) 0 ;
6429 PyObject
*swig_obj
[1] ;
6431 if (!args
) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6437 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->SendSizeEvent();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_Py_Void();
6451 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
= 0;
6453 wxFrame
*arg1
= (wxFrame
*) 0 ;
6454 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "self",(char *) "menubar", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6470 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6472 if (!SWIG_IsOK(res2
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6475 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 (arg1
)->SetMenuBar(arg2
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= SWIG_Py_Void();
6489 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 PyObject
*resultobj
= 0;
6491 wxFrame
*arg1
= (wxFrame
*) 0 ;
6492 wxMenuBar
*result
= 0 ;
6495 PyObject
*swig_obj
[1] ;
6497 if (!args
) SWIG_fail
;
6499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6500 if (!SWIG_IsOK(res1
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6503 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= wxPyMake_wxObject(result
, 0);
6519 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
= 0;
6521 wxFrame
*arg1
= (wxFrame
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6530 char * kwnames
[] = {
6531 (char *) "self",(char *) "winid", NULL
6534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6539 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6541 if (!SWIG_IsOK(ecode2
)) {
6542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6544 arg2
= static_cast< int >(val2
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6560 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
= 0;
6562 wxFrame
*arg1
= (wxFrame
*) 0 ;
6563 int arg2
= (int) 1 ;
6564 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6565 int arg4
= (int) 0 ;
6566 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6567 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6568 wxStatusBar
*result
= 0 ;
6577 bool temp5
= false ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 PyObject
* obj2
= 0 ;
6581 PyObject
* obj3
= 0 ;
6582 PyObject
* obj4
= 0 ;
6583 char * kwnames
[] = {
6584 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6592 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6595 if (!SWIG_IsOK(ecode2
)) {
6596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6598 arg2
= static_cast< int >(val2
);
6601 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6602 if (!SWIG_IsOK(ecode3
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6605 arg3
= static_cast< long >(val3
);
6608 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6609 if (!SWIG_IsOK(ecode4
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6612 arg4
= static_cast< int >(val4
);
6616 arg5
= wxString_in_helper(obj4
);
6617 if (arg5
== NULL
) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6644 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxFrame
*arg1
= (wxFrame
*) 0 ;
6647 wxStatusBar
*result
= 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6658 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6674 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxFrame
*arg1
= (wxFrame
*) 0 ;
6677 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "statBar", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6693 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6695 if (!SWIG_IsOK(res2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6698 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetStatusBar(arg2
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_Py_Void();
6712 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
= 0;
6714 wxFrame
*arg1
= (wxFrame
*) 0 ;
6715 wxString
*arg2
= 0 ;
6716 int arg3
= (int) 0 ;
6719 bool temp2
= false ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 PyObject
* obj2
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "text",(char *) "number", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6734 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6736 arg2
= wxString_in_helper(obj1
);
6737 if (arg2
== NULL
) SWIG_fail
;
6741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6742 if (!SWIG_IsOK(ecode3
)) {
6743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6745 arg3
= static_cast< int >(val3
);
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_Py_Void();
6768 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
= 0;
6770 wxFrame
*arg1
= (wxFrame
*) 0 ;
6772 int *arg3
= (int *) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6777 char * kwnames
[] = {
6778 (char *) "self",(char *) "widths", NULL
6781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6783 if (!SWIG_IsOK(res1
)) {
6784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6786 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6788 arg2
= PyList_Size(obj1
);
6789 arg3
= int_LIST_helper(obj1
);
6790 if (arg3
== NULL
) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_Py_Void();
6800 if (arg3
) delete [] arg3
;
6805 if (arg3
) delete [] arg3
;
6811 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
= 0;
6813 wxFrame
*arg1
= (wxFrame
*) 0 ;
6814 wxString
*arg2
= 0 ;
6815 int arg3
= (int) 0 ;
6818 bool temp2
= false ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 PyObject
* obj2
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "text",(char *) "number", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6833 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6841 if (!SWIG_IsOK(ecode3
)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6844 arg3
= static_cast< int >(val3
);
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_Py_Void();
6867 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
= 0;
6869 wxFrame
*arg1
= (wxFrame
*) 0 ;
6870 int arg2
= (int) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 char * kwnames
[] = {
6878 (char *) "self",(char *) "number", NULL
6881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6883 if (!SWIG_IsOK(res1
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6886 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6889 if (!SWIG_IsOK(ecode2
)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6892 arg2
= static_cast< int >(val2
);
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->PopStatusText(arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_Py_Void();
6907 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
= 0;
6909 wxFrame
*arg1
= (wxFrame
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6917 char * kwnames
[] = {
6918 (char *) "self",(char *) "n", NULL
6921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6923 if (!SWIG_IsOK(res1
)) {
6924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6926 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6928 if (!SWIG_IsOK(ecode2
)) {
6929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6931 arg2
= static_cast< int >(val2
);
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 (arg1
)->SetStatusBarPane(arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_Py_Void();
6945 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6946 PyObject
*resultobj
= 0;
6947 wxFrame
*arg1
= (wxFrame
*) 0 ;
6951 PyObject
*swig_obj
[1] ;
6953 if (!args
) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6959 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_From_int(static_cast< int >(result
));
6973 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
= 0;
6975 wxFrame
*arg1
= (wxFrame
*) 0 ;
6976 long arg2
= (long) -1 ;
6977 int arg3
= (int) -1 ;
6978 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6980 wxToolBar
*result
= 0 ;
6987 bool temp4
= false ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6991 PyObject
* obj3
= 0 ;
6992 char * kwnames
[] = {
6993 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7001 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7004 if (!SWIG_IsOK(ecode2
)) {
7005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7007 arg2
= static_cast< long >(val2
);
7010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7011 if (!SWIG_IsOK(ecode3
)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7014 arg3
= static_cast< int >(val3
);
7018 arg4
= wxString_in_helper(obj3
);
7019 if (arg4
== NULL
) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7046 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7047 PyObject
*resultobj
= 0;
7048 wxFrame
*arg1
= (wxFrame
*) 0 ;
7049 wxToolBar
*result
= 0 ;
7052 PyObject
*swig_obj
[1] ;
7054 if (!args
) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7060 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7076 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
= 0;
7078 wxFrame
*arg1
= (wxFrame
*) 0 ;
7079 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 char * kwnames
[] = {
7087 (char *) "self",(char *) "toolbar", NULL
7090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7092 if (!SWIG_IsOK(res1
)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7095 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7097 if (!SWIG_IsOK(res2
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7100 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 (arg1
)->SetToolBar(arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_Py_Void();
7114 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7116 wxFrame
*arg1
= (wxFrame
*) 0 ;
7117 wxString
*arg2
= 0 ;
7121 bool temp2
= false ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7126 PyObject
* obj2
= 0 ;
7127 char * kwnames
[] = {
7128 (char *) "self",(char *) "text",(char *) "show", NULL
7131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7136 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7138 arg2
= wxString_in_helper(obj1
);
7139 if (arg2
== NULL
) SWIG_fail
;
7142 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7143 if (!SWIG_IsOK(ecode3
)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7146 arg3
= static_cast< bool >(val3
);
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
= 0;
7170 wxFrame
*arg1
= (wxFrame
*) 0 ;
7171 wxMenu
*arg2
= (wxMenu
*) NULL
;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7178 char * kwnames
[] = {
7179 (char *) "self",(char *) "menu", NULL
7182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7187 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7190 if (!SWIG_IsOK(res2
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7193 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 (arg1
)->DoMenuUpdates(arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= SWIG_Py_Void();
7208 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7210 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7211 SwigValueWrapper
<wxVisualAttributes
> result
;
7214 PyObject
* obj0
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "variant", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7222 if (!SWIG_IsOK(ecode1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7225 arg1
= static_cast< wxWindowVariant
>(val1
);
7228 if (!wxPyCheckForApp()) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7241 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7244 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7245 return SWIG_Py_Void();
7248 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7249 return SWIG_Python_InitShadowInstance(args
);
7252 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7254 wxWindow
*arg1
= (wxWindow
*) 0 ;
7255 int arg2
= (int) (int)-1 ;
7256 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7262 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7263 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7264 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7265 wxDialog
*result
= 0 ;
7270 bool temp3
= false ;
7275 bool temp7
= false ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 PyObject
* obj2
= 0 ;
7279 PyObject
* obj3
= 0 ;
7280 PyObject
* obj4
= 0 ;
7281 PyObject
* obj5
= 0 ;
7282 PyObject
* obj6
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7295 if (!SWIG_IsOK(ecode2
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7298 arg2
= static_cast< int >(val2
);
7302 arg3
= wxString_in_helper(obj2
);
7303 if (arg3
== NULL
) SWIG_fail
;
7310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7320 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7321 if (!SWIG_IsOK(ecode6
)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7324 arg6
= static_cast< long >(val6
);
7328 arg7
= wxString_in_helper(obj6
);
7329 if (arg7
== NULL
) SWIG_fail
;
7334 if (!wxPyCheckForApp()) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7363 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7364 PyObject
*resultobj
= 0;
7365 wxDialog
*result
= 0 ;
7367 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7369 if (!wxPyCheckForApp()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (wxDialog
*)new wxDialog();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7382 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
= 0;
7384 wxDialog
*arg1
= (wxDialog
*) 0 ;
7385 wxWindow
*arg2
= (wxWindow
*) 0 ;
7386 int arg3
= (int) (int)-1 ;
7387 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7388 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7389 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7390 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7391 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7392 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7393 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7394 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7403 bool temp4
= false ;
7408 bool temp8
= false ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7411 PyObject
* obj2
= 0 ;
7412 PyObject
* obj3
= 0 ;
7413 PyObject
* obj4
= 0 ;
7414 PyObject
* obj5
= 0 ;
7415 PyObject
* obj6
= 0 ;
7416 PyObject
* obj7
= 0 ;
7417 char * kwnames
[] = {
7418 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7423 if (!SWIG_IsOK(res1
)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7426 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7428 if (!SWIG_IsOK(res2
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7431 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7434 if (!SWIG_IsOK(ecode3
)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7437 arg3
= static_cast< int >(val3
);
7441 arg4
= wxString_in_helper(obj3
);
7442 if (arg4
== NULL
) SWIG_fail
;
7449 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7455 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7459 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7460 if (!SWIG_IsOK(ecode7
)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7463 arg7
= static_cast< long >(val7
);
7467 arg8
= wxString_in_helper(obj7
);
7468 if (arg8
== NULL
) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
= 0;
7505 wxDialog
*arg1
= (wxDialog
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 char * kwnames
[] = {
7514 (char *) "self",(char *) "returnCode", NULL
7517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7522 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7524 if (!SWIG_IsOK(ecode2
)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7527 arg2
= static_cast< int >(val2
);
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 (arg1
)->SetReturnCode(arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= SWIG_Py_Void();
7541 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7542 PyObject
*resultobj
= 0;
7543 wxDialog
*arg1
= (wxDialog
*) 0 ;
7547 PyObject
*swig_obj
[1] ;
7549 if (!args
) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7555 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_From_int(static_cast< int >(result
));
7569 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= 0;
7571 wxDialog
*arg1
= (wxDialog
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 char * kwnames
[] = {
7580 (char *) "self",(char *) "affirmativeId", NULL
7583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7585 if (!SWIG_IsOK(res1
)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7588 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7590 if (!SWIG_IsOK(ecode2
)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7593 arg2
= static_cast< int >(val2
);
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 (arg1
)->SetAffirmativeId(arg2
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_Py_Void();
7607 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7608 PyObject
*resultobj
= 0;
7609 wxDialog
*arg1
= (wxDialog
*) 0 ;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7621 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_From_int(static_cast< int >(result
));
7635 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
= 0;
7637 wxDialog
*arg1
= (wxDialog
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "escapeId", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7654 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7656 if (!SWIG_IsOK(ecode2
)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7659 arg2
= static_cast< int >(val2
);
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->SetEscapeId(arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_Py_Void();
7673 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 PyObject
*resultobj
= 0;
7675 wxDialog
*arg1
= (wxDialog
*) 0 ;
7679 PyObject
*swig_obj
[1] ;
7681 if (!args
) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7687 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_From_int(static_cast< int >(result
));
7701 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
= 0;
7703 wxDialog
*arg1
= (wxDialog
*) 0 ;
7704 wxString
*arg2
= 0 ;
7705 wxSizer
*result
= 0 ;
7708 bool temp2
= false ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 char * kwnames
[] = {
7712 (char *) "self",(char *) "message", NULL
7715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7720 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7722 arg2
= wxString_in_helper(obj1
);
7723 if (arg2
== NULL
) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7749 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
= 0;
7751 wxDialog
*arg1
= (wxDialog
*) 0 ;
7753 wxSizer
*result
= 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 char * kwnames
[] = {
7761 (char *) "self",(char *) "flags", NULL
7764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7769 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7771 if (!SWIG_IsOK(ecode2
)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7774 arg2
= static_cast< long >(val2
);
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7790 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxDialog
*arg1
= (wxDialog
*) 0 ;
7794 wxSizer
*result
= 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 char * kwnames
[] = {
7802 (char *) "self",(char *) "flags", NULL
7805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7810 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7812 if (!SWIG_IsOK(ecode2
)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7815 arg2
= static_cast< long >(val2
);
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7831 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
= 0;
7833 wxDialog
*arg1
= (wxDialog
*) 0 ;
7835 wxStdDialogButtonSizer
*result
= 0 ;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7842 char * kwnames
[] = {
7843 (char *) "self",(char *) "flags", NULL
7846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7848 if (!SWIG_IsOK(res1
)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7851 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7852 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7853 if (!SWIG_IsOK(ecode2
)) {
7854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7856 arg2
= static_cast< long >(val2
);
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7870 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7872 wxDialog
*arg1
= (wxDialog
*) 0 ;
7876 PyObject
*swig_obj
[1] ;
7878 if (!args
) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7884 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7900 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7901 PyObject
*resultobj
= 0;
7902 wxDialog
*arg1
= (wxDialog
*) 0 ;
7906 PyObject
*swig_obj
[1] ;
7908 if (!args
) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7914 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (int)(arg1
)->ShowModal();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_From_int(static_cast< int >(result
));
7928 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= 0;
7930 wxDialog
*arg1
= (wxDialog
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7938 char * kwnames
[] = {
7939 (char *) "self",(char *) "retCode", NULL
7942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7947 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7949 if (!SWIG_IsOK(ecode2
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7952 arg2
= static_cast< int >(val2
);
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->EndModal(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_Py_Void();
7966 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7969 SwigValueWrapper
<wxVisualAttributes
> result
;
7972 PyObject
* obj0
= 0 ;
7973 char * kwnames
[] = {
7974 (char *) "variant", NULL
7977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7980 if (!SWIG_IsOK(ecode1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7983 arg1
= static_cast< wxWindowVariant
>(val1
);
7986 if (!wxPyCheckForApp()) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7999 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8002 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8003 return SWIG_Py_Void();
8006 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 return SWIG_Python_InitShadowInstance(args
);
8010 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= 0;
8012 wxWindow
*arg1
= (wxWindow
*) 0 ;
8013 int arg2
= (int) (int)-1 ;
8014 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8015 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8020 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8021 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8022 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8023 wxMiniFrame
*result
= 0 ;
8028 bool temp3
= false ;
8033 bool temp7
= false ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8036 PyObject
* obj2
= 0 ;
8037 PyObject
* obj3
= 0 ;
8038 PyObject
* obj4
= 0 ;
8039 PyObject
* obj5
= 0 ;
8040 PyObject
* obj6
= 0 ;
8041 char * kwnames
[] = {
8042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8053 if (!SWIG_IsOK(ecode2
)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8056 arg2
= static_cast< int >(val2
);
8060 arg3
= wxString_in_helper(obj2
);
8061 if (arg3
== NULL
) SWIG_fail
;
8068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8078 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8079 if (!SWIG_IsOK(ecode6
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8082 arg6
= static_cast< long >(val6
);
8086 arg7
= wxString_in_helper(obj6
);
8087 if (arg7
== NULL
) SWIG_fail
;
8092 if (!wxPyCheckForApp()) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8121 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8122 PyObject
*resultobj
= 0;
8123 wxMiniFrame
*result
= 0 ;
8125 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8127 if (!wxPyCheckForApp()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (wxMiniFrame
*)new wxMiniFrame();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8140 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
= 0;
8142 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8143 wxWindow
*arg2
= (wxWindow
*) 0 ;
8144 int arg3
= (int) (int)-1 ;
8145 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8147 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8148 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8149 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8150 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8151 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8152 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8153 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8161 bool temp4
= false ;
8166 bool temp8
= false ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 PyObject
* obj2
= 0 ;
8170 PyObject
* obj3
= 0 ;
8171 PyObject
* obj4
= 0 ;
8172 PyObject
* obj5
= 0 ;
8173 PyObject
* obj6
= 0 ;
8174 PyObject
* obj7
= 0 ;
8175 char * kwnames
[] = {
8176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8181 if (!SWIG_IsOK(res1
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8184 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8186 if (!SWIG_IsOK(res2
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8192 if (!SWIG_IsOK(ecode3
)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8195 arg3
= static_cast< int >(val3
);
8199 arg4
= wxString_in_helper(obj3
);
8200 if (arg4
== NULL
) SWIG_fail
;
8207 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8213 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8217 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8218 if (!SWIG_IsOK(ecode7
)) {
8219 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8221 arg7
= static_cast< long >(val7
);
8225 arg8
= wxString_in_helper(obj7
);
8226 if (arg8
== NULL
) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8261 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8264 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8265 return SWIG_Py_Void();
8268 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8269 return SWIG_Python_InitShadowInstance(args
);
8272 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= 0;
8274 wxBitmap
*arg1
= 0 ;
8275 wxWindow
*arg2
= (wxWindow
*) 0 ;
8277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8281 long arg6
= (long) wxNO_BORDER
;
8282 wxSplashScreenWindow
*result
= 0 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8295 PyObject
* obj2
= 0 ;
8296 PyObject
* obj3
= 0 ;
8297 PyObject
* obj4
= 0 ;
8298 PyObject
* obj5
= 0 ;
8299 char * kwnames
[] = {
8300 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8304 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8305 if (!SWIG_IsOK(res1
)) {
8306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8311 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8313 if (!SWIG_IsOK(res2
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8318 if (!SWIG_IsOK(ecode3
)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8321 arg3
= static_cast< int >(val3
);
8325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8335 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8336 if (!SWIG_IsOK(ecode6
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8339 arg6
= static_cast< long >(val6
);
8342 if (!wxPyCheckForApp()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8355 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
= 0;
8357 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8358 wxBitmap
*arg2
= 0 ;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8365 char * kwnames
[] = {
8366 (char *) "self",(char *) "bitmap", NULL
8369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8371 if (!SWIG_IsOK(res1
)) {
8372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8374 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8376 if (!SWIG_IsOK(res2
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8382 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_Py_Void();
8396 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8397 PyObject
*resultobj
= 0;
8398 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8399 wxBitmap
*result
= 0 ;
8402 PyObject
*swig_obj
[1] ;
8404 if (!args
) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8410 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8415 result
= (wxBitmap
*) &_result_ref
;
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8421 wxBitmap
* resultptr
= new wxBitmap(*result
);
8422 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8430 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8434 return SWIG_Py_Void();
8437 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8438 return SWIG_Python_InitShadowInstance(args
);
8441 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
= 0;
8443 wxBitmap
*arg1
= 0 ;
8446 wxWindow
*arg4
= (wxWindow
*) 0 ;
8447 int arg5
= (int) -1 ;
8448 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8449 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8450 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8451 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8452 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8453 wxSplashScreen
*result
= 0 ;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 PyObject
* obj2
= 0 ;
8471 PyObject
* obj3
= 0 ;
8472 PyObject
* obj4
= 0 ;
8473 PyObject
* obj5
= 0 ;
8474 PyObject
* obj6
= 0 ;
8475 PyObject
* obj7
= 0 ;
8476 char * kwnames
[] = {
8477 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8482 if (!SWIG_IsOK(res1
)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8489 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8490 if (!SWIG_IsOK(ecode2
)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8493 arg2
= static_cast< long >(val2
);
8494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8495 if (!SWIG_IsOK(ecode3
)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8498 arg3
= static_cast< int >(val3
);
8499 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8500 if (!SWIG_IsOK(res4
)) {
8501 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8503 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8506 if (!SWIG_IsOK(ecode5
)) {
8507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8509 arg5
= static_cast< int >(val5
);
8514 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8520 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8524 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8525 if (!SWIG_IsOK(ecode8
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8528 arg8
= static_cast< long >(val8
);
8531 if (!wxPyCheckForApp()) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8544 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8545 PyObject
*resultobj
= 0;
8546 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8550 PyObject
*swig_obj
[1] ;
8552 if (!args
) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8558 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_From_long(static_cast< long >(result
));
8572 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8573 PyObject
*resultobj
= 0;
8574 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8575 wxSplashScreenWindow
*result
= 0 ;
8578 PyObject
*swig_obj
[1] ;
8580 if (!args
) SWIG_fail
;
8582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8583 if (!SWIG_IsOK(res1
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8586 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8600 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8601 PyObject
*resultobj
= 0;
8602 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8606 PyObject
*swig_obj
[1] ;
8608 if (!args
) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8614 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_From_int(static_cast< int >(result
));
8628 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8632 return SWIG_Py_Void();
8635 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8636 return SWIG_Python_InitShadowInstance(args
);
8639 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxWindow
*arg1
= (wxWindow
*) 0 ;
8642 int arg2
= (int) -1 ;
8643 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8644 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8646 wxStatusBar
*result
= 0 ;
8653 bool temp4
= false ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 PyObject
* obj2
= 0 ;
8657 PyObject
* obj3
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8670 if (!SWIG_IsOK(ecode2
)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8673 arg2
= static_cast< int >(val2
);
8676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8677 if (!SWIG_IsOK(ecode3
)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8680 arg3
= static_cast< long >(val3
);
8684 arg4
= wxString_in_helper(obj3
);
8685 if (arg4
== NULL
) SWIG_fail
;
8690 if (!wxPyCheckForApp()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8711 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8712 PyObject
*resultobj
= 0;
8713 wxStatusBar
*result
= 0 ;
8715 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8717 if (!wxPyCheckForApp()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxStatusBar
*)new wxStatusBar();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8730 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
= 0;
8732 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8733 wxWindow
*arg2
= (wxWindow
*) 0 ;
8734 int arg3
= (int) -1 ;
8735 long arg4
= (long) wxST_SIZEGRIP
;
8736 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8737 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8747 bool temp5
= false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 PyObject
* obj3
= 0 ;
8752 PyObject
* obj4
= 0 ;
8753 char * kwnames
[] = {
8754 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8759 if (!SWIG_IsOK(res1
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8762 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8764 if (!SWIG_IsOK(res2
)) {
8765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8770 if (!SWIG_IsOK(ecode3
)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8773 arg3
= static_cast< int >(val3
);
8776 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8777 if (!SWIG_IsOK(ecode4
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8780 arg4
= static_cast< long >(val4
);
8784 arg5
= wxString_in_helper(obj4
);
8785 if (arg5
== NULL
) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8812 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8815 int arg2
= (int) 1 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "self",(char *) "number", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8831 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8834 if (!SWIG_IsOK(ecode2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8837 arg2
= static_cast< int >(val2
);
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 (arg1
)->SetFieldsCount(arg2
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_Py_Void();
8852 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8853 PyObject
*resultobj
= 0;
8854 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8858 PyObject
*swig_obj
[1] ;
8860 if (!args
) SWIG_fail
;
8862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8863 if (!SWIG_IsOK(res1
)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8866 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_From_int(static_cast< int >(result
));
8880 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8883 wxString
*arg2
= 0 ;
8884 int arg3
= (int) 0 ;
8887 bool temp2
= false ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8893 char * kwnames
[] = {
8894 (char *) "self",(char *) "text",(char *) "number", NULL
8897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8899 if (!SWIG_IsOK(res1
)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8904 arg2
= wxString_in_helper(obj1
);
8905 if (arg2
== NULL
) SWIG_fail
;
8909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8910 if (!SWIG_IsOK(ecode3
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8913 arg3
= static_cast< int >(val3
);
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_Py_Void();
8936 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
= 0;
8938 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8939 int arg2
= (int) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 char * kwnames
[] = {
8948 (char *) "self",(char *) "number", NULL
8951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8953 if (!SWIG_IsOK(res1
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8956 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8959 if (!SWIG_IsOK(ecode2
)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8962 arg2
= static_cast< int >(val2
);
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8983 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
= 0;
8985 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8986 wxString
*arg2
= 0 ;
8987 int arg3
= (int) 0 ;
8990 bool temp2
= false ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8996 char * kwnames
[] = {
8997 (char *) "self",(char *) "text",(char *) "number", NULL
9000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9005 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9007 arg2
= wxString_in_helper(obj1
);
9008 if (arg2
== NULL
) SWIG_fail
;
9012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9013 if (!SWIG_IsOK(ecode3
)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9016 arg3
= static_cast< int >(val3
);
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_Py_Void();
9039 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= 0;
9041 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9042 int arg2
= (int) 0 ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9049 char * kwnames
[] = {
9050 (char *) "self",(char *) "number", NULL
9053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9055 if (!SWIG_IsOK(res1
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9058 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9061 if (!SWIG_IsOK(ecode2
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9064 arg2
= static_cast< int >(val2
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->PopStatusText(arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9079 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
= 0;
9081 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9083 int *arg3
= (int *) 0 ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9088 char * kwnames
[] = {
9089 (char *) "self",(char *) "widths", NULL
9092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9094 if (!SWIG_IsOK(res1
)) {
9095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9097 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9099 arg2
= PyList_Size(obj1
);
9100 arg3
= int_LIST_helper(obj1
);
9101 if (arg3
== NULL
) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_Py_Void();
9111 if (arg3
) delete [] arg3
;
9116 if (arg3
) delete [] arg3
;
9122 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
= 0;
9124 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9126 int *arg3
= (int *) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 char * kwnames
[] = {
9132 (char *) "self",(char *) "styles", NULL
9135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9137 if (!SWIG_IsOK(res1
)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9140 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9142 arg2
= PyList_Size(obj1
);
9143 arg3
= int_LIST_helper(obj1
);
9144 if (arg3
== NULL
) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_Py_Void();
9154 if (arg3
) delete [] arg3
;
9159 if (arg3
) delete [] arg3
;
9165 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
= 0;
9167 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 char * kwnames
[] = {
9177 (char *) "self",(char *) "i", NULL
9180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9182 if (!SWIG_IsOK(res1
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9185 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9187 if (!SWIG_IsOK(ecode2
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9190 arg2
= static_cast< int >(val2
);
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9204 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
= 0;
9206 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 char * kwnames
[] = {
9215 (char *) "self",(char *) "height", NULL
9218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9220 if (!SWIG_IsOK(res1
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9223 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9225 if (!SWIG_IsOK(ecode2
)) {
9226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9228 arg2
= static_cast< int >(val2
);
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 (arg1
)->SetMinHeight(arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= SWIG_Py_Void();
9242 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9243 PyObject
*resultobj
= 0;
9244 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9248 PyObject
*swig_obj
[1] ;
9250 if (!args
) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9256 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_From_int(static_cast< int >(result
));
9270 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9271 PyObject
*resultobj
= 0;
9272 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9276 PyObject
*swig_obj
[1] ;
9278 if (!args
) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9284 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_From_int(static_cast< int >(result
));
9298 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
= 0;
9300 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9301 SwigValueWrapper
<wxVisualAttributes
> result
;
9304 PyObject
* obj0
= 0 ;
9305 char * kwnames
[] = {
9306 (char *) "variant", NULL
9309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9312 if (!SWIG_IsOK(ecode1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9315 arg1
= static_cast< wxWindowVariant
>(val1
);
9318 if (!wxPyCheckForApp()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9331 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9334 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9335 return SWIG_Py_Void();
9338 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 return SWIG_Python_InitShadowInstance(args
);
9342 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9343 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9348 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9349 PyObject
*pyobj
= 0;
9353 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9355 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9362 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxWindow
*arg1
= (wxWindow
*) 0 ;
9365 int arg2
= (int) -1 ;
9366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9370 long arg5
= (long) wxSP_3D
;
9371 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9373 wxSplitterWindow
*result
= 0 ;
9382 bool temp6
= false ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9385 PyObject
* obj2
= 0 ;
9386 PyObject
* obj3
= 0 ;
9387 PyObject
* obj4
= 0 ;
9388 PyObject
* obj5
= 0 ;
9389 char * kwnames
[] = {
9390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9395 if (!SWIG_IsOK(res1
)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9401 if (!SWIG_IsOK(ecode2
)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9404 arg2
= static_cast< int >(val2
);
9409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9415 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9419 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9420 if (!SWIG_IsOK(ecode5
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9423 arg5
= static_cast< long >(val5
);
9427 arg6
= wxString_in_helper(obj5
);
9428 if (arg6
== NULL
) SWIG_fail
;
9433 if (!wxPyCheckForApp()) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9454 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9455 PyObject
*resultobj
= 0;
9456 wxSplitterWindow
*result
= 0 ;
9458 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9460 if (!wxPyCheckForApp()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9473 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9476 wxWindow
*arg2
= (wxWindow
*) 0 ;
9477 int arg3
= (int) -1 ;
9478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9482 long arg6
= (long) wxSP_3D
;
9483 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9496 bool temp7
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9500 PyObject
* obj3
= 0 ;
9501 PyObject
* obj4
= 0 ;
9502 PyObject
* obj5
= 0 ;
9503 PyObject
* obj6
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9513 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9515 if (!SWIG_IsOK(res2
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9518 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9521 if (!SWIG_IsOK(ecode3
)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9524 arg3
= static_cast< int >(val3
);
9529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9539 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9540 if (!SWIG_IsOK(ecode6
)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9543 arg6
= static_cast< long >(val6
);
9547 arg7
= wxString_in_helper(obj6
);
9548 if (arg7
== NULL
) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9576 PyObject
*resultobj
= 0;
9577 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9578 wxWindow
*result
= 0 ;
9581 PyObject
*swig_obj
[1] ;
9583 if (!args
) SWIG_fail
;
9585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9586 if (!SWIG_IsOK(res1
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9589 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= wxPyMake_wxObject(result
, 0);
9605 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9606 PyObject
*resultobj
= 0;
9607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9608 wxWindow
*result
= 0 ;
9611 PyObject
*swig_obj
[1] ;
9613 if (!args
) SWIG_fail
;
9615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9616 if (!SWIG_IsOK(res1
)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9619 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= wxPyMake_wxObject(result
, 0);
9635 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
= 0;
9637 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9645 char * kwnames
[] = {
9646 (char *) "self",(char *) "mode", NULL
9649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9654 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9656 if (!SWIG_IsOK(ecode2
)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9659 arg2
= static_cast< int >(val2
);
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 (arg1
)->SetSplitMode(arg2
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_Py_Void();
9673 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9674 PyObject
*resultobj
= 0;
9675 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9679 PyObject
*swig_obj
[1] ;
9681 if (!args
) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9687 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_From_int(static_cast< int >(result
));
9701 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9704 wxWindow
*arg2
= (wxWindow
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 char * kwnames
[] = {
9712 (char *) "self",(char *) "window", NULL
9715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9717 if (!SWIG_IsOK(res1
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9720 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9722 if (!SWIG_IsOK(res2
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->Initialize(arg2
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_Py_Void();
9739 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
= 0;
9741 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9742 wxWindow
*arg2
= (wxWindow
*) 0 ;
9743 wxWindow
*arg3
= (wxWindow
*) 0 ;
9744 int arg4
= (int) 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9757 PyObject
* obj3
= 0 ;
9758 char * kwnames
[] = {
9759 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9764 if (!SWIG_IsOK(res1
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9767 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9769 if (!SWIG_IsOK(res2
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9773 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9774 if (!SWIG_IsOK(res3
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9777 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9780 if (!SWIG_IsOK(ecode4
)) {
9781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9783 arg4
= static_cast< int >(val4
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9800 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= 0;
9802 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9803 wxWindow
*arg2
= (wxWindow
*) 0 ;
9804 wxWindow
*arg3
= (wxWindow
*) 0 ;
9805 int arg4
= (int) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 PyObject
* obj2
= 0 ;
9818 PyObject
* obj3
= 0 ;
9819 char * kwnames
[] = {
9820 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9825 if (!SWIG_IsOK(res1
)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9830 if (!SWIG_IsOK(res2
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9833 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9834 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9835 if (!SWIG_IsOK(res3
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9838 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9841 if (!SWIG_IsOK(ecode4
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9844 arg4
= static_cast< int >(val4
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9861 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9864 wxWindow
*arg2
= (wxWindow
*) NULL
;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "self",(char *) "toRemove", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9878 if (!SWIG_IsOK(res1
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9881 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9884 if (!SWIG_IsOK(res2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)(arg1
)->Unsplit(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9904 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= 0;
9906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9907 wxWindow
*arg2
= (wxWindow
*) 0 ;
9908 wxWindow
*arg3
= (wxWindow
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 PyObject
* obj2
= 0 ;
9919 char * kwnames
[] = {
9920 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9928 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9930 if (!SWIG_IsOK(res2
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9934 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9935 if (!SWIG_IsOK(res3
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9938 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9954 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9955 PyObject
*resultobj
= 0;
9956 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9959 PyObject
*swig_obj
[1] ;
9961 if (!args
) SWIG_fail
;
9963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9964 if (!SWIG_IsOK(res1
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9967 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->UpdateSize();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_Py_Void();
9981 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9982 PyObject
*resultobj
= 0;
9983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9987 PyObject
*swig_obj
[1] ;
9989 if (!args
) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9995 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10011 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
= 0;
10013 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "width", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10032 if (!SWIG_IsOK(ecode2
)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10035 arg2
= static_cast< int >(val2
);
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->SetSashSize(arg2
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_Py_Void();
10049 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
= 0;
10051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 char * kwnames
[] = {
10060 (char *) "self",(char *) "width", NULL
10063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10068 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10070 if (!SWIG_IsOK(ecode2
)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10073 arg2
= static_cast< int >(val2
);
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->SetBorderSize(arg2
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_Py_Void();
10087 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10088 PyObject
*resultobj
= 0;
10089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10093 PyObject
*swig_obj
[1] ;
10095 if (!args
) SWIG_fail
;
10096 swig_obj
[0] = args
;
10097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10101 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_From_int(static_cast< int >(result
));
10115 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10129 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int(static_cast< int >(result
));
10143 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
= 0;
10145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 bool arg3
= (bool) true ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 PyObject
* obj2
= 0 ;
10157 char * kwnames
[] = {
10158 (char *) "self",(char *) "position",(char *) "redraw", NULL
10161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10163 if (!SWIG_IsOK(res1
)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10166 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10168 if (!SWIG_IsOK(ecode2
)) {
10169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10171 arg2
= static_cast< int >(val2
);
10173 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10174 if (!SWIG_IsOK(ecode3
)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10177 arg3
= static_cast< bool >(val3
);
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 (arg1
)->SetSashPosition(arg2
,arg3
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_Py_Void();
10192 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10193 PyObject
*resultobj
= 0;
10194 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10198 PyObject
*swig_obj
[1] ;
10200 if (!args
) SWIG_fail
;
10201 swig_obj
[0] = args
;
10202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10203 if (!SWIG_IsOK(res1
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10206 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_From_int(static_cast< int >(result
));
10220 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= 0;
10222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "self",(char *) "gravity", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10239 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10240 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10244 arg2
= static_cast< double >(val2
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 (arg1
)->SetSashGravity(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_Py_Void();
10258 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10259 PyObject
*resultobj
= 0;
10260 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10264 PyObject
*swig_obj
[1] ;
10266 if (!args
) SWIG_fail
;
10267 swig_obj
[0] = args
;
10268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10272 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_From_double(static_cast< double >(result
));
10286 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
= 0;
10288 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 char * kwnames
[] = {
10297 (char *) "self",(char *) "min", NULL
10300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10302 if (!SWIG_IsOK(res1
)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10305 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10307 if (!SWIG_IsOK(ecode2
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10310 arg2
= static_cast< int >(val2
);
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetMinimumPaneSize(arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_Py_Void();
10324 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 PyObject
*resultobj
= 0;
10326 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10338 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_From_int(static_cast< int >(result
));
10352 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
= 0;
10354 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10357 int arg4
= (int) 5 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 PyObject
* obj2
= 0 ;
10370 PyObject
* obj3
= 0 ;
10371 char * kwnames
[] = {
10372 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10377 if (!SWIG_IsOK(res1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10380 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10382 if (!SWIG_IsOK(ecode2
)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10385 arg2
= static_cast< int >(val2
);
10386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10387 if (!SWIG_IsOK(ecode3
)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10390 arg3
= static_cast< int >(val3
);
10392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10393 if (!SWIG_IsOK(ecode4
)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10396 arg4
= static_cast< int >(val4
);
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10413 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10414 PyObject
*resultobj
= 0;
10415 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10418 PyObject
*swig_obj
[1] ;
10420 if (!args
) SWIG_fail
;
10421 swig_obj
[0] = args
;
10422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10426 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 (arg1
)->SizeWindows();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_Py_Void();
10440 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
= 0;
10442 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 char * kwnames
[] = {
10451 (char *) "self",(char *) "needUpdating", NULL
10454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10456 if (!SWIG_IsOK(res1
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10459 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10461 if (!SWIG_IsOK(ecode2
)) {
10462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10464 arg2
= static_cast< bool >(val2
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->SetNeedUpdating(arg2
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_Py_Void();
10478 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10479 PyObject
*resultobj
= 0;
10480 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10484 PyObject
*swig_obj
[1] ;
10486 if (!args
) SWIG_fail
;
10487 swig_obj
[0] = args
;
10488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10489 if (!SWIG_IsOK(res1
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10492 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10508 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
= 0;
10510 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10511 SwigValueWrapper
<wxVisualAttributes
> result
;
10514 PyObject
* obj0
= 0 ;
10515 char * kwnames
[] = {
10516 (char *) "variant", NULL
10519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10522 if (!SWIG_IsOK(ecode1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10525 arg1
= static_cast< wxWindowVariant
>(val1
);
10528 if (!wxPyCheckForApp()) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10541 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10544 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10545 return SWIG_Py_Void();
10548 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 return SWIG_Python_InitShadowInstance(args
);
10552 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
= 0;
10554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10555 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10556 wxSplitterEvent
*result
= 0 ;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "type",(char *) "splitter", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10570 if (!SWIG_IsOK(ecode1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10573 arg1
= static_cast< wxEventType
>(val1
);
10576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10577 if (!SWIG_IsOK(res2
)) {
10578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10580 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10595 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char * kwnames
[] = {
10606 (char *) "self",(char *) "pos", NULL
10609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10611 if (!SWIG_IsOK(res1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10614 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10616 if (!SWIG_IsOK(ecode2
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10619 arg2
= static_cast< int >(val2
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetSashPosition(arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_Py_Void();
10633 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10634 PyObject
*resultobj
= 0;
10635 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10639 PyObject
*swig_obj
[1] ;
10641 if (!args
) SWIG_fail
;
10642 swig_obj
[0] = args
;
10643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10644 if (!SWIG_IsOK(res1
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10647 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_From_int(static_cast< int >(result
));
10661 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10662 PyObject
*resultobj
= 0;
10663 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10664 wxWindow
*result
= 0 ;
10667 PyObject
*swig_obj
[1] ;
10669 if (!args
) SWIG_fail
;
10670 swig_obj
[0] = args
;
10671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10672 if (!SWIG_IsOK(res1
)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10675 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= wxPyMake_wxObject(result
, 0);
10691 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10692 PyObject
*resultobj
= 0;
10693 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10697 PyObject
*swig_obj
[1] ;
10699 if (!args
) SWIG_fail
;
10700 swig_obj
[0] = args
;
10701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10705 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int(static_cast< int >(result
));
10719 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10720 PyObject
*resultobj
= 0;
10721 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10725 PyObject
*swig_obj
[1] ;
10727 if (!args
) SWIG_fail
;
10728 swig_obj
[0] = args
;
10729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10733 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_From_int(static_cast< int >(result
));
10747 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10751 return SWIG_Py_Void();
10754 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 return SWIG_Python_InitShadowInstance(args
);
10758 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10759 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10764 SWIGINTERN PyObject
*SashNameStr_get(void) {
10765 PyObject
*pyobj
= 0;
10769 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10771 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10778 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10779 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10784 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10785 PyObject
*pyobj
= 0;
10789 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10791 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10798 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
= 0;
10800 wxWindow
*arg1
= (wxWindow
*) 0 ;
10801 int arg2
= (int) -1 ;
10802 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10803 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10804 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10805 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10806 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10807 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10808 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10809 wxSashWindow
*result
= 0 ;
10818 bool temp6
= false ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 PyObject
* obj3
= 0 ;
10823 PyObject
* obj4
= 0 ;
10824 PyObject
* obj5
= 0 ;
10825 char * kwnames
[] = {
10826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10831 if (!SWIG_IsOK(res1
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10837 if (!SWIG_IsOK(ecode2
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10840 arg2
= static_cast< int >(val2
);
10845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10855 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10856 if (!SWIG_IsOK(ecode5
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10859 arg5
= static_cast< long >(val5
);
10863 arg6
= wxString_in_helper(obj5
);
10864 if (arg6
== NULL
) SWIG_fail
;
10869 if (!wxPyCheckForApp()) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10890 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10891 PyObject
*resultobj
= 0;
10892 wxSashWindow
*result
= 0 ;
10894 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10896 if (!wxPyCheckForApp()) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxSashWindow
*)new wxSashWindow();
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10909 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
= 0;
10911 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10912 wxWindow
*arg2
= (wxWindow
*) 0 ;
10913 int arg3
= (int) -1 ;
10914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10918 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10919 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10920 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10932 bool temp7
= false ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 PyObject
* obj2
= 0 ;
10936 PyObject
* obj3
= 0 ;
10937 PyObject
* obj4
= 0 ;
10938 PyObject
* obj5
= 0 ;
10939 PyObject
* obj6
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10949 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10951 if (!SWIG_IsOK(res2
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10957 if (!SWIG_IsOK(ecode3
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10960 arg3
= static_cast< int >(val3
);
10965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10975 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10976 if (!SWIG_IsOK(ecode6
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10979 arg6
= static_cast< long >(val6
);
10983 arg7
= wxString_in_helper(obj6
);
10984 if (arg7
== NULL
) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11011 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
= 0;
11013 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11014 wxSashEdgePosition arg2
;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "edge",(char *) "sash", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11034 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11036 if (!SWIG_IsOK(ecode2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11039 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11040 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11041 if (!SWIG_IsOK(ecode3
)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11044 arg3
= static_cast< bool >(val3
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->SetSashVisible(arg2
,arg3
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_Py_Void();
11058 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11061 wxSashEdgePosition arg2
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char * kwnames
[] = {
11070 (char *) "self",(char *) "edge", NULL
11073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11078 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11080 if (!SWIG_IsOK(ecode2
)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11083 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11099 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
= 0;
11101 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11102 wxSashEdgePosition arg2
;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 char * kwnames
[] = {
11114 (char *) "self",(char *) "edge",(char *) "border", NULL
11117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11122 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11124 if (!SWIG_IsOK(ecode2
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11127 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11128 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11129 if (!SWIG_IsOK(ecode3
)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11132 arg3
= static_cast< bool >(val3
);
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 (arg1
)->SetSashBorder(arg2
,arg3
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_Py_Void();
11146 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11149 wxSashEdgePosition arg2
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "edge", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11166 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11171 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
= 0;
11189 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11190 wxSashEdgePosition arg2
;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char * kwnames
[] = {
11199 (char *) "self",(char *) "edge", NULL
11202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11207 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11209 if (!SWIG_IsOK(ecode2
)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11212 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= SWIG_From_int(static_cast< int >(result
));
11226 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= 0;
11228 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char * kwnames
[] = {
11237 (char *) "self",(char *) "width", NULL
11240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11245 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11247 if (!SWIG_IsOK(ecode2
)) {
11248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11250 arg2
= static_cast< int >(val2
);
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->SetDefaultBorderSize(arg2
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= SWIG_Py_Void();
11264 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11265 PyObject
*resultobj
= 0;
11266 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11270 PyObject
*swig_obj
[1] ;
11272 if (!args
) SWIG_fail
;
11273 swig_obj
[0] = args
;
11274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11275 if (!SWIG_IsOK(res1
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11278 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_From_int(static_cast< int >(result
));
11292 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
= 0;
11294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 char * kwnames
[] = {
11303 (char *) "self",(char *) "width", NULL
11306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11311 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11313 if (!SWIG_IsOK(ecode2
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11316 arg2
= static_cast< int >(val2
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetExtraBorderSize(arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_Py_Void();
11330 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11344 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_int(static_cast< int >(result
));
11358 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
= 0;
11360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char * kwnames
[] = {
11369 (char *) "self",(char *) "min", NULL
11372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11374 if (!SWIG_IsOK(res1
)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11377 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11379 if (!SWIG_IsOK(ecode2
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11382 arg2
= static_cast< int >(val2
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->SetMinimumSizeX(arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_Py_Void();
11396 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
= 0;
11398 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char * kwnames
[] = {
11407 (char *) "self",(char *) "min", NULL
11410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11415 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11417 if (!SWIG_IsOK(ecode2
)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11420 arg2
= static_cast< int >(val2
);
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 (arg1
)->SetMinimumSizeY(arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_Py_Void();
11434 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 PyObject
*resultobj
= 0;
11436 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11440 PyObject
*swig_obj
[1] ;
11442 if (!args
) SWIG_fail
;
11443 swig_obj
[0] = args
;
11444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11448 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_From_int(static_cast< int >(result
));
11462 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11476 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_From_int(static_cast< int >(result
));
11490 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char * kwnames
[] = {
11501 (char *) "self",(char *) "max", NULL
11504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11509 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11511 if (!SWIG_IsOK(ecode2
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11514 arg2
= static_cast< int >(val2
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetMaximumSizeX(arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_Py_Void();
11528 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
= 0;
11530 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 char * kwnames
[] = {
11539 (char *) "self",(char *) "max", NULL
11542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11549 if (!SWIG_IsOK(ecode2
)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11552 arg2
= static_cast< int >(val2
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->SetMaximumSizeY(arg2
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= SWIG_Py_Void();
11566 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 PyObject
*resultobj
= 0;
11568 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11572 PyObject
*swig_obj
[1] ;
11574 if (!args
) SWIG_fail
;
11575 swig_obj
[0] = args
;
11576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_From_int(static_cast< int >(result
));
11594 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11595 PyObject
*resultobj
= 0;
11596 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11600 PyObject
*swig_obj
[1] ;
11602 if (!args
) SWIG_fail
;
11603 swig_obj
[0] = args
;
11604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11608 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_From_int(static_cast< int >(result
));
11622 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
= 0;
11624 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11627 int arg4
= (int) 2 ;
11628 wxSashEdgePosition result
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 PyObject
* obj2
= 0 ;
11640 PyObject
* obj3
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11650 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11652 if (!SWIG_IsOK(ecode2
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11655 arg2
= static_cast< int >(val2
);
11656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11657 if (!SWIG_IsOK(ecode3
)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11660 arg3
= static_cast< int >(val3
);
11662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11663 if (!SWIG_IsOK(ecode4
)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11666 arg4
= static_cast< int >(val4
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_From_int(static_cast< int >(result
));
11681 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11694 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SizeWindows();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_Py_Void();
11708 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11711 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11712 return SWIG_Py_Void();
11715 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 return SWIG_Python_InitShadowInstance(args
);
11719 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= 0;
11721 int arg1
= (int) 0 ;
11722 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11723 wxSashEvent
*result
= 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char * kwnames
[] = {
11731 (char *) "id",(char *) "edge", NULL
11734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11737 if (!SWIG_IsOK(ecode1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11740 arg1
= static_cast< int >(val1
);
11743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11744 if (!SWIG_IsOK(ecode2
)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11747 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11762 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
= 0;
11764 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11765 wxSashEdgePosition arg2
;
11770 PyObject
* obj0
= 0 ;
11771 PyObject
* obj1
= 0 ;
11772 char * kwnames
[] = {
11773 (char *) "self",(char *) "edge", NULL
11776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11781 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11783 if (!SWIG_IsOK(ecode2
)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11786 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 (arg1
)->SetEdge(arg2
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= SWIG_Py_Void();
11800 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11801 PyObject
*resultobj
= 0;
11802 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11803 wxSashEdgePosition result
;
11806 PyObject
*swig_obj
[1] ;
11808 if (!args
) SWIG_fail
;
11809 swig_obj
[0] = args
;
11810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11811 if (!SWIG_IsOK(res1
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11814 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_From_int(static_cast< int >(result
));
11828 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
= 0;
11830 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 char * kwnames
[] = {
11838 (char *) "self",(char *) "rect", NULL
11841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11846 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11870 PyObject
*swig_obj
[1] ;
11872 if (!args
) SWIG_fail
;
11873 swig_obj
[0] = args
;
11874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11878 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11892 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11895 wxSashDragStatus arg2
;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "status", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11911 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11913 if (!SWIG_IsOK(ecode2
)) {
11914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11916 arg2
= static_cast< wxSashDragStatus
>(val2
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->SetDragStatus(arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_Py_Void();
11930 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11931 PyObject
*resultobj
= 0;
11932 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11933 wxSashDragStatus result
;
11936 PyObject
*swig_obj
[1] ;
11938 if (!args
) SWIG_fail
;
11939 swig_obj
[0] = args
;
11940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11944 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_From_int(static_cast< int >(result
));
11958 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11962 return SWIG_Py_Void();
11965 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11966 return SWIG_Python_InitShadowInstance(args
);
11969 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
= 0;
11971 int arg1
= (int) 0 ;
11972 wxQueryLayoutInfoEvent
*result
= 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char * kwnames
[] = {
11977 (char *) "id", NULL
11980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11983 if (!SWIG_IsOK(ecode1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11986 arg1
= static_cast< int >(val1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12001 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
= 0;
12003 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char * kwnames
[] = {
12012 (char *) "self",(char *) "length", NULL
12015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12020 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12022 if (!SWIG_IsOK(ecode2
)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12025 arg2
= static_cast< int >(val2
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetRequestedLength(arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_Py_Void();
12039 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12040 PyObject
*resultobj
= 0;
12041 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12045 PyObject
*swig_obj
[1] ;
12047 if (!args
) SWIG_fail
;
12048 swig_obj
[0] = args
;
12049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12053 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_From_int(static_cast< int >(result
));
12067 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
= 0;
12069 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 PyObject
* obj1
= 0 ;
12077 char * kwnames
[] = {
12078 (char *) "self",(char *) "flags", NULL
12081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12083 if (!SWIG_IsOK(res1
)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12086 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12088 if (!SWIG_IsOK(ecode2
)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12091 arg2
= static_cast< int >(val2
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->SetFlags(arg2
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_Py_Void();
12105 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12119 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int(static_cast< int >(result
));
12133 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "size", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12151 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->SetSize((wxSize
const &)*arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_Py_Void();
12169 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12183 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12197 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12200 wxLayoutOrientation arg2
;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "self",(char *) "orient", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12216 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12218 if (!SWIG_IsOK(ecode2
)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12221 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 (arg1
)->SetOrientation(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_Py_Void();
12235 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12236 PyObject
*resultobj
= 0;
12237 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12238 wxLayoutOrientation result
;
12241 PyObject
*swig_obj
[1] ;
12243 if (!args
) SWIG_fail
;
12244 swig_obj
[0] = args
;
12245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12249 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_From_int(static_cast< int >(result
));
12263 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
= 0;
12265 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12266 wxLayoutAlignment arg2
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char * kwnames
[] = {
12274 (char *) "self",(char *) "align", NULL
12277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12279 if (!SWIG_IsOK(res1
)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12282 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12284 if (!SWIG_IsOK(ecode2
)) {
12285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12287 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 (arg1
)->SetAlignment(arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_Py_Void();
12301 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12302 PyObject
*resultobj
= 0;
12303 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12304 wxLayoutAlignment result
;
12307 PyObject
*swig_obj
[1] ;
12309 if (!args
) SWIG_fail
;
12310 swig_obj
[0] = args
;
12311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12312 if (!SWIG_IsOK(res1
)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12315 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_From_int(static_cast< int >(result
));
12329 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12332 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12333 return SWIG_Py_Void();
12336 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 return SWIG_Python_InitShadowInstance(args
);
12340 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
= 0;
12342 int arg1
= (int) 0 ;
12343 wxCalculateLayoutEvent
*result
= 0 ;
12346 PyObject
* obj0
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "id", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12354 if (!SWIG_IsOK(ecode1
)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12357 arg1
= static_cast< int >(val1
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12372 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "flags", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12391 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12393 if (!SWIG_IsOK(ecode2
)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12396 arg2
= static_cast< int >(val2
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetFlags(arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12412 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12416 PyObject
*swig_obj
[1] ;
12418 if (!args
) SWIG_fail
;
12419 swig_obj
[0] = args
;
12420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12421 if (!SWIG_IsOK(res1
)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12424 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_From_int(static_cast< int >(result
));
12438 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
= 0;
12440 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "rect", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12456 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetRect((wxRect
const &)*arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 PyObject
*resultobj
= 0;
12476 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12488 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12502 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12505 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12506 return SWIG_Py_Void();
12509 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12510 return SWIG_Python_InitShadowInstance(args
);
12513 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 wxWindow
*arg1
= (wxWindow
*) 0 ;
12516 int arg2
= (int) -1 ;
12517 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12518 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12519 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12520 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12521 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12522 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12523 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12524 wxSashLayoutWindow
*result
= 0 ;
12533 bool temp6
= false ;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 PyObject
* obj2
= 0 ;
12537 PyObject
* obj3
= 0 ;
12538 PyObject
* obj4
= 0 ;
12539 PyObject
* obj5
= 0 ;
12540 char * kwnames
[] = {
12541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12552 if (!SWIG_IsOK(ecode2
)) {
12553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12555 arg2
= static_cast< int >(val2
);
12560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12570 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12571 if (!SWIG_IsOK(ecode5
)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12574 arg5
= static_cast< long >(val5
);
12578 arg6
= wxString_in_helper(obj5
);
12579 if (arg6
== NULL
) SWIG_fail
;
12584 if (!wxPyCheckForApp()) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12605 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12606 PyObject
*resultobj
= 0;
12607 wxSashLayoutWindow
*result
= 0 ;
12609 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12611 if (!wxPyCheckForApp()) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12624 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= 0;
12626 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12627 wxWindow
*arg2
= (wxWindow
*) 0 ;
12628 int arg3
= (int) -1 ;
12629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12633 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12634 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12647 bool temp7
= false ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 PyObject
* obj3
= 0 ;
12652 PyObject
* obj4
= 0 ;
12653 PyObject
* obj5
= 0 ;
12654 PyObject
* obj6
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12666 if (!SWIG_IsOK(res2
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12672 if (!SWIG_IsOK(ecode3
)) {
12673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12675 arg3
= static_cast< int >(val3
);
12680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12690 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12691 if (!SWIG_IsOK(ecode6
)) {
12692 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12694 arg6
= static_cast< long >(val6
);
12698 arg7
= wxString_in_helper(obj6
);
12699 if (arg7
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12726 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12727 PyObject
*resultobj
= 0;
12728 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12729 wxLayoutAlignment result
;
12732 PyObject
*swig_obj
[1] ;
12734 if (!args
) SWIG_fail
;
12735 swig_obj
[0] = args
;
12736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12740 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_From_int(static_cast< int >(result
));
12754 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12757 wxLayoutOrientation result
;
12760 PyObject
*swig_obj
[1] ;
12762 if (!args
) SWIG_fail
;
12763 swig_obj
[0] = args
;
12764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12768 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_From_int(static_cast< int >(result
));
12782 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12785 wxLayoutAlignment arg2
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "alignment", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12801 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12803 if (!SWIG_IsOK(ecode2
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12806 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->SetAlignment(arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_Py_Void();
12820 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= 0;
12822 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 char * kwnames
[] = {
12830 (char *) "self",(char *) "size", NULL
12833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12835 if (!SWIG_IsOK(res1
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12838 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_Py_Void();
12856 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
= 0;
12858 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12859 wxLayoutOrientation arg2
;
12864 PyObject
* obj0
= 0 ;
12865 PyObject
* obj1
= 0 ;
12866 char * kwnames
[] = {
12867 (char *) "self",(char *) "orientation", NULL
12870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12872 if (!SWIG_IsOK(res1
)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12875 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12877 if (!SWIG_IsOK(ecode2
)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12880 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->SetOrientation(arg2
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_Py_Void();
12894 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12898 return SWIG_Py_Void();
12901 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12902 return SWIG_Python_InitShadowInstance(args
);
12905 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxLayoutAlgorithm
*result
= 0 ;
12909 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12923 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12924 PyObject
*resultobj
= 0;
12925 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12928 PyObject
*swig_obj
[1] ;
12930 if (!args
) SWIG_fail
;
12931 swig_obj
[0] = args
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12936 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_Py_Void();
12951 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
= 0;
12953 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12954 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12955 wxRect
*arg3
= (wxRect
*) NULL
;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 char * kwnames
[] = {
12967 (char *) "self",(char *) "frame",(char *) "rect", NULL
12970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12972 if (!SWIG_IsOK(res1
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12975 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12977 if (!SWIG_IsOK(res2
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12980 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12982 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12983 if (!SWIG_IsOK(res3
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12986 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13003 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
= 0;
13005 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13006 wxFrame
*arg2
= (wxFrame
*) 0 ;
13007 wxWindow
*arg3
= (wxWindow
*) NULL
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 char * kwnames
[] = {
13019 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13024 if (!SWIG_IsOK(res1
)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13027 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13029 if (!SWIG_IsOK(res2
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13032 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13034 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13035 if (!SWIG_IsOK(res3
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13038 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13058 wxWindow
*arg2
= (wxWindow
*) 0 ;
13059 wxWindow
*arg3
= (wxWindow
*) NULL
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 PyObject
* obj2
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13079 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13081 if (!SWIG_IsOK(res2
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13086 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13087 if (!SWIG_IsOK(res3
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13090 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13110 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13111 return SWIG_Py_Void();
13114 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13115 return SWIG_Python_InitShadowInstance(args
);
13118 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxWindow
*arg1
= (wxWindow
*) 0 ;
13121 int arg2
= (int) wxBORDER_NONE
;
13122 wxPopupWindow
*result
= 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char * kwnames
[] = {
13130 (char *) "parent",(char *) "flags", NULL
13133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13135 if (!SWIG_IsOK(res1
)) {
13136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13141 if (!SWIG_IsOK(ecode2
)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13144 arg2
= static_cast< int >(val2
);
13147 if (!wxPyCheckForApp()) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13160 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13161 PyObject
*resultobj
= 0;
13162 wxPopupWindow
*result
= 0 ;
13164 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13166 if (!wxPyCheckForApp()) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (wxPopupWindow
*)new wxPopupWindow();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13179 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
= 0;
13181 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13182 wxWindow
*arg2
= (wxWindow
*) 0 ;
13183 int arg3
= (int) wxBORDER_NONE
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 PyObject
* obj2
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "parent",(char *) "flags", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13203 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13205 if (!SWIG_IsOK(res2
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13211 if (!SWIG_IsOK(ecode3
)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13214 arg3
= static_cast< int >(val3
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
= 0;
13233 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13234 wxPoint
*arg2
= 0 ;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 PyObject
* obj2
= 0 ;
13243 char * kwnames
[] = {
13244 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13249 if (!SWIG_IsOK(res1
)) {
13250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13252 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13259 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_Py_Void();
13274 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13278 return SWIG_Py_Void();
13281 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13282 return SWIG_Python_InitShadowInstance(args
);
13285 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
= 0;
13287 wxWindow
*arg1
= (wxWindow
*) 0 ;
13288 int arg2
= (int) wxBORDER_NONE
;
13289 wxPyPopupTransientWindow
*result
= 0 ;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 char * kwnames
[] = {
13297 (char *) "parent",(char *) "style", NULL
13300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13308 if (!SWIG_IsOK(ecode2
)) {
13309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13311 arg2
= static_cast< int >(val2
);
13314 if (!wxPyCheckForApp()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13327 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 PyObject
*resultobj
= 0;
13329 wxPyPopupTransientWindow
*result
= 0 ;
13331 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13333 if (!wxPyCheckForApp()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13346 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13348 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13349 PyObject
*arg2
= (PyObject
*) 0 ;
13350 PyObject
*arg3
= (PyObject
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 PyObject
* obj2
= 0 ;
13356 char * kwnames
[] = {
13357 (char *) "self",(char *) "self",(char *) "_class", NULL
13360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13365 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13381 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13384 wxWindow
*arg2
= (wxWindow
*) NULL
;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char * kwnames
[] = {
13392 (char *) "self",(char *) "focus", NULL
13395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13400 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13403 if (!SWIG_IsOK(res2
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->Popup(arg2
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13426 PyObject
*swig_obj
[1] ;
13428 if (!args
) SWIG_fail
;
13429 swig_obj
[0] = args
;
13430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13431 if (!SWIG_IsOK(res1
)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13434 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_Py_Void();
13448 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13452 return SWIG_Py_Void();
13455 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13456 return SWIG_Python_InitShadowInstance(args
);
13459 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13461 wxWindow
*arg1
= (wxWindow
*) 0 ;
13462 wxString
*arg2
= 0 ;
13463 int arg3
= (int) 100 ;
13464 wxRect
*arg4
= (wxRect
*) NULL
;
13465 wxTipWindow
*result
= 0 ;
13468 bool temp2
= false ;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 PyObject
* obj2
= 0 ;
13476 PyObject
* obj3
= 0 ;
13477 char * kwnames
[] = {
13478 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13483 if (!SWIG_IsOK(res1
)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13494 if (!SWIG_IsOK(ecode3
)) {
13495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13497 arg3
= static_cast< int >(val3
);
13500 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13501 if (!SWIG_IsOK(res4
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13504 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13507 if (!wxPyCheckForApp()) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13528 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
= 0;
13530 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char * kwnames
[] = {
13538 (char *) "self",(char *) "rectBound", NULL
13541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13546 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13549 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13564 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13577 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13595 return SWIG_Py_Void();
13598 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13599 return SWIG_Python_InitShadowInstance(args
);
13602 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxWindow
*arg1
= (wxWindow
*) 0 ;
13605 int arg2
= (int) wxID_ANY
;
13606 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13607 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13608 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13609 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13610 long arg5
= (long) 0 ;
13611 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13612 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13613 wxPyVScrolledWindow
*result
= 0 ;
13622 bool temp6
= false ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 PyObject
* obj3
= 0 ;
13627 PyObject
* obj4
= 0 ;
13628 PyObject
* obj5
= 0 ;
13629 char * kwnames
[] = {
13630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13635 if (!SWIG_IsOK(res1
)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13641 if (!SWIG_IsOK(ecode2
)) {
13642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13644 arg2
= static_cast< int >(val2
);
13649 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13655 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13659 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13660 if (!SWIG_IsOK(ecode5
)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13663 arg5
= static_cast< long >(val5
);
13667 arg6
= wxString_in_helper(obj5
);
13668 if (arg6
== NULL
) SWIG_fail
;
13673 if (!wxPyCheckForApp()) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13694 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxPyVScrolledWindow
*result
= 0 ;
13698 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13700 if (!wxPyCheckForApp()) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13713 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
= 0;
13715 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13716 PyObject
*arg2
= (PyObject
*) 0 ;
13717 PyObject
*arg3
= (PyObject
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 PyObject
* obj2
= 0 ;
13723 char * kwnames
[] = {
13724 (char *) "self",(char *) "self",(char *) "_class", NULL
13727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13732 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_Py_Void();
13748 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13751 wxWindow
*arg2
= (wxWindow
*) 0 ;
13752 int arg3
= (int) wxID_ANY
;
13753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13757 long arg6
= (long) 0 ;
13758 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13771 bool temp7
= false ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 PyObject
* obj3
= 0 ;
13776 PyObject
* obj4
= 0 ;
13777 PyObject
* obj5
= 0 ;
13778 PyObject
* obj6
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13788 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13789 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13790 if (!SWIG_IsOK(res2
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13793 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13796 if (!SWIG_IsOK(ecode3
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13799 arg3
= static_cast< int >(val3
);
13804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13815 if (!SWIG_IsOK(ecode6
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13818 arg6
= static_cast< long >(val6
);
13822 arg7
= wxString_in_helper(obj6
);
13823 if (arg7
== NULL
) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13850 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 char * kwnames
[] = {
13861 (char *) "self",(char *) "count", NULL
13864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13869 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13870 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13871 if (!SWIG_IsOK(ecode2
)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13874 arg2
= static_cast< size_t >(val2
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetLineCount(arg2
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
= 0;
13890 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char * kwnames
[] = {
13900 (char *) "self",(char *) "line", NULL
13903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13905 if (!SWIG_IsOK(res1
)) {
13906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13908 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13909 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13910 if (!SWIG_IsOK(ecode2
)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13913 arg2
= static_cast< size_t >(val2
);
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13929 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
= 0;
13931 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char * kwnames
[] = {
13940 (char *) "self",(char *) "line", NULL
13943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13945 if (!SWIG_IsOK(res1
)) {
13946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13948 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13949 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13950 if (!SWIG_IsOK(ecode2
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13953 arg2
= static_cast< size_t >(val2
);
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->RefreshLine(arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_Py_Void();
13967 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= 0;
13969 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 PyObject
* obj2
= 0 ;
13981 char * kwnames
[] = {
13982 (char *) "self",(char *) "from",(char *) "to", NULL
13985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13990 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13991 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13992 if (!SWIG_IsOK(ecode2
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13995 arg2
= static_cast< size_t >(val2
);
13996 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13997 if (!SWIG_IsOK(ecode3
)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14000 arg3
= static_cast< size_t >(val3
);
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->RefreshLines(arg2
,arg3
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_Py_Void();
14014 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
= 0;
14016 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 PyObject
* obj2
= 0 ;
14029 char * kwnames
[] = {
14030 (char *) "self",(char *) "x",(char *) "y", NULL
14033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14038 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14040 if (!SWIG_IsOK(ecode2
)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14043 arg2
= static_cast< int >(val2
);
14044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14045 if (!SWIG_IsOK(ecode3
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14048 arg3
= static_cast< int >(val3
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_From_int(static_cast< int >(result
));
14062 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
= 0;
14064 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14065 wxPoint
*arg2
= 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char * kwnames
[] = {
14073 (char *) "self",(char *) "pt", NULL
14076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14078 if (!SWIG_IsOK(res1
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14081 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_From_int(static_cast< int >(result
));
14099 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 PyObject
*resultobj
= 0;
14101 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14112 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 (arg1
)->RefreshAll();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_Py_Void();
14126 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14140 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14154 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 PyObject
*resultobj
= 0;
14156 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14160 PyObject
*swig_obj
[1] ;
14162 if (!args
) SWIG_fail
;
14163 swig_obj
[0] = args
;
14164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14168 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14182 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 PyObject
*resultobj
= 0;
14184 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14188 PyObject
*swig_obj
[1] ;
14190 if (!args
) SWIG_fail
;
14191 swig_obj
[0] = args
;
14192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14193 if (!SWIG_IsOK(res1
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14196 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14210 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= 0;
14212 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 PyObject
* obj1
= 0 ;
14221 char * kwnames
[] = {
14222 (char *) "self",(char *) "line", NULL
14225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14230 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14232 if (!SWIG_IsOK(ecode2
)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14235 arg2
= static_cast< size_t >(val2
);
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14251 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 PyObject
*resultobj
= 0;
14253 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14257 PyObject
*swig_obj
[1] ;
14259 if (!args
) SWIG_fail
;
14260 swig_obj
[0] = args
;
14261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14265 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14279 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14280 PyObject
*resultobj
= 0;
14281 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14285 PyObject
*swig_obj
[1] ;
14287 if (!args
) SWIG_fail
;
14288 swig_obj
[0] = args
;
14289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14293 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14307 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
= 0;
14309 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14311 bool arg3
= (bool) false ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 PyObject
* obj2
= 0 ;
14322 char * kwnames
[] = {
14323 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14331 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14332 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14333 if (!SWIG_IsOK(ecode2
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14336 arg2
= static_cast< size_t >(val2
);
14338 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14339 if (!SWIG_IsOK(ecode3
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14342 arg3
= static_cast< bool >(val3
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14357 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
= 0;
14359 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 PyObject
* obj2
= 0 ;
14372 char * kwnames
[] = {
14373 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14378 if (!SWIG_IsOK(res1
)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14381 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14383 if (!SWIG_IsOK(ecode2
)) {
14384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14386 arg2
= static_cast< size_t >(val2
);
14387 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14388 if (!SWIG_IsOK(ecode3
)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14391 arg3
= static_cast< size_t >(val3
);
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_From_int(static_cast< int >(result
));
14405 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14409 return SWIG_Py_Void();
14412 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14413 return SWIG_Python_InitShadowInstance(args
);
14416 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14417 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14422 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14423 PyObject
*pyobj
= 0;
14427 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14429 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14436 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
= 0;
14438 wxWindow
*arg1
= (wxWindow
*) 0 ;
14439 int arg2
= (int) wxID_ANY
;
14440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14444 long arg5
= (long) 0 ;
14445 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14447 wxPyVListBox
*result
= 0 ;
14456 bool temp6
= false ;
14457 PyObject
* obj0
= 0 ;
14458 PyObject
* obj1
= 0 ;
14459 PyObject
* obj2
= 0 ;
14460 PyObject
* obj3
= 0 ;
14461 PyObject
* obj4
= 0 ;
14462 PyObject
* obj5
= 0 ;
14463 char * kwnames
[] = {
14464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14469 if (!SWIG_IsOK(res1
)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14472 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14475 if (!SWIG_IsOK(ecode2
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14478 arg2
= static_cast< int >(val2
);
14483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14493 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14494 if (!SWIG_IsOK(ecode5
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14497 arg5
= static_cast< long >(val5
);
14501 arg6
= wxString_in_helper(obj5
);
14502 if (arg6
== NULL
) SWIG_fail
;
14507 if (!wxPyCheckForApp()) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14528 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14529 PyObject
*resultobj
= 0;
14530 wxPyVListBox
*result
= 0 ;
14532 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14534 if (!wxPyCheckForApp()) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxPyVListBox
*)new wxPyVListBox();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14547 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
= 0;
14549 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14550 PyObject
*arg2
= (PyObject
*) 0 ;
14551 PyObject
*arg3
= (PyObject
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 PyObject
* obj2
= 0 ;
14557 char * kwnames
[] = {
14558 (char *) "self",(char *) "self",(char *) "_class", NULL
14561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14566 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_Py_Void();
14582 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
= 0;
14584 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14585 wxWindow
*arg2
= (wxWindow
*) 0 ;
14586 int arg3
= (int) wxID_ANY
;
14587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14591 long arg6
= (long) 0 ;
14592 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14605 bool temp7
= false ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 PyObject
* obj2
= 0 ;
14609 PyObject
* obj3
= 0 ;
14610 PyObject
* obj4
= 0 ;
14611 PyObject
* obj5
= 0 ;
14612 PyObject
* obj6
= 0 ;
14613 char * kwnames
[] = {
14614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14622 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14624 if (!SWIG_IsOK(res2
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14630 if (!SWIG_IsOK(ecode3
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14633 arg3
= static_cast< int >(val3
);
14638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14648 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14649 if (!SWIG_IsOK(ecode6
)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14652 arg6
= static_cast< long >(val6
);
14656 arg7
= wxString_in_helper(obj6
);
14657 if (arg7
== NULL
) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14684 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14698 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14712 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14713 PyObject
*resultobj
= 0;
14714 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14718 PyObject
*swig_obj
[1] ;
14720 if (!args
) SWIG_fail
;
14721 swig_obj
[0] = args
;
14722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14723 if (!SWIG_IsOK(res1
)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14726 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14742 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14743 PyObject
*resultobj
= 0;
14744 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14748 PyObject
*swig_obj
[1] ;
14750 if (!args
) SWIG_fail
;
14751 swig_obj
[0] = args
;
14752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14753 if (!SWIG_IsOK(res1
)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14756 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= SWIG_From_int(static_cast< int >(result
));
14770 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
= 0;
14772 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char * kwnames
[] = {
14782 (char *) "self",(char *) "item", NULL
14785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14790 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14791 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14792 if (!SWIG_IsOK(ecode2
)) {
14793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14795 arg2
= static_cast< size_t >(val2
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14811 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
= 0;
14813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char * kwnames
[] = {
14823 (char *) "self",(char *) "item", NULL
14826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14831 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14832 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14833 if (!SWIG_IsOK(ecode2
)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14836 arg2
= static_cast< size_t >(val2
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14866 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14880 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14881 PyObject
*resultobj
= 0;
14882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14883 PyObject
*result
= 0 ;
14886 PyObject
*swig_obj
[1] ;
14888 if (!args
) SWIG_fail
;
14889 swig_obj
[0] = args
;
14890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14894 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= result
;
14908 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= 0;
14910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14911 unsigned long arg2
;
14912 PyObject
*result
= 0 ;
14915 unsigned long val2
;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "self",(char *) "cookie", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14928 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14929 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14930 if (!SWIG_IsOK(ecode2
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14933 arg2
= static_cast< unsigned long >(val2
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= result
;
14947 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14953 PyObject
*swig_obj
[1] ;
14955 if (!args
) SWIG_fail
;
14956 swig_obj
[0] = args
;
14957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14961 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14975 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14976 PyObject
*resultobj
= 0;
14977 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14978 wxColour
*result
= 0 ;
14981 PyObject
*swig_obj
[1] ;
14983 if (!args
) SWIG_fail
;
14984 swig_obj
[0] = args
;
14985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14986 if (!SWIG_IsOK(res1
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14989 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14994 result
= (wxColour
*) &_result_ref
;
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15006 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
= 0;
15008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char * kwnames
[] = {
15017 (char *) "self",(char *) "count", NULL
15020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15025 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15026 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15027 if (!SWIG_IsOK(ecode2
)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15030 arg2
= static_cast< size_t >(val2
);
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 (arg1
)->SetItemCount(arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_Py_Void();
15044 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 PyObject
*resultobj
= 0;
15046 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 PyObject
*swig_obj
[1] ;
15051 if (!args
) SWIG_fail
;
15052 swig_obj
[0] = args
;
15053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15057 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "selection", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15090 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15092 if (!SWIG_IsOK(ecode2
)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15095 arg2
= static_cast< int >(val2
);
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->SetSelection(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_Py_Void();
15109 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= 0;
15111 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15113 bool arg3
= (bool) true ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char * kwnames
[] = {
15125 (char *) "self",(char *) "item",(char *) "select", NULL
15128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15133 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15134 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15135 if (!SWIG_IsOK(ecode2
)) {
15136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15138 arg2
= static_cast< size_t >(val2
);
15140 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15141 if (!SWIG_IsOK(ecode3
)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15144 arg3
= static_cast< bool >(val3
);
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15161 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
= 0;
15163 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 PyObject
* obj2
= 0 ;
15176 char * kwnames
[] = {
15177 (char *) "self",(char *) "from",(char *) "to", NULL
15180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15182 if (!SWIG_IsOK(res1
)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15185 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15186 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15187 if (!SWIG_IsOK(ecode2
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15190 arg2
= static_cast< size_t >(val2
);
15191 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15192 if (!SWIG_IsOK(ecode3
)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15195 arg3
= static_cast< size_t >(val3
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15211 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char * kwnames
[] = {
15222 (char *) "self",(char *) "item", NULL
15225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15230 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15232 if (!SWIG_IsOK(ecode2
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15235 arg2
= static_cast< size_t >(val2
);
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->Toggle(arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_Py_Void();
15249 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15250 PyObject
*resultobj
= 0;
15251 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15255 PyObject
*swig_obj
[1] ;
15257 if (!args
) SWIG_fail
;
15258 swig_obj
[0] = args
;
15259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15263 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (bool)(arg1
)->SelectAll();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15279 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 PyObject
*resultobj
= 0;
15281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15285 PyObject
*swig_obj
[1] ;
15287 if (!args
) SWIG_fail
;
15288 swig_obj
[0] = args
;
15289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15293 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (bool)(arg1
)->DeselectAll();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
= 0;
15311 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15312 wxPoint
*arg2
= 0 ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 char * kwnames
[] = {
15319 (char *) "self",(char *) "pt", NULL
15322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15324 if (!SWIG_IsOK(res1
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15327 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_Py_Void();
15345 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
= 0;
15347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 PyObject
* obj2
= 0 ;
15359 char * kwnames
[] = {
15360 (char *) "self",(char *) "x",(char *) "y", NULL
15363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15368 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15370 if (!SWIG_IsOK(ecode2
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15373 arg2
= static_cast< int >(val2
);
15374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15375 if (!SWIG_IsOK(ecode3
)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15378 arg3
= static_cast< int >(val3
);
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetMargins(arg2
,arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_Py_Void();
15392 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= 0;
15394 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15395 wxColour
*arg2
= 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char * kwnames
[] = {
15402 (char *) "self",(char *) "col", NULL
15405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15407 if (!SWIG_IsOK(res1
)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15410 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_Py_Void();
15428 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
= 0;
15430 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 PyObject
* obj3
= 0 ;
15445 char * kwnames
[] = {
15446 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15454 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15456 if (!SWIG_IsOK(res2
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15462 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15465 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15467 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15468 if (!SWIG_IsOK(ecode4
)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15471 arg4
= static_cast< size_t >(val4
);
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_Py_Void();
15485 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
= 0;
15487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 PyObject
* obj2
= 0 ;
15501 PyObject
* obj3
= 0 ;
15502 char * kwnames
[] = {
15503 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15511 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15513 if (!SWIG_IsOK(res2
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15519 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15522 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15524 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15525 if (!SWIG_IsOK(ecode4
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15528 arg4
= static_cast< size_t >(val4
);
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_Py_Void();
15542 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15546 return SWIG_Py_Void();
15549 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15550 return SWIG_Python_InitShadowInstance(args
);
15553 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= 0;
15555 wxWindow
*arg1
= (wxWindow
*) 0 ;
15556 int arg2
= (int) wxID_ANY
;
15557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15561 long arg5
= (long) 0 ;
15562 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15564 wxPyHtmlListBox
*result
= 0 ;
15573 bool temp6
= false ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 PyObject
* obj4
= 0 ;
15579 PyObject
* obj5
= 0 ;
15580 char * kwnames
[] = {
15581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15586 if (!SWIG_IsOK(res1
)) {
15587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15592 if (!SWIG_IsOK(ecode2
)) {
15593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15595 arg2
= static_cast< int >(val2
);
15600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15611 if (!SWIG_IsOK(ecode5
)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15614 arg5
= static_cast< long >(val5
);
15618 arg6
= wxString_in_helper(obj5
);
15619 if (arg6
== NULL
) SWIG_fail
;
15624 if (!wxPyCheckForApp()) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15645 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15646 PyObject
*resultobj
= 0;
15647 wxPyHtmlListBox
*result
= 0 ;
15649 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15651 if (!wxPyCheckForApp()) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15664 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15667 PyObject
*arg2
= (PyObject
*) 0 ;
15668 PyObject
*arg3
= (PyObject
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "self",(char *) "_class", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15683 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= SWIG_Py_Void();
15699 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
= 0;
15701 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15702 wxWindow
*arg2
= (wxWindow
*) 0 ;
15703 int arg3
= (int) wxID_ANY
;
15704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15708 long arg6
= (long) 0 ;
15709 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15722 bool temp7
= false ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 PyObject
* obj2
= 0 ;
15726 PyObject
* obj3
= 0 ;
15727 PyObject
* obj4
= 0 ;
15728 PyObject
* obj5
= 0 ;
15729 PyObject
* obj6
= 0 ;
15730 char * kwnames
[] = {
15731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15739 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15741 if (!SWIG_IsOK(res2
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15747 if (!SWIG_IsOK(ecode3
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15750 arg3
= static_cast< int >(val3
);
15755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15766 if (!SWIG_IsOK(ecode6
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15769 arg6
= static_cast< long >(val6
);
15773 arg7
= wxString_in_helper(obj6
);
15774 if (arg7
== NULL
) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
= 0;
15803 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 char * kwnames
[] = {
15812 (char *) "self",(char *) "count", NULL
15815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15817 if (!SWIG_IsOK(res1
)) {
15818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15820 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15821 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15822 if (!SWIG_IsOK(ecode2
)) {
15823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15825 arg2
= static_cast< size_t >(val2
);
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 (arg1
)->SetItemCount(arg2
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15842 wxFileSystem
*result
= 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_wxPyHtmlListBox
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15853 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15858 result
= (wxFileSystem
*) &_result_ref
;
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15870 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
= 0;
15872 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15874 wxHtmlLinkInfo
*arg3
= 0 ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 PyObject
* obj2
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "self",(char *) "n",(char *) "link", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15893 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15894 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15895 if (!SWIG_IsOK(ecode2
)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15898 arg2
= static_cast< size_t >(val2
);
15899 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15900 if (!SWIG_IsOK(res3
)) {
15901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15906 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_Py_Void();
15920 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15924 return SWIG_Py_Void();
15927 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15928 return SWIG_Python_InitShadowInstance(args
);
15931 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15932 PyObject
*resultobj
= 0;
15933 wxPyTaskBarIcon
*result
= 0 ;
15935 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15937 if (!wxPyCheckForApp()) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15950 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15951 PyObject
*resultobj
= 0;
15952 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15955 PyObject
*swig_obj
[1] ;
15957 if (!args
) SWIG_fail
;
15958 swig_obj
[0] = args
;
15959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15963 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= SWIG_Py_Void();
15978 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
= 0;
15980 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15981 PyObject
*arg2
= (PyObject
*) 0 ;
15982 PyObject
*arg3
= (PyObject
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 PyObject
* obj3
= 0 ;
15992 char * kwnames
[] = {
15993 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15998 if (!SWIG_IsOK(res1
)) {
15999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16001 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16005 if (!SWIG_IsOK(ecode4
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16008 arg4
= static_cast< int >(val4
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_Py_Void();
16022 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16023 PyObject
*resultobj
= 0;
16024 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16027 PyObject
*swig_obj
[1] ;
16029 if (!args
) SWIG_fail
;
16030 swig_obj
[0] = args
;
16031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16035 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 wxPyTaskBarIcon_Destroy(arg1
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_Py_Void();
16049 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16050 PyObject
*resultobj
= 0;
16051 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16055 PyObject
*swig_obj
[1] ;
16057 if (!args
) SWIG_fail
;
16058 swig_obj
[0] = args
;
16059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16063 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16080 PyObject
*resultobj
= 0;
16081 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16085 PyObject
*swig_obj
[1] ;
16087 if (!args
) SWIG_fail
;
16088 swig_obj
[0] = args
;
16089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16090 if (!SWIG_IsOK(res1
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16093 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= 0;
16111 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16120 bool temp3
= false ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 PyObject
* obj2
= 0 ;
16124 char * kwnames
[] = {
16125 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16130 if (!SWIG_IsOK(res1
)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16133 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16135 if (!SWIG_IsOK(res2
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16141 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16144 arg3
= wxString_in_helper(obj2
);
16145 if (arg3
== NULL
) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16173 PyObject
*resultobj
= 0;
16174 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16178 PyObject
*swig_obj
[1] ;
16180 if (!args
) SWIG_fail
;
16181 swig_obj
[0] = args
;
16182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16183 if (!SWIG_IsOK(res1
)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16186 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (bool)(arg1
)->RemoveIcon();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16202 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
= 0;
16204 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16205 wxMenu
*arg2
= (wxMenu
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char * kwnames
[] = {
16214 (char *) "self",(char *) "menu", NULL
16217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16219 if (!SWIG_IsOK(res1
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16222 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16224 if (!SWIG_IsOK(res2
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16227 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= (bool)(arg1
)->PopupMenu(arg2
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16247 return SWIG_Py_Void();
16250 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16251 return SWIG_Python_InitShadowInstance(args
);
16254 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
= 0;
16257 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16258 wxTaskBarIconEvent
*result
= 0 ;
16263 PyObject
* obj0
= 0 ;
16264 PyObject
* obj1
= 0 ;
16265 char * kwnames
[] = {
16266 (char *) "evtType",(char *) "tbIcon", NULL
16269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16271 if (!SWIG_IsOK(ecode1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16274 arg1
= static_cast< wxEventType
>(val1
);
16275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16276 if (!SWIG_IsOK(res2
)) {
16277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16279 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16293 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16296 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16297 return SWIG_Py_Void();
16300 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16301 return SWIG_Python_InitShadowInstance(args
);
16304 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16305 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16310 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16311 PyObject
*pyobj
= 0;
16315 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16317 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16324 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16325 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16330 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16331 PyObject
*pyobj
= 0;
16335 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16337 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16344 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16345 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16350 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16351 PyObject
*pyobj
= 0;
16355 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16357 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16364 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16365 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16370 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16371 PyObject
*pyobj
= 0;
16375 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16377 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16384 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16385 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16390 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16391 PyObject
*pyobj
= 0;
16395 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16397 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16404 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16405 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16410 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16411 PyObject
*pyobj
= 0;
16415 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16417 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16424 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16425 PyObject
*resultobj
= 0;
16426 wxColourData
*result
= 0 ;
16428 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (wxColourData
*)new wxColourData();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16442 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16443 PyObject
*resultobj
= 0;
16444 wxColourData
*arg1
= (wxColourData
*) 0 ;
16447 PyObject
*swig_obj
[1] ;
16449 if (!args
) SWIG_fail
;
16450 swig_obj
[0] = args
;
16451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16455 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_Py_Void();
16470 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16471 PyObject
*resultobj
= 0;
16472 wxColourData
*arg1
= (wxColourData
*) 0 ;
16476 PyObject
*swig_obj
[1] ;
16478 if (!args
) SWIG_fail
;
16479 swig_obj
[0] = args
;
16480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16484 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (bool)(arg1
)->GetChooseFull();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16501 PyObject
*resultobj
= 0;
16502 wxColourData
*arg1
= (wxColourData
*) 0 ;
16506 PyObject
*swig_obj
[1] ;
16508 if (!args
) SWIG_fail
;
16509 swig_obj
[0] = args
;
16510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16511 if (!SWIG_IsOK(res1
)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16514 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (arg1
)->GetColour();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16528 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
= 0;
16530 wxColourData
*arg1
= (wxColourData
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char * kwnames
[] = {
16540 (char *) "self",(char *) "i", NULL
16543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16548 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16550 if (!SWIG_IsOK(ecode2
)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16553 arg2
= static_cast< int >(val2
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (arg1
)->GetCustomColour(arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16567 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
= 0;
16569 wxColourData
*arg1
= (wxColourData
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char * kwnames
[] = {
16578 (char *) "self",(char *) "flag", NULL
16581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16583 if (!SWIG_IsOK(res1
)) {
16584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16586 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16588 if (!SWIG_IsOK(ecode2
)) {
16589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16591 arg2
= static_cast< int >(val2
);
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 (arg1
)->SetChooseFull(arg2
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_Py_Void();
16605 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= 0;
16607 wxColourData
*arg1
= (wxColourData
*) 0 ;
16608 wxColour
*arg2
= 0 ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "self",(char *) "colour", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16623 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16626 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetColour((wxColour
const &)*arg2
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= SWIG_Py_Void();
16641 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
= 0;
16643 wxColourData
*arg1
= (wxColourData
*) 0 ;
16645 wxColour
*arg3
= 0 ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 PyObject
* obj2
= 0 ;
16654 char * kwnames
[] = {
16655 (char *) "self",(char *) "i",(char *) "colour", NULL
16658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16660 if (!SWIG_IsOK(res1
)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16663 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16665 if (!SWIG_IsOK(ecode2
)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16668 arg2
= static_cast< int >(val2
);
16671 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_Py_Void();
16686 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16690 return SWIG_Py_Void();
16693 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 return SWIG_Python_InitShadowInstance(args
);
16697 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
= 0;
16699 wxWindow
*arg1
= (wxWindow
*) 0 ;
16700 wxColourData
*arg2
= (wxColourData
*) NULL
;
16701 wxColourDialog
*result
= 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char * kwnames
[] = {
16709 (char *) "parent",(char *) "data", NULL
16712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16714 if (!SWIG_IsOK(res1
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16720 if (!SWIG_IsOK(res2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16723 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16726 if (!wxPyCheckForApp()) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16739 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16740 PyObject
*resultobj
= 0;
16741 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16742 wxColourData
*result
= 0 ;
16745 PyObject
*swig_obj
[1] ;
16747 if (!args
) SWIG_fail
;
16748 swig_obj
[0] = args
;
16749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16753 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16758 result
= (wxColourData
*) &_result_ref
;
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16770 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16773 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16774 return SWIG_Py_Void();
16777 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16778 return SWIG_Python_InitShadowInstance(args
);
16781 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
= 0;
16783 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16784 wxColour
const &arg2_defvalue
= wxNullColour
;
16785 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16786 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16787 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16792 bool temp3
= false ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 PyObject
* obj2
= 0 ;
16796 char * kwnames
[] = {
16797 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16803 if (!SWIG_IsOK(res1
)) {
16804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16816 arg3
= wxString_in_helper(obj2
);
16817 if (arg3
== NULL
) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16842 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= 0;
16844 wxWindow
*arg1
= (wxWindow
*) 0 ;
16845 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16846 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16849 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16850 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16851 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16852 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16853 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16854 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16856 wxDirDialog
*result
= 0 ;
16859 bool temp2
= false ;
16860 bool temp3
= false ;
16865 bool temp7
= false ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 PyObject
* obj2
= 0 ;
16869 PyObject
* obj3
= 0 ;
16870 PyObject
* obj4
= 0 ;
16871 PyObject
* obj5
= 0 ;
16872 PyObject
* obj6
= 0 ;
16873 char * kwnames
[] = {
16874 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16885 arg2
= wxString_in_helper(obj1
);
16886 if (arg2
== NULL
) SWIG_fail
;
16892 arg3
= wxString_in_helper(obj2
);
16893 if (arg3
== NULL
) SWIG_fail
;
16898 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16899 if (!SWIG_IsOK(ecode4
)) {
16900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16902 arg4
= static_cast< long >(val4
);
16907 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16913 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16918 arg7
= wxString_in_helper(obj6
);
16919 if (arg7
== NULL
) SWIG_fail
;
16924 if (!wxPyCheckForApp()) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16961 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16962 PyObject
*resultobj
= 0;
16963 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16967 PyObject
*swig_obj
[1] ;
16969 if (!args
) SWIG_fail
;
16970 swig_obj
[0] = args
;
16971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16975 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (arg1
)->GetPath();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16995 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16996 PyObject
*resultobj
= 0;
16997 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17001 PyObject
*swig_obj
[1] ;
17003 if (!args
) SWIG_fail
;
17004 swig_obj
[0] = args
;
17005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17006 if (!SWIG_IsOK(res1
)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17009 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (arg1
)->GetMessage();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17029 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
= 0;
17031 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17032 wxString
*arg2
= 0 ;
17035 bool temp2
= false ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char * kwnames
[] = {
17039 (char *) "self",(char *) "message", NULL
17042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17044 if (!SWIG_IsOK(res1
)) {
17045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17047 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17049 arg2
= wxString_in_helper(obj1
);
17050 if (arg2
== NULL
) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 (arg1
)->SetMessage((wxString
const &)*arg2
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= SWIG_Py_Void();
17074 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
= 0;
17076 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17077 wxString
*arg2
= 0 ;
17080 bool temp2
= false ;
17081 PyObject
* obj0
= 0 ;
17082 PyObject
* obj1
= 0 ;
17083 char * kwnames
[] = {
17084 (char *) "self",(char *) "path", NULL
17087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17089 if (!SWIG_IsOK(res1
)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17092 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17094 arg2
= wxString_in_helper(obj1
);
17095 if (arg2
== NULL
) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 (arg1
)->SetPath((wxString
const &)*arg2
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= SWIG_Py_Void();
17119 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17122 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17123 return SWIG_Py_Void();
17126 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17127 return SWIG_Python_InitShadowInstance(args
);
17130 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxWindow
*arg1
= (wxWindow
*) 0 ;
17133 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17134 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17135 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17137 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17138 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17139 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17140 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17141 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17142 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17143 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17144 wxFileDialog
*result
= 0 ;
17147 bool temp2
= false ;
17148 bool temp3
= false ;
17149 bool temp4
= false ;
17150 bool temp5
= false ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 PyObject
* obj2
= 0 ;
17157 PyObject
* obj3
= 0 ;
17158 PyObject
* obj4
= 0 ;
17159 PyObject
* obj5
= 0 ;
17160 PyObject
* obj6
= 0 ;
17161 char * kwnames
[] = {
17162 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17167 if (!SWIG_IsOK(res1
)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17173 arg2
= wxString_in_helper(obj1
);
17174 if (arg2
== NULL
) SWIG_fail
;
17180 arg3
= wxString_in_helper(obj2
);
17181 if (arg3
== NULL
) SWIG_fail
;
17187 arg4
= wxString_in_helper(obj3
);
17188 if (arg4
== NULL
) SWIG_fail
;
17194 arg5
= wxString_in_helper(obj4
);
17195 if (arg5
== NULL
) SWIG_fail
;
17200 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17201 if (!SWIG_IsOK(ecode6
)) {
17202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17204 arg6
= static_cast< long >(val6
);
17209 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17213 if (!wxPyCheckForApp()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17258 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
= 0;
17260 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17261 wxString
*arg2
= 0 ;
17264 bool temp2
= false ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char * kwnames
[] = {
17268 (char *) "self",(char *) "message", NULL
17271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17276 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17278 arg2
= wxString_in_helper(obj1
);
17279 if (arg2
== NULL
) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 (arg1
)->SetMessage((wxString
const &)*arg2
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17306 wxString
*arg2
= 0 ;
17309 bool temp2
= false ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char * kwnames
[] = {
17313 (char *) "self",(char *) "path", NULL
17316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17318 if (!SWIG_IsOK(res1
)) {
17319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17321 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17323 arg2
= wxString_in_helper(obj1
);
17324 if (arg2
== NULL
) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 (arg1
)->SetPath((wxString
const &)*arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_Py_Void();
17348 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
= 0;
17350 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17351 wxString
*arg2
= 0 ;
17354 bool temp2
= false ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char * kwnames
[] = {
17358 (char *) "self",(char *) "dir", NULL
17361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17363 if (!SWIG_IsOK(res1
)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17366 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17368 arg2
= wxString_in_helper(obj1
);
17369 if (arg2
== NULL
) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_Py_Void();
17393 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= 0;
17395 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17396 wxString
*arg2
= 0 ;
17399 bool temp2
= false ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 char * kwnames
[] = {
17403 (char *) "self",(char *) "name", NULL
17406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17408 if (!SWIG_IsOK(res1
)) {
17409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17411 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17413 arg2
= wxString_in_helper(obj1
);
17414 if (arg2
== NULL
) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->SetFilename((wxString
const &)*arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_Py_Void();
17438 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
= 0;
17440 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17441 wxString
*arg2
= 0 ;
17444 bool temp2
= false ;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char * kwnames
[] = {
17448 (char *) "self",(char *) "wildCard", NULL
17451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17453 if (!SWIG_IsOK(res1
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17456 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17458 arg2
= wxString_in_helper(obj1
);
17459 if (arg2
== NULL
) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_Py_Void();
17483 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
= 0;
17485 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 char * kwnames
[] = {
17494 (char *) "self",(char *) "filterIndex", NULL
17497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17499 if (!SWIG_IsOK(res1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17502 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17504 if (!SWIG_IsOK(ecode2
)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17507 arg2
= static_cast< int >(val2
);
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 (arg1
)->SetFilterIndex(arg2
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_Py_Void();
17521 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17522 PyObject
*resultobj
= 0;
17523 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17527 PyObject
*swig_obj
[1] ;
17529 if (!args
) SWIG_fail
;
17530 swig_obj
[0] = args
;
17531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17535 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17555 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17556 PyObject
*resultobj
= 0;
17557 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17561 PyObject
*swig_obj
[1] ;
17563 if (!args
) SWIG_fail
;
17564 swig_obj
[0] = args
;
17565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17569 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17589 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17590 PyObject
*resultobj
= 0;
17591 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17595 PyObject
*swig_obj
[1] ;
17597 if (!args
) SWIG_fail
;
17598 swig_obj
[0] = args
;
17599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17600 if (!SWIG_IsOK(res1
)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17603 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17623 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17629 PyObject
*swig_obj
[1] ;
17631 if (!args
) SWIG_fail
;
17632 swig_obj
[0] = args
;
17633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17634 if (!SWIG_IsOK(res1
)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17637 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17657 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17658 PyObject
*resultobj
= 0;
17659 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17663 PyObject
*swig_obj
[1] ;
17665 if (!args
) SWIG_fail
;
17666 swig_obj
[0] = args
;
17667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17671 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17691 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17692 PyObject
*resultobj
= 0;
17693 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17697 PyObject
*swig_obj
[1] ;
17699 if (!args
) SWIG_fail
;
17700 swig_obj
[0] = args
;
17701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17702 if (!SWIG_IsOK(res1
)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17705 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_From_int(static_cast< int >(result
));
17719 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17720 PyObject
*resultobj
= 0;
17721 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17722 PyObject
*result
= 0 ;
17725 PyObject
*swig_obj
[1] ;
17727 if (!args
) SWIG_fail
;
17728 swig_obj
[0] = args
;
17729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17733 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= result
;
17747 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17748 PyObject
*resultobj
= 0;
17749 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17750 PyObject
*result
= 0 ;
17753 PyObject
*swig_obj
[1] ;
17755 if (!args
) SWIG_fail
;
17756 swig_obj
[0] = args
;
17757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17758 if (!SWIG_IsOK(res1
)) {
17759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17761 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
;
17775 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17778 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17779 return SWIG_Py_Void();
17782 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 return SWIG_Python_InitShadowInstance(args
);
17786 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
= 0;
17788 wxWindow
*arg1
= (wxWindow
*) 0 ;
17789 wxString
*arg2
= 0 ;
17790 wxString
*arg3
= 0 ;
17791 int arg4
= (int) 0 ;
17792 wxString
*arg5
= (wxString
*) NULL
;
17793 long arg6
= (long) wxCHOICEDLG_STYLE
;
17794 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17795 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17796 wxMultiChoiceDialog
*result
= 0 ;
17799 bool temp2
= false ;
17800 bool temp3
= false ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 PyObject
* obj3
= 0 ;
17808 PyObject
* obj4
= 0 ;
17809 PyObject
* obj5
= 0 ;
17810 char * kwnames
[] = {
17811 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17816 if (!SWIG_IsOK(res1
)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17821 arg2
= wxString_in_helper(obj1
);
17822 if (arg2
== NULL
) SWIG_fail
;
17826 arg3
= wxString_in_helper(obj2
);
17827 if (arg3
== NULL
) SWIG_fail
;
17832 arg4
= PyList_Size(obj3
);
17833 arg5
= wxString_LIST_helper(obj3
);
17834 if (arg5
== NULL
) SWIG_fail
;
17838 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17839 if (!SWIG_IsOK(ecode6
)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17842 arg6
= static_cast< long >(val6
);
17847 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17851 if (!wxPyCheckForApp()) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17867 if (arg5
) delete [] arg5
;
17880 if (arg5
) delete [] arg5
;
17886 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= 0;
17888 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17889 wxArrayInt
*arg2
= 0 ;
17892 bool temp2
= false ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char * kwnames
[] = {
17896 (char *) "self",(char *) "selections", NULL
17899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17904 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17906 if (! PySequence_Check(obj1
)) {
17907 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17910 arg2
= new wxArrayInt
;
17912 int i
, len
=PySequence_Length(obj1
);
17913 for (i
=0; i
<len
; i
++) {
17914 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17915 PyObject
* number
= PyNumber_Int(item
);
17917 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17920 arg2
->Add(PyInt_AS_LONG(number
));
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_Py_Void();
17933 if (temp2
) delete arg2
;
17938 if (temp2
) delete arg2
;
17944 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17945 PyObject
*resultobj
= 0;
17946 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17947 PyObject
*result
= 0 ;
17950 PyObject
*swig_obj
[1] ;
17952 if (!args
) SWIG_fail
;
17953 swig_obj
[0] = args
;
17954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17955 if (!SWIG_IsOK(res1
)) {
17956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17958 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
;
17972 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17975 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17976 return SWIG_Py_Void();
17979 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17980 return SWIG_Python_InitShadowInstance(args
);
17983 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= 0;
17985 wxWindow
*arg1
= (wxWindow
*) 0 ;
17986 wxString
*arg2
= 0 ;
17987 wxString
*arg3
= 0 ;
17989 wxString
*arg5
= (wxString
*) 0 ;
17990 long arg6
= (long) wxCHOICEDLG_STYLE
;
17991 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17992 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17993 wxSingleChoiceDialog
*result
= 0 ;
17996 bool temp2
= false ;
17997 bool temp3
= false ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 PyObject
* obj2
= 0 ;
18004 PyObject
* obj3
= 0 ;
18005 PyObject
* obj4
= 0 ;
18006 PyObject
* obj5
= 0 ;
18007 char * kwnames
[] = {
18008 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18016 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18018 arg2
= wxString_in_helper(obj1
);
18019 if (arg2
== NULL
) SWIG_fail
;
18023 arg3
= wxString_in_helper(obj2
);
18024 if (arg3
== NULL
) SWIG_fail
;
18028 arg4
= PyList_Size(obj3
);
18029 arg5
= wxString_LIST_helper(obj3
);
18030 if (arg5
== NULL
) SWIG_fail
;
18033 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18034 if (!SWIG_IsOK(ecode6
)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18037 arg6
= static_cast< long >(val6
);
18042 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18046 if (!wxPyCheckForApp()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18062 if (arg5
) delete [] arg5
;
18075 if (arg5
) delete [] arg5
;
18081 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18082 PyObject
*resultobj
= 0;
18083 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18087 PyObject
*swig_obj
[1] ;
18089 if (!args
) SWIG_fail
;
18090 swig_obj
[0] = args
;
18091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18095 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (int)(arg1
)->GetSelection();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_From_int(static_cast< int >(result
));
18109 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18110 PyObject
*resultobj
= 0;
18111 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18115 PyObject
*swig_obj
[1] ;
18117 if (!args
) SWIG_fail
;
18118 swig_obj
[0] = args
;
18119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18120 if (!SWIG_IsOK(res1
)) {
18121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18123 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (arg1
)->GetStringSelection();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18143 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= 0;
18145 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char * kwnames
[] = {
18154 (char *) "self",(char *) "sel", NULL
18157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18159 if (!SWIG_IsOK(res1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18162 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18164 if (!SWIG_IsOK(ecode2
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18167 arg2
= static_cast< int >(val2
);
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->SetSelection(arg2
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_Py_Void();
18181 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18184 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18185 return SWIG_Py_Void();
18188 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18189 return SWIG_Python_InitShadowInstance(args
);
18192 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxWindow
*arg1
= (wxWindow
*) 0 ;
18195 wxString
*arg2
= 0 ;
18196 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18197 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18198 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18199 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18200 long arg5
= (long) wxTextEntryDialogStyle
;
18201 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18202 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18203 wxTextEntryDialog
*result
= 0 ;
18206 bool temp2
= false ;
18207 bool temp3
= false ;
18208 bool temp4
= false ;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 PyObject
* obj2
= 0 ;
18215 PyObject
* obj3
= 0 ;
18216 PyObject
* obj4
= 0 ;
18217 PyObject
* obj5
= 0 ;
18218 char * kwnames
[] = {
18219 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18224 if (!SWIG_IsOK(res1
)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18227 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18229 arg2
= wxString_in_helper(obj1
);
18230 if (arg2
== NULL
) SWIG_fail
;
18235 arg3
= wxString_in_helper(obj2
);
18236 if (arg3
== NULL
) SWIG_fail
;
18242 arg4
= wxString_in_helper(obj3
);
18243 if (arg4
== NULL
) SWIG_fail
;
18248 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18249 if (!SWIG_IsOK(ecode5
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18252 arg5
= static_cast< long >(val5
);
18257 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18261 if (!wxPyCheckForApp()) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18298 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18299 PyObject
*resultobj
= 0;
18300 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18304 PyObject
*swig_obj
[1] ;
18306 if (!args
) SWIG_fail
;
18307 swig_obj
[0] = args
;
18308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18312 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (arg1
)->GetValue();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18332 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
= 0;
18334 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18335 wxString
*arg2
= 0 ;
18338 bool temp2
= false ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 char * kwnames
[] = {
18342 (char *) "self",(char *) "value", NULL
18345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18347 if (!SWIG_IsOK(res1
)) {
18348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18350 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18352 arg2
= wxString_in_helper(obj1
);
18353 if (arg2
== NULL
) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->SetValue((wxString
const &)*arg2
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= SWIG_Py_Void();
18377 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18380 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18381 return SWIG_Py_Void();
18384 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18385 return SWIG_Python_InitShadowInstance(args
);
18388 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18389 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18394 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18395 PyObject
*pyobj
= 0;
18399 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18401 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18408 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
= 0;
18410 wxWindow
*arg1
= (wxWindow
*) 0 ;
18411 wxString
*arg2
= 0 ;
18412 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18413 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18416 long arg5
= (long) wxTextEntryDialogStyle
;
18417 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18418 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18419 wxPasswordEntryDialog
*result
= 0 ;
18422 bool temp2
= false ;
18423 bool temp3
= false ;
18424 bool temp4
= false ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 PyObject
* obj3
= 0 ;
18432 PyObject
* obj4
= 0 ;
18433 PyObject
* obj5
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18445 arg2
= wxString_in_helper(obj1
);
18446 if (arg2
== NULL
) SWIG_fail
;
18451 arg3
= wxString_in_helper(obj2
);
18452 if (arg3
== NULL
) SWIG_fail
;
18458 arg4
= wxString_in_helper(obj3
);
18459 if (arg4
== NULL
) SWIG_fail
;
18464 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18465 if (!SWIG_IsOK(ecode5
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18468 arg5
= static_cast< long >(val5
);
18473 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18513 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18516 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18517 return SWIG_Py_Void();
18520 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18521 return SWIG_Python_InitShadowInstance(args
);
18524 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= 0;
18526 wxWindow
*arg1
= (wxWindow
*) 0 ;
18527 wxString
*arg2
= 0 ;
18528 wxString
*arg3
= 0 ;
18529 wxString
*arg4
= 0 ;
18533 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18534 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18535 wxNumberEntryDialog
*result
= 0 ;
18538 bool temp2
= false ;
18539 bool temp3
= false ;
18540 bool temp4
= false ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 PyObject
* obj2
= 0 ;
18551 PyObject
* obj3
= 0 ;
18552 PyObject
* obj4
= 0 ;
18553 PyObject
* obj5
= 0 ;
18554 PyObject
* obj6
= 0 ;
18555 PyObject
* obj7
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18567 arg2
= wxString_in_helper(obj1
);
18568 if (arg2
== NULL
) SWIG_fail
;
18572 arg3
= wxString_in_helper(obj2
);
18573 if (arg3
== NULL
) SWIG_fail
;
18577 arg4
= wxString_in_helper(obj3
);
18578 if (arg4
== NULL
) SWIG_fail
;
18581 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18582 if (!SWIG_IsOK(ecode5
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18585 arg5
= static_cast< long >(val5
);
18586 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18587 if (!SWIG_IsOK(ecode6
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18590 arg6
= static_cast< long >(val6
);
18591 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18592 if (!SWIG_IsOK(ecode7
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18595 arg7
= static_cast< long >(val7
);
18599 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18603 if (!wxPyCheckForApp()) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18640 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18641 PyObject
*resultobj
= 0;
18642 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18646 PyObject
*swig_obj
[1] ;
18648 if (!args
) SWIG_fail
;
18649 swig_obj
[0] = args
;
18650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18654 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (long)(arg1
)->GetValue();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_From_long(static_cast< long >(result
));
18668 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18671 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18672 return SWIG_Py_Void();
18675 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 return SWIG_Python_InitShadowInstance(args
);
18679 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18680 PyObject
*resultobj
= 0;
18681 wxFontData
*result
= 0 ;
18683 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (wxFontData
*)new wxFontData();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18697 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18698 PyObject
*resultobj
= 0;
18699 wxFontData
*arg1
= (wxFontData
*) 0 ;
18702 PyObject
*swig_obj
[1] ;
18704 if (!args
) SWIG_fail
;
18705 swig_obj
[0] = args
;
18706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18707 if (!SWIG_IsOK(res1
)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18710 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_Py_Void();
18725 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
= 0;
18727 wxFontData
*arg1
= (wxFontData
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char * kwnames
[] = {
18736 (char *) "self",(char *) "enable", NULL
18739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18741 if (!SWIG_IsOK(res1
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18744 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18746 if (!SWIG_IsOK(ecode2
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18749 arg2
= static_cast< bool >(val2
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->EnableEffects(arg2
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_Py_Void();
18763 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18764 PyObject
*resultobj
= 0;
18765 wxFontData
*arg1
= (wxFontData
*) 0 ;
18769 PyObject
*swig_obj
[1] ;
18771 if (!args
) SWIG_fail
;
18772 swig_obj
[0] = args
;
18773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18774 if (!SWIG_IsOK(res1
)) {
18775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18777 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (bool)(arg1
)->GetAllowSymbols();
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18793 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18794 PyObject
*resultobj
= 0;
18795 wxFontData
*arg1
= (wxFontData
*) 0 ;
18799 PyObject
*swig_obj
[1] ;
18801 if (!args
) SWIG_fail
;
18802 swig_obj
[0] = args
;
18803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18804 if (!SWIG_IsOK(res1
)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18807 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (arg1
)->GetColour();
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18821 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18822 PyObject
*resultobj
= 0;
18823 wxFontData
*arg1
= (wxFontData
*) 0 ;
18827 PyObject
*swig_obj
[1] ;
18829 if (!args
) SWIG_fail
;
18830 swig_obj
[0] = args
;
18831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18832 if (!SWIG_IsOK(res1
)) {
18833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18835 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (arg1
)->GetChosenFont();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18849 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18850 PyObject
*resultobj
= 0;
18851 wxFontData
*arg1
= (wxFontData
*) 0 ;
18855 PyObject
*swig_obj
[1] ;
18857 if (!args
) SWIG_fail
;
18858 swig_obj
[0] = args
;
18859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18860 if (!SWIG_IsOK(res1
)) {
18861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18863 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (bool)(arg1
)->GetEnableEffects();
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18879 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18880 PyObject
*resultobj
= 0;
18881 wxFontData
*arg1
= (wxFontData
*) 0 ;
18885 PyObject
*swig_obj
[1] ;
18887 if (!args
) SWIG_fail
;
18888 swig_obj
[0] = args
;
18889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18893 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (arg1
)->GetInitialFont();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18907 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18908 PyObject
*resultobj
= 0;
18909 wxFontData
*arg1
= (wxFontData
*) 0 ;
18913 PyObject
*swig_obj
[1] ;
18915 if (!args
) SWIG_fail
;
18916 swig_obj
[0] = args
;
18917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18918 if (!SWIG_IsOK(res1
)) {
18919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18921 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (bool)(arg1
)->GetShowHelp();
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18937 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= 0;
18939 wxFontData
*arg1
= (wxFontData
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char * kwnames
[] = {
18948 (char *) "self",(char *) "allowSymbols", NULL
18951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18953 if (!SWIG_IsOK(res1
)) {
18954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18956 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18957 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18958 if (!SWIG_IsOK(ecode2
)) {
18959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18961 arg2
= static_cast< bool >(val2
);
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->SetAllowSymbols(arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_Py_Void();
18975 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= 0;
18977 wxFontData
*arg1
= (wxFontData
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char * kwnames
[] = {
18986 (char *) "self",(char *) "font", NULL
18989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18991 if (!SWIG_IsOK(res1
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18994 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18996 if (!SWIG_IsOK(res2
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19002 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_Py_Void();
19016 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
= 0;
19018 wxFontData
*arg1
= (wxFontData
*) 0 ;
19019 wxColour
*arg2
= 0 ;
19023 PyObject
* obj0
= 0 ;
19024 PyObject
* obj1
= 0 ;
19025 char * kwnames
[] = {
19026 (char *) "self",(char *) "colour", NULL
19029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19034 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19037 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->SetColour((wxColour
const &)*arg2
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_Py_Void();
19052 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
= 0;
19054 wxFontData
*arg1
= (wxFontData
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "self",(char *) "font", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19071 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19073 if (!SWIG_IsOK(res2
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19079 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_Py_Void();
19093 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
= 0;
19095 wxFontData
*arg1
= (wxFontData
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 PyObject
* obj2
= 0 ;
19107 char * kwnames
[] = {
19108 (char *) "self",(char *) "min",(char *) "max", NULL
19111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19113 if (!SWIG_IsOK(res1
)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19116 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19118 if (!SWIG_IsOK(ecode2
)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19121 arg2
= static_cast< int >(val2
);
19122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19123 if (!SWIG_IsOK(ecode3
)) {
19124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19126 arg3
= static_cast< int >(val3
);
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 (arg1
)->SetRange(arg2
,arg3
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_Py_Void();
19140 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
= 0;
19142 wxFontData
*arg1
= (wxFontData
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "showHelp", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19159 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19160 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19161 if (!SWIG_IsOK(ecode2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19164 arg2
= static_cast< bool >(val2
);
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetShowHelp(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_Py_Void();
19178 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19181 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19182 return SWIG_Py_Void();
19185 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19186 return SWIG_Python_InitShadowInstance(args
);
19189 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
= 0;
19191 wxWindow
*arg1
= (wxWindow
*) 0 ;
19192 wxFontData
*arg2
= 0 ;
19193 wxFontDialog
*result
= 0 ;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char * kwnames
[] = {
19201 (char *) "parent",(char *) "data", NULL
19204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19206 if (!SWIG_IsOK(res1
)) {
19207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19211 if (!SWIG_IsOK(res2
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19217 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19219 if (!wxPyCheckForApp()) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19232 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19233 PyObject
*resultobj
= 0;
19234 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19235 wxFontData
*result
= 0 ;
19238 PyObject
*swig_obj
[1] ;
19240 if (!args
) SWIG_fail
;
19241 swig_obj
[0] = args
;
19242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19243 if (!SWIG_IsOK(res1
)) {
19244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19246 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19251 result
= (wxFontData
*) &_result_ref
;
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19263 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19266 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19267 return SWIG_Py_Void();
19270 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19271 return SWIG_Python_InitShadowInstance(args
);
19274 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
= 0;
19276 wxWindow
*arg1
= (wxWindow
*) NULL
;
19277 wxFont
const &arg2_defvalue
= wxNullFont
;
19278 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19286 bool temp3
= false ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 char * kwnames
[] = {
19291 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19304 if (!SWIG_IsOK(res2
)) {
19305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19310 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19314 arg3
= wxString_in_helper(obj2
);
19315 if (arg3
== NULL
) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19340 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= 0;
19342 wxWindow
*arg1
= (wxWindow
*) 0 ;
19343 wxString
*arg2
= 0 ;
19344 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19345 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19346 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19347 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19348 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19349 wxMessageDialog
*result
= 0 ;
19352 bool temp2
= false ;
19353 bool temp3
= false ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 PyObject
* obj3
= 0 ;
19361 PyObject
* obj4
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19373 arg2
= wxString_in_helper(obj1
);
19374 if (arg2
== NULL
) SWIG_fail
;
19379 arg3
= wxString_in_helper(obj2
);
19380 if (arg3
== NULL
) SWIG_fail
;
19385 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19386 if (!SWIG_IsOK(ecode4
)) {
19387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19389 arg4
= static_cast< long >(val4
);
19394 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19398 if (!wxPyCheckForApp()) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19427 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19430 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19431 return SWIG_Py_Void();
19434 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19435 return SWIG_Python_InitShadowInstance(args
);
19438 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxString
*arg1
= 0 ;
19441 wxString
*arg2
= 0 ;
19442 int arg3
= (int) 100 ;
19443 wxWindow
*arg4
= (wxWindow
*) NULL
;
19444 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19445 wxProgressDialog
*result
= 0 ;
19446 bool temp1
= false ;
19447 bool temp2
= false ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 PyObject
* obj2
= 0 ;
19457 PyObject
* obj3
= 0 ;
19458 PyObject
* obj4
= 0 ;
19459 char * kwnames
[] = {
19460 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19465 arg1
= wxString_in_helper(obj0
);
19466 if (arg1
== NULL
) SWIG_fail
;
19470 arg2
= wxString_in_helper(obj1
);
19471 if (arg2
== NULL
) SWIG_fail
;
19475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19476 if (!SWIG_IsOK(ecode3
)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19479 arg3
= static_cast< int >(val3
);
19482 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19483 if (!SWIG_IsOK(res4
)) {
19484 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19486 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19490 if (!SWIG_IsOK(ecode5
)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19493 arg5
= static_cast< int >(val5
);
19496 if (!wxPyCheckForApp()) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19525 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
= 0;
19527 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19531 bool *arg4
= (bool *) 0 ;
19537 bool temp3
= false ;
19539 int res4
= SWIG_TMPOBJ
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 PyObject
* obj2
= 0 ;
19543 char * kwnames
[] = {
19544 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19550 if (!SWIG_IsOK(res1
)) {
19551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19553 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19555 if (!SWIG_IsOK(ecode2
)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19558 arg2
= static_cast< int >(val2
);
19561 arg3
= wxString_in_helper(obj2
);
19562 if (arg3
== NULL
) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19575 if (SWIG_IsTmpObj(res4
)) {
19576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19578 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19595 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
= 0;
19597 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19598 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19599 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19600 bool *arg3
= (bool *) 0 ;
19604 bool temp2
= false ;
19606 int res3
= SWIG_TMPOBJ
;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char * kwnames
[] = {
19610 (char *) "self",(char *) "newmsg", NULL
19614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19616 if (!SWIG_IsOK(res1
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19619 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19622 arg2
= wxString_in_helper(obj1
);
19623 if (arg2
== NULL
) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19636 if (SWIG_IsTmpObj(res3
)) {
19637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19639 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19656 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19657 PyObject
*resultobj
= 0;
19658 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19661 PyObject
*swig_obj
[1] ;
19663 if (!args
) SWIG_fail
;
19664 swig_obj
[0] = args
;
19665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19666 if (!SWIG_IsOK(res1
)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19669 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_Py_Void();
19683 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19686 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19687 return SWIG_Py_Void();
19690 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19691 return SWIG_Python_InitShadowInstance(args
);
19694 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
= 0;
19696 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19697 int arg2
= (int) 0 ;
19698 wxFindDialogEvent
*result
= 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char * kwnames
[] = {
19706 (char *) "commandType",(char *) "id", NULL
19709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19712 if (!SWIG_IsOK(ecode1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19715 arg1
= static_cast< wxEventType
>(val1
);
19718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19719 if (!SWIG_IsOK(ecode2
)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19722 arg2
= static_cast< int >(val2
);
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19737 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19738 PyObject
*resultobj
= 0;
19739 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19743 PyObject
*swig_obj
[1] ;
19745 if (!args
) SWIG_fail
;
19746 swig_obj
[0] = args
;
19747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19751 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (int)(arg1
)->GetFlags();
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_From_int(static_cast< int >(result
));
19765 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19766 PyObject
*resultobj
= 0;
19767 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19768 wxString
*result
= 0 ;
19771 PyObject
*swig_obj
[1] ;
19773 if (!args
) SWIG_fail
;
19774 swig_obj
[0] = args
;
19775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19776 if (!SWIG_IsOK(res1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19779 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 wxString
const &_result_ref
= (arg1
)->GetFindString();
19784 result
= (wxString
*) &_result_ref
;
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19802 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19803 PyObject
*resultobj
= 0;
19804 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19805 wxString
*result
= 0 ;
19808 PyObject
*swig_obj
[1] ;
19810 if (!args
) SWIG_fail
;
19811 swig_obj
[0] = args
;
19812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19813 if (!SWIG_IsOK(res1
)) {
19814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19816 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19821 result
= (wxString
*) &_result_ref
;
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19830 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19839 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19840 PyObject
*resultobj
= 0;
19841 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19842 wxFindReplaceDialog
*result
= 0 ;
19845 PyObject
*swig_obj
[1] ;
19847 if (!args
) SWIG_fail
;
19848 swig_obj
[0] = args
;
19849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19850 if (!SWIG_IsOK(res1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19853 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19867 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
= 0;
19869 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char * kwnames
[] = {
19878 (char *) "self",(char *) "flags", NULL
19881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19886 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19888 if (!SWIG_IsOK(ecode2
)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19891 arg2
= static_cast< int >(val2
);
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->SetFlags(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= SWIG_Py_Void();
19905 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
= 0;
19907 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19908 wxString
*arg2
= 0 ;
19911 bool temp2
= false ;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 char * kwnames
[] = {
19915 (char *) "self",(char *) "str", NULL
19918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19920 if (!SWIG_IsOK(res1
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19923 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19925 arg2
= wxString_in_helper(obj1
);
19926 if (arg2
== NULL
) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 (arg1
)->SetFindString((wxString
const &)*arg2
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_Py_Void();
19950 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
= 0;
19952 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19953 wxString
*arg2
= 0 ;
19956 bool temp2
= false ;
19957 PyObject
* obj0
= 0 ;
19958 PyObject
* obj1
= 0 ;
19959 char * kwnames
[] = {
19960 (char *) "self",(char *) "str", NULL
19963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19965 if (!SWIG_IsOK(res1
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19968 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19970 arg2
= wxString_in_helper(obj1
);
19971 if (arg2
== NULL
) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_Py_Void();
19995 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19998 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19999 return SWIG_Py_Void();
20002 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20003 return SWIG_Python_InitShadowInstance(args
);
20006 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
= 0;
20008 int arg1
= (int) 0 ;
20009 wxFindReplaceData
*result
= 0 ;
20012 PyObject
* obj0
= 0 ;
20013 char * kwnames
[] = {
20014 (char *) "flags", NULL
20017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20020 if (!SWIG_IsOK(ecode1
)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20023 arg1
= static_cast< int >(val1
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20038 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20039 PyObject
*resultobj
= 0;
20040 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20043 PyObject
*swig_obj
[1] ;
20045 if (!args
) SWIG_fail
;
20046 swig_obj
[0] = args
;
20047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20048 if (!SWIG_IsOK(res1
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20051 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_Py_Void();
20066 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20067 PyObject
*resultobj
= 0;
20068 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20069 wxString
*result
= 0 ;
20072 PyObject
*swig_obj
[1] ;
20074 if (!args
) SWIG_fail
;
20075 swig_obj
[0] = args
;
20076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20077 if (!SWIG_IsOK(res1
)) {
20078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20080 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 wxString
const &_result_ref
= (arg1
)->GetFindString();
20085 result
= (wxString
*) &_result_ref
;
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20094 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20103 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20104 PyObject
*resultobj
= 0;
20105 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20106 wxString
*result
= 0 ;
20109 PyObject
*swig_obj
[1] ;
20111 if (!args
) SWIG_fail
;
20112 swig_obj
[0] = args
;
20113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20114 if (!SWIG_IsOK(res1
)) {
20115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20117 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20122 result
= (wxString
*) &_result_ref
;
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20131 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20140 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 PyObject
*resultobj
= 0;
20142 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20146 PyObject
*swig_obj
[1] ;
20148 if (!args
) SWIG_fail
;
20149 swig_obj
[0] = args
;
20150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20151 if (!SWIG_IsOK(res1
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20154 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (int)(arg1
)->GetFlags();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_From_int(static_cast< int >(result
));
20168 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
= 0;
20170 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char * kwnames
[] = {
20179 (char *) "self",(char *) "flags", NULL
20182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20184 if (!SWIG_IsOK(res1
)) {
20185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20187 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20189 if (!SWIG_IsOK(ecode2
)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20192 arg2
= static_cast< int >(val2
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetFlags(arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20206 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
= 0;
20208 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20209 wxString
*arg2
= 0 ;
20212 bool temp2
= false ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char * kwnames
[] = {
20216 (char *) "self",(char *) "str", NULL
20219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20221 if (!SWIG_IsOK(res1
)) {
20222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20224 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20226 arg2
= wxString_in_helper(obj1
);
20227 if (arg2
== NULL
) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->SetFindString((wxString
const &)*arg2
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= SWIG_Py_Void();
20251 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
= 0;
20253 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20254 wxString
*arg2
= 0 ;
20257 bool temp2
= false ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 char * kwnames
[] = {
20261 (char *) "self",(char *) "str", NULL
20264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20266 if (!SWIG_IsOK(res1
)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20269 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20271 arg2
= wxString_in_helper(obj1
);
20272 if (arg2
== NULL
) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_Py_Void();
20296 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20299 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20300 return SWIG_Py_Void();
20303 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20304 return SWIG_Python_InitShadowInstance(args
);
20307 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
= 0;
20309 wxWindow
*arg1
= (wxWindow
*) 0 ;
20310 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20311 wxString
*arg3
= 0 ;
20312 int arg4
= (int) 0 ;
20313 wxFindReplaceDialog
*result
= 0 ;
20318 bool temp3
= false ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 PyObject
* obj2
= 0 ;
20324 PyObject
* obj3
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20334 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20336 if (!SWIG_IsOK(res2
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20339 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20341 arg3
= wxString_in_helper(obj2
);
20342 if (arg3
== NULL
) SWIG_fail
;
20346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20347 if (!SWIG_IsOK(ecode4
)) {
20348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20350 arg4
= static_cast< int >(val4
);
20353 if (!wxPyCheckForApp()) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20374 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxFindReplaceDialog
*result
= 0 ;
20378 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20380 if (!wxPyCheckForApp()) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20393 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
= 0;
20395 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20396 wxWindow
*arg2
= (wxWindow
*) 0 ;
20397 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20398 wxString
*arg4
= 0 ;
20399 int arg5
= (int) 0 ;
20407 bool temp4
= false ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 PyObject
* obj2
= 0 ;
20413 PyObject
* obj3
= 0 ;
20414 PyObject
* obj4
= 0 ;
20415 char * kwnames
[] = {
20416 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20421 if (!SWIG_IsOK(res1
)) {
20422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20424 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20426 if (!SWIG_IsOK(res2
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20429 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20430 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20431 if (!SWIG_IsOK(res3
)) {
20432 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20434 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20436 arg4
= wxString_in_helper(obj3
);
20437 if (arg4
== NULL
) SWIG_fail
;
20441 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20442 if (!SWIG_IsOK(ecode5
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20445 arg5
= static_cast< int >(val5
);
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20470 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20471 PyObject
*resultobj
= 0;
20472 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20473 wxFindReplaceData
*result
= 0 ;
20476 PyObject
*swig_obj
[1] ;
20478 if (!args
) SWIG_fail
;
20479 swig_obj
[0] = args
;
20480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20481 if (!SWIG_IsOK(res1
)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20484 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20498 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20501 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "self",(char *) "data", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20517 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20519 if (!SWIG_IsOK(res2
)) {
20520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20522 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetData(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20536 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20539 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20540 return SWIG_Py_Void();
20543 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 return SWIG_Python_InitShadowInstance(args
);
20547 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxWindow
*arg1
= (wxWindow
*) 0 ;
20550 int arg2
= (int) (int)-1 ;
20551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20557 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20558 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20559 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20560 wxMDIParentFrame
*result
= 0 ;
20565 bool temp3
= false ;
20570 bool temp7
= false ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 PyObject
* obj2
= 0 ;
20574 PyObject
* obj3
= 0 ;
20575 PyObject
* obj4
= 0 ;
20576 PyObject
* obj5
= 0 ;
20577 PyObject
* obj6
= 0 ;
20578 char * kwnames
[] = {
20579 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20590 if (!SWIG_IsOK(ecode2
)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20593 arg2
= static_cast< int >(val2
);
20597 arg3
= wxString_in_helper(obj2
);
20598 if (arg3
== NULL
) SWIG_fail
;
20605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20615 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20616 if (!SWIG_IsOK(ecode6
)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20619 arg6
= static_cast< long >(val6
);
20623 arg7
= wxString_in_helper(obj6
);
20624 if (arg7
== NULL
) SWIG_fail
;
20629 if (!wxPyCheckForApp()) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20658 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 PyObject
*resultobj
= 0;
20660 wxMDIParentFrame
*result
= 0 ;
20662 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20664 if (!wxPyCheckForApp()) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20677 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20680 wxWindow
*arg2
= (wxWindow
*) 0 ;
20681 int arg3
= (int) (int)-1 ;
20682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20688 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20689 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20690 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20698 bool temp4
= false ;
20703 bool temp8
= false ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 PyObject
* obj2
= 0 ;
20707 PyObject
* obj3
= 0 ;
20708 PyObject
* obj4
= 0 ;
20709 PyObject
* obj5
= 0 ;
20710 PyObject
* obj6
= 0 ;
20711 PyObject
* obj7
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20721 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20723 if (!SWIG_IsOK(res2
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20729 if (!SWIG_IsOK(ecode3
)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20732 arg3
= static_cast< int >(val3
);
20736 arg4
= wxString_in_helper(obj3
);
20737 if (arg4
== NULL
) SWIG_fail
;
20744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20754 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20755 if (!SWIG_IsOK(ecode7
)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20758 arg7
= static_cast< long >(val7
);
20762 arg8
= wxString_in_helper(obj7
);
20763 if (arg8
== NULL
) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20798 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20803 PyObject
*swig_obj
[1] ;
20805 if (!args
) SWIG_fail
;
20806 swig_obj
[0] = args
;
20807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20808 if (!SWIG_IsOK(res1
)) {
20809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20811 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 (arg1
)->ActivateNext();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= SWIG_Py_Void();
20825 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20826 PyObject
*resultobj
= 0;
20827 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20830 PyObject
*swig_obj
[1] ;
20832 if (!args
) SWIG_fail
;
20833 swig_obj
[0] = args
;
20834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20835 if (!SWIG_IsOK(res1
)) {
20836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20838 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 (arg1
)->ActivatePrevious();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_Py_Void();
20852 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 PyObject
*resultobj
= 0;
20854 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20857 PyObject
*swig_obj
[1] ;
20859 if (!args
) SWIG_fail
;
20860 swig_obj
[0] = args
;
20861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20862 if (!SWIG_IsOK(res1
)) {
20863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20865 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 (arg1
)->ArrangeIcons();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_Py_Void();
20879 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20880 PyObject
*resultobj
= 0;
20881 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20884 PyObject
*swig_obj
[1] ;
20886 if (!args
) SWIG_fail
;
20887 swig_obj
[0] = args
;
20888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20889 if (!SWIG_IsOK(res1
)) {
20890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20892 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_Py_Void();
20906 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20907 PyObject
*resultobj
= 0;
20908 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20909 wxMDIChildFrame
*result
= 0 ;
20912 PyObject
*swig_obj
[1] ;
20914 if (!args
) SWIG_fail
;
20915 swig_obj
[0] = args
;
20916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20917 if (!SWIG_IsOK(res1
)) {
20918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20920 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20936 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 PyObject
*resultobj
= 0;
20938 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20939 wxMDIClientWindow
*result
= 0 ;
20942 PyObject
*swig_obj
[1] ;
20944 if (!args
) SWIG_fail
;
20945 swig_obj
[0] = args
;
20946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20950 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20966 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
= 0;
20968 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20969 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "orient", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20985 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20988 if (!SWIG_IsOK(ecode2
)) {
20989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20991 arg2
= static_cast< wxOrientation
>(val2
);
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 (arg1
)->Tile(arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_Py_Void();
21006 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21009 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21010 return SWIG_Py_Void();
21013 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21014 return SWIG_Python_InitShadowInstance(args
);
21017 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
= 0;
21019 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21020 int arg2
= (int) (int)-1 ;
21021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21027 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21028 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21030 wxMDIChildFrame
*result
= 0 ;
21035 bool temp3
= false ;
21040 bool temp7
= false ;
21041 PyObject
* obj0
= 0 ;
21042 PyObject
* obj1
= 0 ;
21043 PyObject
* obj2
= 0 ;
21044 PyObject
* obj3
= 0 ;
21045 PyObject
* obj4
= 0 ;
21046 PyObject
* obj5
= 0 ;
21047 PyObject
* obj6
= 0 ;
21048 char * kwnames
[] = {
21049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21057 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21060 if (!SWIG_IsOK(ecode2
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21063 arg2
= static_cast< int >(val2
);
21067 arg3
= wxString_in_helper(obj2
);
21068 if (arg3
== NULL
) SWIG_fail
;
21075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21086 if (!SWIG_IsOK(ecode6
)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21089 arg6
= static_cast< long >(val6
);
21093 arg7
= wxString_in_helper(obj6
);
21094 if (arg7
== NULL
) SWIG_fail
;
21099 if (!wxPyCheckForApp()) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21128 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21129 PyObject
*resultobj
= 0;
21130 wxMDIChildFrame
*result
= 0 ;
21132 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21134 if (!wxPyCheckForApp()) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21147 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
= 0;
21149 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21150 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21151 int arg3
= (int) (int)-1 ;
21152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21158 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21159 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21168 bool temp4
= false ;
21173 bool temp8
= false ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 PyObject
* obj2
= 0 ;
21177 PyObject
* obj3
= 0 ;
21178 PyObject
* obj4
= 0 ;
21179 PyObject
* obj5
= 0 ;
21180 PyObject
* obj6
= 0 ;
21181 PyObject
* obj7
= 0 ;
21182 char * kwnames
[] = {
21183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21188 if (!SWIG_IsOK(res1
)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21191 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21193 if (!SWIG_IsOK(res2
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21196 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21199 if (!SWIG_IsOK(ecode3
)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21202 arg3
= static_cast< int >(val3
);
21206 arg4
= wxString_in_helper(obj3
);
21207 if (arg4
== NULL
) SWIG_fail
;
21214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21225 if (!SWIG_IsOK(ecode7
)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21228 arg7
= static_cast< long >(val7
);
21232 arg8
= wxString_in_helper(obj7
);
21233 if (arg8
== NULL
) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21268 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 PyObject
*resultobj
= 0;
21270 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21273 PyObject
*swig_obj
[1] ;
21275 if (!args
) SWIG_fail
;
21276 swig_obj
[0] = args
;
21277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21278 if (!SWIG_IsOK(res1
)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21281 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 (arg1
)->Activate();
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_Py_Void();
21295 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21298 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21299 return SWIG_Py_Void();
21302 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21303 return SWIG_Python_InitShadowInstance(args
);
21306 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
= 0;
21308 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21309 long arg2
= (long) 0 ;
21310 wxMDIClientWindow
*result
= 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char * kwnames
[] = {
21318 (char *) "parent",(char *) "style", NULL
21321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21326 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21328 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21329 if (!SWIG_IsOK(ecode2
)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21332 arg2
= static_cast< long >(val2
);
21335 if (!wxPyCheckForApp()) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21348 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21349 PyObject
*resultobj
= 0;
21350 wxMDIClientWindow
*result
= 0 ;
21352 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21354 if (!wxPyCheckForApp()) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21367 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= 0;
21369 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21370 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21371 long arg3
= (long) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 PyObject
* obj2
= 0 ;
21382 char * kwnames
[] = {
21383 (char *) "self",(char *) "parent",(char *) "style", NULL
21386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21388 if (!SWIG_IsOK(res1
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21391 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21392 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21393 if (!SWIG_IsOK(res2
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21396 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21398 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21399 if (!SWIG_IsOK(ecode3
)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21402 arg3
= static_cast< long >(val3
);
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21419 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21422 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21423 return SWIG_Py_Void();
21426 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21427 return SWIG_Python_InitShadowInstance(args
);
21430 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
= 0;
21432 wxWindow
*arg1
= (wxWindow
*) 0 ;
21433 int arg2
= (int) (int)-1 ;
21434 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21435 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21436 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21437 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21438 long arg5
= (long) 0 ;
21439 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21440 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21441 wxPyWindow
*result
= 0 ;
21450 bool temp6
= false ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 PyObject
* obj2
= 0 ;
21454 PyObject
* obj3
= 0 ;
21455 PyObject
* obj4
= 0 ;
21456 PyObject
* obj5
= 0 ;
21457 char * kwnames
[] = {
21458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21466 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21469 if (!SWIG_IsOK(ecode2
)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21472 arg2
= static_cast< int >(val2
);
21477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21483 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21487 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21488 if (!SWIG_IsOK(ecode5
)) {
21489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21491 arg5
= static_cast< long >(val5
);
21495 arg6
= wxString_in_helper(obj5
);
21496 if (arg6
== NULL
) SWIG_fail
;
21501 if (!wxPyCheckForApp()) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21522 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 PyObject
*resultobj
= 0;
21524 wxPyWindow
*result
= 0 ;
21526 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21528 if (!wxPyCheckForApp()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (wxPyWindow
*)new wxPyWindow();
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21541 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
= 0;
21543 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21544 PyObject
*arg2
= (PyObject
*) 0 ;
21545 PyObject
*arg3
= (PyObject
*) 0 ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 PyObject
* obj2
= 0 ;
21551 char * kwnames
[] = {
21552 (char *) "self",(char *) "self",(char *) "_class", NULL
21555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21557 if (!SWIG_IsOK(res1
)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21560 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_Py_Void();
21576 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
= 0;
21578 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21579 wxDC
*arg2
= (wxDC
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char * kwnames
[] = {
21588 (char *) "self",(char *) "dc", NULL
21591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21596 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21598 if (!SWIG_IsOK(res2
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21601 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21617 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
= 0;
21619 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 PyObject
* obj2
= 0 ;
21637 PyObject
* obj3
= 0 ;
21638 PyObject
* obj4
= 0 ;
21639 char * kwnames
[] = {
21640 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21645 if (!SWIG_IsOK(res1
)) {
21646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21648 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21650 if (!SWIG_IsOK(ecode2
)) {
21651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21653 arg2
= static_cast< int >(val2
);
21654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21655 if (!SWIG_IsOK(ecode3
)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21658 arg3
= static_cast< int >(val3
);
21659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21660 if (!SWIG_IsOK(ecode4
)) {
21661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21663 arg4
= static_cast< int >(val4
);
21664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21665 if (!SWIG_IsOK(ecode5
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21668 arg5
= static_cast< int >(val5
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_Py_Void();
21682 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
= 0;
21684 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21689 int arg6
= (int) wxSIZE_AUTO
;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 PyObject
* obj3
= 0 ;
21706 PyObject
* obj4
= 0 ;
21707 PyObject
* obj5
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21717 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21719 if (!SWIG_IsOK(ecode2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21722 arg2
= static_cast< int >(val2
);
21723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21724 if (!SWIG_IsOK(ecode3
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21727 arg3
= static_cast< int >(val3
);
21728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21729 if (!SWIG_IsOK(ecode4
)) {
21730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21732 arg4
= static_cast< int >(val4
);
21733 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21734 if (!SWIG_IsOK(ecode5
)) {
21735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21737 arg5
= static_cast< int >(val5
);
21739 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21740 if (!SWIG_IsOK(ecode6
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21743 arg6
= static_cast< int >(val6
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_Py_Void();
21758 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= 0;
21760 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 PyObject
* obj2
= 0 ;
21772 char * kwnames
[] = {
21773 (char *) "self",(char *) "width",(char *) "height", NULL
21776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21778 if (!SWIG_IsOK(res1
)) {
21779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21781 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21783 if (!SWIG_IsOK(ecode2
)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21786 arg2
= static_cast< int >(val2
);
21787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21788 if (!SWIG_IsOK(ecode3
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21791 arg3
= static_cast< int >(val3
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->DoSetClientSize(arg2
,arg3
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_Py_Void();
21805 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= 0;
21807 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 PyObject
* obj2
= 0 ;
21819 char * kwnames
[] = {
21820 (char *) "self",(char *) "x",(char *) "y", NULL
21823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21825 if (!SWIG_IsOK(res1
)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21828 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21830 if (!SWIG_IsOK(ecode2
)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21833 arg2
= static_cast< int >(val2
);
21834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21835 if (!SWIG_IsOK(ecode3
)) {
21836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21838 arg3
= static_cast< int >(val3
);
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_Py_Void();
21852 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21853 PyObject
*resultobj
= 0;
21854 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21855 int *arg2
= (int *) 0 ;
21856 int *arg3
= (int *) 0 ;
21860 int res2
= SWIG_TMPOBJ
;
21862 int res3
= SWIG_TMPOBJ
;
21863 PyObject
*swig_obj
[1] ;
21867 if (!args
) SWIG_fail
;
21868 swig_obj
[0] = args
;
21869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21873 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= SWIG_Py_Void();
21881 if (SWIG_IsTmpObj(res2
)) {
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21884 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21887 if (SWIG_IsTmpObj(res3
)) {
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21890 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21899 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21900 PyObject
*resultobj
= 0;
21901 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21902 int *arg2
= (int *) 0 ;
21903 int *arg3
= (int *) 0 ;
21907 int res2
= SWIG_TMPOBJ
;
21909 int res3
= SWIG_TMPOBJ
;
21910 PyObject
*swig_obj
[1] ;
21914 if (!args
) SWIG_fail
;
21915 swig_obj
[0] = args
;
21916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21920 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= SWIG_Py_Void();
21928 if (SWIG_IsTmpObj(res2
)) {
21929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21931 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21934 if (SWIG_IsTmpObj(res3
)) {
21935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21937 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21946 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21947 PyObject
*resultobj
= 0;
21948 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21949 int *arg2
= (int *) 0 ;
21950 int *arg3
= (int *) 0 ;
21954 int res2
= SWIG_TMPOBJ
;
21956 int res3
= SWIG_TMPOBJ
;
21957 PyObject
*swig_obj
[1] ;
21961 if (!args
) SWIG_fail
;
21962 swig_obj
[0] = args
;
21963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21967 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_Py_Void();
21975 if (SWIG_IsTmpObj(res2
)) {
21976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21978 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21981 if (SWIG_IsTmpObj(res3
)) {
21982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21984 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21993 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21994 PyObject
*resultobj
= 0;
21995 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21999 PyObject
*swig_obj
[1] ;
22001 if (!args
) SWIG_fail
;
22002 swig_obj
[0] = args
;
22003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22004 if (!SWIG_IsOK(res1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22007 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22021 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22022 PyObject
*resultobj
= 0;
22023 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22027 PyObject
*swig_obj
[1] ;
22029 if (!args
) SWIG_fail
;
22030 swig_obj
[0] = args
;
22031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22032 if (!SWIG_IsOK(res1
)) {
22033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22035 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22049 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22050 PyObject
*resultobj
= 0;
22051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22052 SwigValueWrapper
<wxVisualAttributes
> result
;
22055 PyObject
*swig_obj
[1] ;
22057 if (!args
) SWIG_fail
;
22058 swig_obj
[0] = args
;
22059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22063 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (arg1
)->GetDefaultAttributes();
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22077 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 PyObject
*resultobj
= 0;
22079 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22082 PyObject
*swig_obj
[1] ;
22084 if (!args
) SWIG_fail
;
22085 swig_obj
[0] = args
;
22086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22087 if (!SWIG_IsOK(res1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22090 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->OnInternalIdle();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= SWIG_Py_Void();
22104 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22108 return SWIG_Py_Void();
22111 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22112 return SWIG_Python_InitShadowInstance(args
);
22115 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= 0;
22117 wxWindow
*arg1
= (wxWindow
*) 0 ;
22118 int arg2
= (int) (int)-1 ;
22119 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22120 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22121 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22122 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22123 long arg5
= (long) 0 ;
22124 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22125 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22126 wxPyPanel
*result
= 0 ;
22135 bool temp6
= false ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 PyObject
* obj2
= 0 ;
22139 PyObject
* obj3
= 0 ;
22140 PyObject
* obj4
= 0 ;
22141 PyObject
* obj5
= 0 ;
22142 char * kwnames
[] = {
22143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22148 if (!SWIG_IsOK(res1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22151 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22154 if (!SWIG_IsOK(ecode2
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22157 arg2
= static_cast< int >(val2
);
22162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22168 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22172 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22173 if (!SWIG_IsOK(ecode5
)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22176 arg5
= static_cast< long >(val5
);
22180 arg6
= wxString_in_helper(obj5
);
22181 if (arg6
== NULL
) SWIG_fail
;
22186 if (!wxPyCheckForApp()) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22207 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22208 PyObject
*resultobj
= 0;
22209 wxPyPanel
*result
= 0 ;
22211 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22213 if (!wxPyCheckForApp()) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxPyPanel
*)new wxPyPanel();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22226 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
= 0;
22228 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22229 PyObject
*arg2
= (PyObject
*) 0 ;
22230 PyObject
*arg3
= (PyObject
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 PyObject
* obj1
= 0 ;
22235 PyObject
* obj2
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "self",(char *) "self",(char *) "_class", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22245 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_Py_Void();
22261 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
= 0;
22263 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22264 wxDC
*arg2
= (wxDC
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char * kwnames
[] = {
22273 (char *) "self",(char *) "dc", NULL
22276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22278 if (!SWIG_IsOK(res1
)) {
22279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22281 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22283 if (!SWIG_IsOK(res2
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22286 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
= 0;
22304 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 PyObject
* obj2
= 0 ;
22322 PyObject
* obj3
= 0 ;
22323 PyObject
* obj4
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22333 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22335 if (!SWIG_IsOK(ecode2
)) {
22336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22338 arg2
= static_cast< int >(val2
);
22339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22340 if (!SWIG_IsOK(ecode3
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22343 arg3
= static_cast< int >(val3
);
22344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22345 if (!SWIG_IsOK(ecode4
)) {
22346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22348 arg4
= static_cast< int >(val4
);
22349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22350 if (!SWIG_IsOK(ecode5
)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22353 arg5
= static_cast< int >(val5
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_Py_Void();
22367 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
= 0;
22369 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22374 int arg6
= (int) wxSIZE_AUTO
;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 PyObject
* obj2
= 0 ;
22390 PyObject
* obj3
= 0 ;
22391 PyObject
* obj4
= 0 ;
22392 PyObject
* obj5
= 0 ;
22393 char * kwnames
[] = {
22394 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22402 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22404 if (!SWIG_IsOK(ecode2
)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22407 arg2
= static_cast< int >(val2
);
22408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22409 if (!SWIG_IsOK(ecode3
)) {
22410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22412 arg3
= static_cast< int >(val3
);
22413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22414 if (!SWIG_IsOK(ecode4
)) {
22415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22417 arg4
= static_cast< int >(val4
);
22418 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22419 if (!SWIG_IsOK(ecode5
)) {
22420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22422 arg5
= static_cast< int >(val5
);
22424 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22425 if (!SWIG_IsOK(ecode6
)) {
22426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22428 arg6
= static_cast< int >(val6
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_Py_Void();
22443 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
= 0;
22445 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 PyObject
* obj2
= 0 ;
22457 char * kwnames
[] = {
22458 (char *) "self",(char *) "width",(char *) "height", NULL
22461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22466 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22468 if (!SWIG_IsOK(ecode2
)) {
22469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22471 arg2
= static_cast< int >(val2
);
22472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22473 if (!SWIG_IsOK(ecode3
)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22476 arg3
= static_cast< int >(val3
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->DoSetClientSize(arg2
,arg3
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_Py_Void();
22490 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
= 0;
22492 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 PyObject
* obj2
= 0 ;
22504 char * kwnames
[] = {
22505 (char *) "self",(char *) "x",(char *) "y", NULL
22508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22510 if (!SWIG_IsOK(res1
)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22513 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22515 if (!SWIG_IsOK(ecode2
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22518 arg2
= static_cast< int >(val2
);
22519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22520 if (!SWIG_IsOK(ecode3
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22523 arg3
= static_cast< int >(val3
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_Py_Void();
22537 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22538 PyObject
*resultobj
= 0;
22539 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22540 int *arg2
= (int *) 0 ;
22541 int *arg3
= (int *) 0 ;
22545 int res2
= SWIG_TMPOBJ
;
22547 int res3
= SWIG_TMPOBJ
;
22548 PyObject
*swig_obj
[1] ;
22552 if (!args
) SWIG_fail
;
22553 swig_obj
[0] = args
;
22554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22555 if (!SWIG_IsOK(res1
)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22558 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_Py_Void();
22566 if (SWIG_IsTmpObj(res2
)) {
22567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22569 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22572 if (SWIG_IsTmpObj(res3
)) {
22573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22575 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22584 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22585 PyObject
*resultobj
= 0;
22586 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22587 int *arg2
= (int *) 0 ;
22588 int *arg3
= (int *) 0 ;
22592 int res2
= SWIG_TMPOBJ
;
22594 int res3
= SWIG_TMPOBJ
;
22595 PyObject
*swig_obj
[1] ;
22599 if (!args
) SWIG_fail
;
22600 swig_obj
[0] = args
;
22601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22605 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_Py_Void();
22613 if (SWIG_IsTmpObj(res2
)) {
22614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22616 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22619 if (SWIG_IsTmpObj(res3
)) {
22620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22622 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22631 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22632 PyObject
*resultobj
= 0;
22633 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22634 int *arg2
= (int *) 0 ;
22635 int *arg3
= (int *) 0 ;
22639 int res2
= SWIG_TMPOBJ
;
22641 int res3
= SWIG_TMPOBJ
;
22642 PyObject
*swig_obj
[1] ;
22646 if (!args
) SWIG_fail
;
22647 swig_obj
[0] = args
;
22648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22649 if (!SWIG_IsOK(res1
)) {
22650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22652 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= SWIG_Py_Void();
22660 if (SWIG_IsTmpObj(res2
)) {
22661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22663 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22666 if (SWIG_IsTmpObj(res3
)) {
22667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22669 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22678 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22679 PyObject
*resultobj
= 0;
22680 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22684 PyObject
*swig_obj
[1] ;
22686 if (!args
) SWIG_fail
;
22687 swig_obj
[0] = args
;
22688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22692 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22706 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22707 PyObject
*resultobj
= 0;
22708 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22712 PyObject
*swig_obj
[1] ;
22714 if (!args
) SWIG_fail
;
22715 swig_obj
[0] = args
;
22716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22720 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22734 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22735 PyObject
*resultobj
= 0;
22736 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22737 SwigValueWrapper
<wxVisualAttributes
> result
;
22740 PyObject
*swig_obj
[1] ;
22742 if (!args
) SWIG_fail
;
22743 swig_obj
[0] = args
;
22744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22745 if (!SWIG_IsOK(res1
)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22748 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (arg1
)->GetDefaultAttributes();
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22762 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22763 PyObject
*resultobj
= 0;
22764 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22767 PyObject
*swig_obj
[1] ;
22769 if (!args
) SWIG_fail
;
22770 swig_obj
[0] = args
;
22771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22772 if (!SWIG_IsOK(res1
)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22775 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->OnInternalIdle();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_Py_Void();
22789 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22793 return SWIG_Py_Void();
22796 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22797 return SWIG_Python_InitShadowInstance(args
);
22800 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
= 0;
22802 wxWindow
*arg1
= (wxWindow
*) 0 ;
22803 int arg2
= (int) (int)-1 ;
22804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22808 long arg5
= (long) 0 ;
22809 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22810 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22811 wxPyScrolledWindow
*result
= 0 ;
22820 bool temp6
= false ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 PyObject
* obj2
= 0 ;
22824 PyObject
* obj3
= 0 ;
22825 PyObject
* obj4
= 0 ;
22826 PyObject
* obj5
= 0 ;
22827 char * kwnames
[] = {
22828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22836 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22839 if (!SWIG_IsOK(ecode2
)) {
22840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22842 arg2
= static_cast< int >(val2
);
22847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22853 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22857 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22858 if (!SWIG_IsOK(ecode5
)) {
22859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22861 arg5
= static_cast< long >(val5
);
22865 arg6
= wxString_in_helper(obj5
);
22866 if (arg6
== NULL
) SWIG_fail
;
22871 if (!wxPyCheckForApp()) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22892 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxPyScrolledWindow
*result
= 0 ;
22896 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22898 if (!wxPyCheckForApp()) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22911 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
= 0;
22913 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22914 PyObject
*arg2
= (PyObject
*) 0 ;
22915 PyObject
*arg3
= (PyObject
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 PyObject
* obj2
= 0 ;
22921 char * kwnames
[] = {
22922 (char *) "self",(char *) "self",(char *) "_class", NULL
22925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22927 if (!SWIG_IsOK(res1
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22930 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_Py_Void();
22946 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
= 0;
22948 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22949 wxDC
*arg2
= (wxDC
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 char * kwnames
[] = {
22958 (char *) "self",(char *) "dc", NULL
22961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22963 if (!SWIG_IsOK(res1
)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22966 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22968 if (!SWIG_IsOK(res2
)) {
22969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22971 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22987 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
= 0;
22989 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 PyObject
* obj2
= 0 ;
23007 PyObject
* obj3
= 0 ;
23008 PyObject
* obj4
= 0 ;
23009 char * kwnames
[] = {
23010 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23018 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23020 if (!SWIG_IsOK(ecode2
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23023 arg2
= static_cast< int >(val2
);
23024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23025 if (!SWIG_IsOK(ecode3
)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23028 arg3
= static_cast< int >(val3
);
23029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23030 if (!SWIG_IsOK(ecode4
)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23033 arg4
= static_cast< int >(val4
);
23034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23035 if (!SWIG_IsOK(ecode5
)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23038 arg5
= static_cast< int >(val5
);
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_Py_Void();
23052 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
= 0;
23054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23059 int arg6
= (int) wxSIZE_AUTO
;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 PyObject
* obj2
= 0 ;
23075 PyObject
* obj3
= 0 ;
23076 PyObject
* obj4
= 0 ;
23077 PyObject
* obj5
= 0 ;
23078 char * kwnames
[] = {
23079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23084 if (!SWIG_IsOK(res1
)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23087 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23089 if (!SWIG_IsOK(ecode2
)) {
23090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23092 arg2
= static_cast< int >(val2
);
23093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23094 if (!SWIG_IsOK(ecode3
)) {
23095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23097 arg3
= static_cast< int >(val3
);
23098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23099 if (!SWIG_IsOK(ecode4
)) {
23100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23102 arg4
= static_cast< int >(val4
);
23103 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23104 if (!SWIG_IsOK(ecode5
)) {
23105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23107 arg5
= static_cast< int >(val5
);
23109 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23110 if (!SWIG_IsOK(ecode6
)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23113 arg6
= static_cast< int >(val6
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_Py_Void();
23128 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= 0;
23130 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 PyObject
* obj2
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "self",(char *) "width",(char *) "height", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23151 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23153 if (!SWIG_IsOK(ecode2
)) {
23154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23156 arg2
= static_cast< int >(val2
);
23157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23158 if (!SWIG_IsOK(ecode3
)) {
23159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23161 arg3
= static_cast< int >(val3
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 (arg1
)->DoSetClientSize(arg2
,arg3
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_Py_Void();
23175 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
= 0;
23177 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 PyObject
* obj2
= 0 ;
23189 char * kwnames
[] = {
23190 (char *) "self",(char *) "x",(char *) "y", NULL
23193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23195 if (!SWIG_IsOK(res1
)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23198 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23200 if (!SWIG_IsOK(ecode2
)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23203 arg2
= static_cast< int >(val2
);
23204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23205 if (!SWIG_IsOK(ecode3
)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23208 arg3
= static_cast< int >(val3
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_Py_Void();
23222 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23223 PyObject
*resultobj
= 0;
23224 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23225 int *arg2
= (int *) 0 ;
23226 int *arg3
= (int *) 0 ;
23230 int res2
= SWIG_TMPOBJ
;
23232 int res3
= SWIG_TMPOBJ
;
23233 PyObject
*swig_obj
[1] ;
23237 if (!args
) SWIG_fail
;
23238 swig_obj
[0] = args
;
23239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23240 if (!SWIG_IsOK(res1
)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23243 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= SWIG_Py_Void();
23251 if (SWIG_IsTmpObj(res2
)) {
23252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23257 if (SWIG_IsTmpObj(res3
)) {
23258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23269 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23270 PyObject
*resultobj
= 0;
23271 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23272 int *arg2
= (int *) 0 ;
23273 int *arg3
= (int *) 0 ;
23277 int res2
= SWIG_TMPOBJ
;
23279 int res3
= SWIG_TMPOBJ
;
23280 PyObject
*swig_obj
[1] ;
23284 if (!args
) SWIG_fail
;
23285 swig_obj
[0] = args
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23290 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_Py_Void();
23298 if (SWIG_IsTmpObj(res2
)) {
23299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23301 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23304 if (SWIG_IsTmpObj(res3
)) {
23305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23307 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23316 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23317 PyObject
*resultobj
= 0;
23318 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23319 int *arg2
= (int *) 0 ;
23320 int *arg3
= (int *) 0 ;
23324 int res2
= SWIG_TMPOBJ
;
23326 int res3
= SWIG_TMPOBJ
;
23327 PyObject
*swig_obj
[1] ;
23331 if (!args
) SWIG_fail
;
23332 swig_obj
[0] = args
;
23333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23337 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_Py_Void();
23345 if (SWIG_IsTmpObj(res2
)) {
23346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23348 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23351 if (SWIG_IsTmpObj(res3
)) {
23352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23354 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23363 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 PyObject
*resultobj
= 0;
23365 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23369 PyObject
*swig_obj
[1] ;
23371 if (!args
) SWIG_fail
;
23372 swig_obj
[0] = args
;
23373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23377 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23391 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23392 PyObject
*resultobj
= 0;
23393 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23397 PyObject
*swig_obj
[1] ;
23399 if (!args
) SWIG_fail
;
23400 swig_obj
[0] = args
;
23401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23405 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23419 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23420 PyObject
*resultobj
= 0;
23421 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23422 SwigValueWrapper
<wxVisualAttributes
> result
;
23425 PyObject
*swig_obj
[1] ;
23427 if (!args
) SWIG_fail
;
23428 swig_obj
[0] = args
;
23429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23433 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (arg1
)->GetDefaultAttributes();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23447 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23448 PyObject
*resultobj
= 0;
23449 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23452 PyObject
*swig_obj
[1] ;
23454 if (!args
) SWIG_fail
;
23455 swig_obj
[0] = args
;
23456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23457 if (!SWIG_IsOK(res1
)) {
23458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23460 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 (arg1
)->OnInternalIdle();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_Py_Void();
23474 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23478 return SWIG_Py_Void();
23481 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 return SWIG_Python_InitShadowInstance(args
);
23485 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23486 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23491 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23492 PyObject
*pyobj
= 0;
23496 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23498 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23505 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23506 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23511 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23512 PyObject
*pyobj
= 0;
23516 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23518 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23525 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23526 PyObject
*resultobj
= 0;
23527 wxPrintData
*result
= 0 ;
23529 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (wxPrintData
*)new wxPrintData();
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23543 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23544 PyObject
*resultobj
= 0;
23545 wxPrintData
*arg1
= 0 ;
23546 wxPrintData
*result
= 0 ;
23550 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23558 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23572 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23576 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23579 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23582 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23586 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23591 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23592 PyObject
*resultobj
= 0;
23593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23596 PyObject
*swig_obj
[1] ;
23598 if (!args
) SWIG_fail
;
23599 swig_obj
[0] = args
;
23600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23601 if (!SWIG_IsOK(res1
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23604 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_Py_Void();
23619 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23620 PyObject
*resultobj
= 0;
23621 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23625 PyObject
*swig_obj
[1] ;
23627 if (!args
) SWIG_fail
;
23628 swig_obj
[0] = args
;
23629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23633 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (int)(arg1
)->GetNoCopies();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_From_int(static_cast< int >(result
));
23647 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23648 PyObject
*resultobj
= 0;
23649 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23653 PyObject
*swig_obj
[1] ;
23655 if (!args
) SWIG_fail
;
23656 swig_obj
[0] = args
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23661 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (bool)(arg1
)->GetCollate();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23677 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23678 PyObject
*resultobj
= 0;
23679 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23683 PyObject
*swig_obj
[1] ;
23685 if (!args
) SWIG_fail
;
23686 swig_obj
[0] = args
;
23687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23691 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (int)(arg1
)->GetOrientation();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= SWIG_From_int(static_cast< int >(result
));
23705 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 PyObject
*resultobj
= 0;
23707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23711 PyObject
*swig_obj
[1] ;
23713 if (!args
) SWIG_fail
;
23714 swig_obj
[0] = args
;
23715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23719 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 PyObject
*resultobj
= 0;
23737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23741 PyObject
*swig_obj
[1] ;
23743 if (!args
) SWIG_fail
;
23744 swig_obj
[0] = args
;
23745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23749 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= (bool)(arg1
)->IsOk();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23765 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23766 PyObject
*resultobj
= 0;
23767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23768 wxString
*result
= 0 ;
23771 PyObject
*swig_obj
[1] ;
23773 if (!args
) SWIG_fail
;
23774 swig_obj
[0] = args
;
23775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23779 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23784 result
= (wxString
*) &_result_ref
;
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23802 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23803 PyObject
*resultobj
= 0;
23804 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23808 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23816 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (bool)(arg1
)->GetColour();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23832 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23833 PyObject
*resultobj
= 0;
23834 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23835 wxDuplexMode result
;
23838 PyObject
*swig_obj
[1] ;
23840 if (!args
) SWIG_fail
;
23841 swig_obj
[0] = args
;
23842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23843 if (!SWIG_IsOK(res1
)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23846 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_From_int(static_cast< int >(result
));
23860 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23861 PyObject
*resultobj
= 0;
23862 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23863 wxPaperSize result
;
23866 PyObject
*swig_obj
[1] ;
23868 if (!args
) SWIG_fail
;
23869 swig_obj
[0] = args
;
23870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23871 if (!SWIG_IsOK(res1
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23874 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_From_int(static_cast< int >(result
));
23888 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23889 PyObject
*resultobj
= 0;
23890 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23891 wxSize
*result
= 0 ;
23894 PyObject
*swig_obj
[1] ;
23896 if (!args
) SWIG_fail
;
23897 swig_obj
[0] = args
;
23898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23902 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23907 result
= (wxSize
*) &_result_ref
;
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23919 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23920 PyObject
*resultobj
= 0;
23921 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23925 PyObject
*swig_obj
[1] ;
23927 if (!args
) SWIG_fail
;
23928 swig_obj
[0] = args
;
23929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23933 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (int)(arg1
)->GetQuality();
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= SWIG_From_int(static_cast< int >(result
));
23947 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23948 PyObject
*resultobj
= 0;
23949 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23953 PyObject
*swig_obj
[1] ;
23955 if (!args
) SWIG_fail
;
23956 swig_obj
[0] = args
;
23957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23958 if (!SWIG_IsOK(res1
)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23961 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (wxPrintBin
)(arg1
)->GetBin();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_From_int(static_cast< int >(result
));
23975 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23976 PyObject
*resultobj
= 0;
23977 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23978 wxPrintMode result
;
23981 PyObject
*swig_obj
[1] ;
23983 if (!args
) SWIG_fail
;
23984 swig_obj
[0] = args
;
23985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23986 if (!SWIG_IsOK(res1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23989 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= SWIG_From_int(static_cast< int >(result
));
24003 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24004 PyObject
*resultobj
= 0;
24005 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24009 PyObject
*swig_obj
[1] ;
24011 if (!args
) SWIG_fail
;
24012 swig_obj
[0] = args
;
24013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24014 if (!SWIG_IsOK(res1
)) {
24015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24017 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= SWIG_From_int(static_cast< int >(result
));
24031 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
= 0;
24033 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 char * kwnames
[] = {
24042 (char *) "self",(char *) "v", NULL
24045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24047 if (!SWIG_IsOK(res1
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24050 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24052 if (!SWIG_IsOK(ecode2
)) {
24053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24055 arg2
= static_cast< int >(val2
);
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->SetNoCopies(arg2
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= SWIG_Py_Void();
24069 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
= 0;
24071 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 char * kwnames
[] = {
24080 (char *) "self",(char *) "flag", NULL
24083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24085 if (!SWIG_IsOK(res1
)) {
24086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24088 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24090 if (!SWIG_IsOK(ecode2
)) {
24091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24093 arg2
= static_cast< bool >(val2
);
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 (arg1
)->SetCollate(arg2
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_Py_Void();
24107 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
= 0;
24109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 char * kwnames
[] = {
24118 (char *) "self",(char *) "orient", NULL
24121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24123 if (!SWIG_IsOK(res1
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24126 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24128 if (!SWIG_IsOK(ecode2
)) {
24129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24131 arg2
= static_cast< int >(val2
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 (arg1
)->SetOrientation(arg2
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= SWIG_Py_Void();
24145 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "self",(char *) "reversed", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24164 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24166 if (!SWIG_IsOK(ecode2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24169 arg2
= static_cast< bool >(val2
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->SetOrientationReversed(arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_Py_Void();
24183 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
= 0;
24185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24186 wxString
*arg2
= 0 ;
24189 bool temp2
= false ;
24190 PyObject
* obj0
= 0 ;
24191 PyObject
* obj1
= 0 ;
24192 char * kwnames
[] = {
24193 (char *) "self",(char *) "name", NULL
24196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24198 if (!SWIG_IsOK(res1
)) {
24199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24201 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24203 arg2
= wxString_in_helper(obj1
);
24204 if (arg2
== NULL
) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_Py_Void();
24228 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
= 0;
24230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 char * kwnames
[] = {
24239 (char *) "self",(char *) "colour", NULL
24242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24247 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24248 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24249 if (!SWIG_IsOK(ecode2
)) {
24250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24252 arg2
= static_cast< bool >(val2
);
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->SetColour(arg2
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_Py_Void();
24266 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
= 0;
24268 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24269 wxDuplexMode arg2
;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char * kwnames
[] = {
24277 (char *) "self",(char *) "duplex", NULL
24280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24285 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24287 if (!SWIG_IsOK(ecode2
)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24290 arg2
= static_cast< wxDuplexMode
>(val2
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 (arg1
)->SetDuplex(arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= SWIG_Py_Void();
24304 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
= 0;
24306 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 char * kwnames
[] = {
24315 (char *) "self",(char *) "sizeId", NULL
24318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24320 if (!SWIG_IsOK(res1
)) {
24321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24323 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24325 if (!SWIG_IsOK(ecode2
)) {
24326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24328 arg2
= static_cast< wxPaperSize
>(val2
);
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 (arg1
)->SetPaperId(arg2
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_Py_Void();
24342 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24343 PyObject
*resultobj
= 0;
24344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char * kwnames
[] = {
24352 (char *) "self",(char *) "sz", NULL
24355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24357 if (!SWIG_IsOK(res1
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24360 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24363 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= SWIG_Py_Void();
24378 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
= 0;
24380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char * kwnames
[] = {
24389 (char *) "self",(char *) "quality", NULL
24392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24394 if (!SWIG_IsOK(res1
)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24397 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24399 if (!SWIG_IsOK(ecode2
)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24402 arg2
= static_cast< int >(val2
);
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->SetQuality(arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_Py_Void();
24416 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
= 0;
24418 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char * kwnames
[] = {
24427 (char *) "self",(char *) "bin", NULL
24430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24432 if (!SWIG_IsOK(res1
)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24435 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24437 if (!SWIG_IsOK(ecode2
)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24440 arg2
= static_cast< wxPrintBin
>(val2
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 (arg1
)->SetBin(arg2
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_Py_Void();
24454 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char * kwnames
[] = {
24465 (char *) "self",(char *) "printMode", NULL
24468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24470 if (!SWIG_IsOK(res1
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24473 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24475 if (!SWIG_IsOK(ecode2
)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24478 arg2
= static_cast< wxPrintMode
>(val2
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->SetPrintMode(arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_Py_Void();
24492 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 char * kwnames
[] = {
24503 (char *) "self",(char *) "media", NULL
24506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24511 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24513 if (!SWIG_IsOK(ecode2
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24516 arg2
= static_cast< int >(val2
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->SetMedia(arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_Py_Void();
24530 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24531 PyObject
*resultobj
= 0;
24532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24536 PyObject
*swig_obj
[1] ;
24538 if (!args
) SWIG_fail
;
24539 swig_obj
[0] = args
;
24540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24541 if (!SWIG_IsOK(res1
)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24544 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24564 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24567 wxString
*arg2
= 0 ;
24570 bool temp2
= false ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "filename", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24582 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24584 arg2
= wxString_in_helper(obj1
);
24585 if (arg2
== NULL
) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 (arg1
)->SetFilename((wxString
const &)*arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_Py_Void();
24609 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24610 PyObject
*resultobj
= 0;
24611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24612 PyObject
*result
= 0 ;
24615 PyObject
*swig_obj
[1] ;
24617 if (!args
) SWIG_fail
;
24618 swig_obj
[0] = args
;
24619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24623 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= result
;
24637 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= 0;
24639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24640 PyObject
*arg2
= (PyObject
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char * kwnames
[] = {
24646 (char *) "self",(char *) "data", NULL
24649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24651 if (!SWIG_IsOK(res1
)) {
24652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24654 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 wxPrintData_SetPrivData(arg1
,arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_Py_Void();
24669 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24672 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24673 return SWIG_Py_Void();
24676 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24677 return SWIG_Python_InitShadowInstance(args
);
24680 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24681 PyObject
*resultobj
= 0;
24682 wxPageSetupDialogData
*result
= 0 ;
24684 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24698 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24699 PyObject
*resultobj
= 0;
24700 wxPageSetupDialogData
*arg1
= 0 ;
24701 wxPageSetupDialogData
*result
= 0 ;
24705 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24713 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24727 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24728 PyObject
*resultobj
= 0;
24729 wxPrintData
*arg1
= 0 ;
24730 wxPageSetupDialogData
*result
= 0 ;
24734 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24736 if (!SWIG_IsOK(res1
)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24742 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24756 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24760 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24763 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24768 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24769 _v
= SWIG_CheckState(res
);
24771 if (!_v
) goto check_2
;
24772 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24777 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24781 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24786 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 PyObject
*resultobj
= 0;
24788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24791 PyObject
*swig_obj
[1] ;
24793 if (!args
) SWIG_fail
;
24794 swig_obj
[0] = args
;
24795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24799 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_Py_Void();
24814 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
= 0;
24816 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "self",(char *) "flag", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24833 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24835 if (!SWIG_IsOK(ecode2
)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24838 arg2
= static_cast< bool >(val2
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 (arg1
)->EnableHelp(arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_Py_Void();
24852 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
= 0;
24854 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 char * kwnames
[] = {
24863 (char *) "self",(char *) "flag", NULL
24866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24868 if (!SWIG_IsOK(res1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24871 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24873 if (!SWIG_IsOK(ecode2
)) {
24874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24876 arg2
= static_cast< bool >(val2
);
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->EnableMargins(arg2
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= SWIG_Py_Void();
24890 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
= 0;
24892 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 char * kwnames
[] = {
24901 (char *) "self",(char *) "flag", NULL
24904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24909 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24910 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24911 if (!SWIG_IsOK(ecode2
)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24914 arg2
= static_cast< bool >(val2
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 (arg1
)->EnableOrientation(arg2
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_Py_Void();
24928 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "self",(char *) "flag", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24947 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24949 if (!SWIG_IsOK(ecode2
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24952 arg2
= static_cast< bool >(val2
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->EnablePaper(arg2
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_Py_Void();
24966 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
= 0;
24968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char * kwnames
[] = {
24977 (char *) "self",(char *) "flag", NULL
24980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24985 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24987 if (!SWIG_IsOK(ecode2
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24990 arg2
= static_cast< bool >(val2
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->EnablePrinter(arg2
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_Py_Void();
25004 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 PyObject
*resultobj
= 0;
25006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25010 PyObject
*swig_obj
[1] ;
25012 if (!args
) SWIG_fail
;
25013 swig_obj
[0] = args
;
25014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25018 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (bool)(arg1
)->GetDefaultMinMargins();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25034 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25035 PyObject
*resultobj
= 0;
25036 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25040 PyObject
*swig_obj
[1] ;
25042 if (!args
) SWIG_fail
;
25043 swig_obj
[0] = args
;
25044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25048 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (bool)(arg1
)->GetEnableMargins();
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25064 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25070 PyObject
*swig_obj
[1] ;
25072 if (!args
) SWIG_fail
;
25073 swig_obj
[0] = args
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25078 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (bool)(arg1
)->GetEnableOrientation();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25094 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25095 PyObject
*resultobj
= 0;
25096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25100 PyObject
*swig_obj
[1] ;
25102 if (!args
) SWIG_fail
;
25103 swig_obj
[0] = args
;
25104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25105 if (!SWIG_IsOK(res1
)) {
25106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25108 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (bool)(arg1
)->GetEnablePaper();
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25124 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25125 PyObject
*resultobj
= 0;
25126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25130 PyObject
*swig_obj
[1] ;
25132 if (!args
) SWIG_fail
;
25133 swig_obj
[0] = args
;
25134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25138 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (bool)(arg1
)->GetEnablePrinter();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25154 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25155 PyObject
*resultobj
= 0;
25156 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25160 PyObject
*swig_obj
[1] ;
25162 if (!args
) SWIG_fail
;
25163 swig_obj
[0] = args
;
25164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25165 if (!SWIG_IsOK(res1
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25168 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (bool)(arg1
)->GetEnableHelp();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25184 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25185 PyObject
*resultobj
= 0;
25186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25190 PyObject
*swig_obj
[1] ;
25192 if (!args
) SWIG_fail
;
25193 swig_obj
[0] = args
;
25194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25198 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (bool)(arg1
)->GetDefaultInfo();
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25214 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25215 PyObject
*resultobj
= 0;
25216 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25220 PyObject
*swig_obj
[1] ;
25222 if (!args
) SWIG_fail
;
25223 swig_obj
[0] = args
;
25224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25225 if (!SWIG_IsOK(res1
)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25228 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (arg1
)->GetMarginTopLeft();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25242 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25243 PyObject
*resultobj
= 0;
25244 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25248 PyObject
*swig_obj
[1] ;
25250 if (!args
) SWIG_fail
;
25251 swig_obj
[0] = args
;
25252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25256 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (arg1
)->GetMarginBottomRight();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25270 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 PyObject
*resultobj
= 0;
25272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25276 PyObject
*swig_obj
[1] ;
25278 if (!args
) SWIG_fail
;
25279 swig_obj
[0] = args
;
25280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (arg1
)->GetMinMarginTopLeft();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25298 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 PyObject
*resultobj
= 0;
25300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25304 PyObject
*swig_obj
[1] ;
25306 if (!args
) SWIG_fail
;
25307 swig_obj
[0] = args
;
25308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25312 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (arg1
)->GetMinMarginBottomRight();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25326 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25327 PyObject
*resultobj
= 0;
25328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25329 wxPaperSize result
;
25332 PyObject
*swig_obj
[1] ;
25334 if (!args
) SWIG_fail
;
25335 swig_obj
[0] = args
;
25336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25340 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_From_int(static_cast< int >(result
));
25354 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 PyObject
*resultobj
= 0;
25356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25360 PyObject
*swig_obj
[1] ;
25362 if (!args
) SWIG_fail
;
25363 swig_obj
[0] = args
;
25364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25368 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (arg1
)->GetPaperSize();
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25382 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25385 wxPrintData
*result
= 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25396 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25401 result
= (wxPrintData
*) &_result_ref
;
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25413 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 PyObject
*resultobj
= 0;
25415 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25419 PyObject
*swig_obj
[1] ;
25421 if (!args
) SWIG_fail
;
25422 swig_obj
[0] = args
;
25423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25427 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (bool)(arg1
)->IsOk();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25443 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
= 0;
25445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 char * kwnames
[] = {
25454 (char *) "self",(char *) "flag", NULL
25457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25463 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25464 if (!SWIG_IsOK(ecode2
)) {
25465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25467 arg2
= static_cast< bool >(val2
);
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 (arg1
)->SetDefaultInfo(arg2
);
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_Py_Void();
25481 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
= 0;
25483 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char * kwnames
[] = {
25492 (char *) "self",(char *) "flag", NULL
25495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25500 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25501 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25502 if (!SWIG_IsOK(ecode2
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25505 arg2
= static_cast< bool >(val2
);
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->SetDefaultMinMargins(arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_Py_Void();
25519 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
= 0;
25521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25522 wxPoint
*arg2
= 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char * kwnames
[] = {
25529 (char *) "self",(char *) "pt", NULL
25532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25537 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_Py_Void();
25555 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
= 0;
25557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25558 wxPoint
*arg2
= 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "self",(char *) "pt", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25573 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_Py_Void();
25591 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
= 0;
25593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25594 wxPoint
*arg2
= 0 ;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 char * kwnames
[] = {
25601 (char *) "self",(char *) "pt", NULL
25604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25606 if (!SWIG_IsOK(res1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25609 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_Py_Void();
25627 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
= 0;
25629 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25630 wxPoint
*arg2
= 0 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "self",(char *) "pt", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25642 if (!SWIG_IsOK(res1
)) {
25643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25645 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25648 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_Py_Void();
25663 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
= 0;
25665 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char * kwnames
[] = {
25674 (char *) "self",(char *) "id", NULL
25677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25679 if (!SWIG_IsOK(res1
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25682 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25684 if (!SWIG_IsOK(ecode2
)) {
25685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25687 arg2
= static_cast< wxPaperSize
>(val2
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 (arg1
)->SetPaperId(arg2
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_Py_Void();
25701 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
= 0;
25703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char * kwnames
[] = {
25711 (char *) "self",(char *) "size", NULL
25714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25716 if (!SWIG_IsOK(res1
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25719 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_Py_Void();
25737 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
= 0;
25739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25740 wxPrintData
*arg2
= 0 ;
25745 PyObject
* obj0
= 0 ;
25746 PyObject
* obj1
= 0 ;
25747 char * kwnames
[] = {
25748 (char *) "self",(char *) "printData", NULL
25751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25753 if (!SWIG_IsOK(res1
)) {
25754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25756 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25758 if (!SWIG_IsOK(res2
)) {
25759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25764 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_Py_Void();
25778 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 PyObject
*resultobj
= 0;
25780 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25783 PyObject
*swig_obj
[1] ;
25785 if (!args
) SWIG_fail
;
25786 swig_obj
[0] = args
;
25787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25788 if (!SWIG_IsOK(res1
)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25791 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 (arg1
)->CalculateIdFromPaperSize();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= SWIG_Py_Void();
25805 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25806 PyObject
*resultobj
= 0;
25807 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25810 PyObject
*swig_obj
[1] ;
25812 if (!args
) SWIG_fail
;
25813 swig_obj
[0] = args
;
25814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25815 if (!SWIG_IsOK(res1
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25818 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->CalculatePaperSizeFromId();
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_Py_Void();
25832 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25835 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25836 return SWIG_Py_Void();
25839 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25840 return SWIG_Python_InitShadowInstance(args
);
25843 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
= 0;
25845 wxWindow
*arg1
= (wxWindow
*) 0 ;
25846 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25847 wxPageSetupDialog
*result
= 0 ;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 char * kwnames
[] = {
25855 (char *) "parent",(char *) "data", NULL
25858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25860 if (!SWIG_IsOK(res1
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25866 if (!SWIG_IsOK(res2
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25869 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25872 if (!wxPyCheckForApp()) SWIG_fail
;
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25885 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25886 PyObject
*resultobj
= 0;
25887 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25890 PyObject
*swig_obj
[1] ;
25892 if (!args
) SWIG_fail
;
25893 swig_obj
[0] = args
;
25894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25898 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_Py_Void();
25913 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25914 PyObject
*resultobj
= 0;
25915 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25916 wxPageSetupDialogData
*result
= 0 ;
25919 PyObject
*swig_obj
[1] ;
25921 if (!args
) SWIG_fail
;
25922 swig_obj
[0] = args
;
25923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25924 if (!SWIG_IsOK(res1
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25927 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25932 result
= (wxPageSetupDialogData
*) &_result_ref
;
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25944 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25945 PyObject
*resultobj
= 0;
25946 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25947 wxPageSetupDialogData
*result
= 0 ;
25950 PyObject
*swig_obj
[1] ;
25952 if (!args
) SWIG_fail
;
25953 swig_obj
[0] = args
;
25954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25955 if (!SWIG_IsOK(res1
)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25958 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25963 result
= (wxPageSetupDialogData
*) &_result_ref
;
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25975 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 PyObject
*resultobj
= 0;
25977 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25981 PyObject
*swig_obj
[1] ;
25983 if (!args
) SWIG_fail
;
25984 swig_obj
[0] = args
;
25985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25986 if (!SWIG_IsOK(res1
)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25989 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= (int)(arg1
)->ShowModal();
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_From_int(static_cast< int >(result
));
26003 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26007 return SWIG_Py_Void();
26010 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 return SWIG_Python_InitShadowInstance(args
);
26014 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26015 PyObject
*resultobj
= 0;
26016 wxPrintDialogData
*result
= 0 ;
26018 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26032 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26033 PyObject
*resultobj
= 0;
26034 wxPrintData
*arg1
= 0 ;
26035 wxPrintDialogData
*result
= 0 ;
26039 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26041 if (!SWIG_IsOK(res1
)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26047 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26061 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26062 PyObject
*resultobj
= 0;
26063 wxPrintDialogData
*arg1
= 0 ;
26064 wxPrintDialogData
*result
= 0 ;
26068 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26076 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26090 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26094 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26097 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26102 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26103 _v
= SWIG_CheckState(res
);
26105 if (!_v
) goto check_2
;
26106 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26111 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26115 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26120 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26125 PyObject
*swig_obj
[1] ;
26127 if (!args
) SWIG_fail
;
26128 swig_obj
[0] = args
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26133 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_Py_Void();
26148 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26149 PyObject
*resultobj
= 0;
26150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26154 PyObject
*swig_obj
[1] ;
26156 if (!args
) SWIG_fail
;
26157 swig_obj
[0] = args
;
26158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26162 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_From_int(static_cast< int >(result
));
26176 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26177 PyObject
*resultobj
= 0;
26178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26182 PyObject
*swig_obj
[1] ;
26184 if (!args
) SWIG_fail
;
26185 swig_obj
[0] = args
;
26186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26190 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_From_int(static_cast< int >(result
));
26204 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26205 PyObject
*resultobj
= 0;
26206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26210 PyObject
*swig_obj
[1] ;
26212 if (!args
) SWIG_fail
;
26213 swig_obj
[0] = args
;
26214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26218 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= SWIG_From_int(static_cast< int >(result
));
26232 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26233 PyObject
*resultobj
= 0;
26234 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26238 PyObject
*swig_obj
[1] ;
26240 if (!args
) SWIG_fail
;
26241 swig_obj
[0] = args
;
26242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26246 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_From_int(static_cast< int >(result
));
26260 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 PyObject
*resultobj
= 0;
26262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26266 PyObject
*swig_obj
[1] ;
26268 if (!args
) SWIG_fail
;
26269 swig_obj
[0] = args
;
26270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26274 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= SWIG_From_int(static_cast< int >(result
));
26288 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26289 PyObject
*resultobj
= 0;
26290 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26294 PyObject
*swig_obj
[1] ;
26296 if (!args
) SWIG_fail
;
26297 swig_obj
[0] = args
;
26298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26302 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26318 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26324 PyObject
*swig_obj
[1] ;
26326 if (!args
) SWIG_fail
;
26327 swig_obj
[0] = args
;
26328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26332 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26348 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26349 PyObject
*resultobj
= 0;
26350 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26354 PyObject
*swig_obj
[1] ;
26356 if (!args
) SWIG_fail
;
26357 swig_obj
[0] = args
;
26358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26362 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 PyObject
*resultobj
= 0;
26380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26384 PyObject
*swig_obj
[1] ;
26386 if (!args
) SWIG_fail
;
26387 swig_obj
[0] = args
;
26388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26392 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26408 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char * kwnames
[] = {
26419 (char *) "self",(char *) "v", NULL
26422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26427 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26432 arg2
= static_cast< int >(val2
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->SetFromPage(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "v", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26465 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26470 arg2
= static_cast< int >(val2
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetToPage(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= 0;
26486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "v", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26503 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26505 if (!SWIG_IsOK(ecode2
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26508 arg2
= static_cast< int >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->SetMinPage(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "v", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26541 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26543 if (!SWIG_IsOK(ecode2
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26546 arg2
= static_cast< int >(val2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetMaxPage(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char * kwnames
[] = {
26571 (char *) "self",(char *) "v", NULL
26574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26579 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26581 if (!SWIG_IsOK(ecode2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26584 arg2
= static_cast< int >(val2
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetNoCopies(arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "flag", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26617 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26618 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26619 if (!SWIG_IsOK(ecode2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26622 arg2
= static_cast< bool >(val2
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetAllPages(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
= 0;
26638 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 char * kwnames
[] = {
26647 (char *) "self",(char *) "flag", NULL
26650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26652 if (!SWIG_IsOK(res1
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26655 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26657 if (!SWIG_IsOK(ecode2
)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26660 arg2
= static_cast< bool >(val2
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 (arg1
)->SetSelection(arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_Py_Void();
26674 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
= 0;
26676 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "flag", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26693 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26694 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26695 if (!SWIG_IsOK(ecode2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26698 arg2
= static_cast< bool >(val2
);
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->SetCollate(arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char * kwnames
[] = {
26723 (char *) "self",(char *) "flag", NULL
26726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26731 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26733 if (!SWIG_IsOK(ecode2
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26736 arg2
= static_cast< bool >(val2
);
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 (arg1
)->SetPrintToFile(arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_Py_Void();
26750 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char * kwnames
[] = {
26761 (char *) "self",(char *) "flag", NULL
26764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26769 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26771 if (!SWIG_IsOK(ecode2
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26774 arg2
= static_cast< bool >(val2
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->EnablePrintToFile(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= SWIG_Py_Void();
26788 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
= 0;
26790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 char * kwnames
[] = {
26799 (char *) "self",(char *) "flag", NULL
26802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26807 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26809 if (!SWIG_IsOK(ecode2
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26812 arg2
= static_cast< bool >(val2
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 (arg1
)->EnableSelection(arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_Py_Void();
26826 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
= 0;
26828 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 char * kwnames
[] = {
26837 (char *) "self",(char *) "flag", NULL
26840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26842 if (!SWIG_IsOK(res1
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26845 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26846 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26847 if (!SWIG_IsOK(ecode2
)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26850 arg2
= static_cast< bool >(val2
);
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->EnablePageNumbers(arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_Py_Void();
26864 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
= 0;
26866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 char * kwnames
[] = {
26875 (char *) "self",(char *) "flag", NULL
26878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26883 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26885 if (!SWIG_IsOK(ecode2
)) {
26886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26888 arg2
= static_cast< bool >(val2
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 (arg1
)->EnableHelp(arg2
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26908 PyObject
*swig_obj
[1] ;
26910 if (!args
) SWIG_fail
;
26911 swig_obj
[0] = args
;
26912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26916 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26932 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26933 PyObject
*resultobj
= 0;
26934 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26938 PyObject
*swig_obj
[1] ;
26940 if (!args
) SWIG_fail
;
26941 swig_obj
[0] = args
;
26942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26943 if (!SWIG_IsOK(res1
)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26946 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26962 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26963 PyObject
*resultobj
= 0;
26964 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26968 PyObject
*swig_obj
[1] ;
26970 if (!args
) SWIG_fail
;
26971 swig_obj
[0] = args
;
26972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26976 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26992 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26993 PyObject
*resultobj
= 0;
26994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26998 PyObject
*swig_obj
[1] ;
27000 if (!args
) SWIG_fail
;
27001 swig_obj
[0] = args
;
27002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27003 if (!SWIG_IsOK(res1
)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27006 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27022 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 PyObject
*resultobj
= 0;
27024 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27028 PyObject
*swig_obj
[1] ;
27030 if (!args
) SWIG_fail
;
27031 swig_obj
[0] = args
;
27032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27036 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27052 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27053 PyObject
*resultobj
= 0;
27054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27055 wxPrintData
*result
= 0 ;
27058 PyObject
*swig_obj
[1] ;
27060 if (!args
) SWIG_fail
;
27061 swig_obj
[0] = args
;
27062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27066 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27071 result
= (wxPrintData
*) &_result_ref
;
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27083 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= 0;
27085 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27086 wxPrintData
*arg2
= 0 ;
27091 PyObject
* obj0
= 0 ;
27092 PyObject
* obj1
= 0 ;
27093 char * kwnames
[] = {
27094 (char *) "self",(char *) "printData", NULL
27097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27102 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27104 if (!SWIG_IsOK(res2
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27110 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= SWIG_Py_Void();
27124 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27128 return SWIG_Py_Void();
27131 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27132 return SWIG_Python_InitShadowInstance(args
);
27135 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
= 0;
27137 wxWindow
*arg1
= (wxWindow
*) 0 ;
27138 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27139 wxPrintDialog
*result
= 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char * kwnames
[] = {
27147 (char *) "parent",(char *) "data", NULL
27150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27152 if (!SWIG_IsOK(res1
)) {
27153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27158 if (!SWIG_IsOK(res2
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27161 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27164 if (!wxPyCheckForApp()) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27177 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27178 PyObject
*resultobj
= 0;
27179 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27182 PyObject
*swig_obj
[1] ;
27184 if (!args
) SWIG_fail
;
27185 swig_obj
[0] = args
;
27186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27187 if (!SWIG_IsOK(res1
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27190 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_Py_Void();
27205 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 PyObject
*resultobj
= 0;
27207 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27211 PyObject
*swig_obj
[1] ;
27213 if (!args
) SWIG_fail
;
27214 swig_obj
[0] = args
;
27215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27216 if (!SWIG_IsOK(res1
)) {
27217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27219 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (int)(arg1
)->ShowModal();
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_From_int(static_cast< int >(result
));
27233 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27234 PyObject
*resultobj
= 0;
27235 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27236 wxPrintDialogData
*result
= 0 ;
27239 PyObject
*swig_obj
[1] ;
27241 if (!args
) SWIG_fail
;
27242 swig_obj
[0] = args
;
27243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27244 if (!SWIG_IsOK(res1
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27247 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27252 result
= (wxPrintDialogData
*) &_result_ref
;
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27264 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27265 PyObject
*resultobj
= 0;
27266 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27267 wxPrintData
*result
= 0 ;
27270 PyObject
*swig_obj
[1] ;
27272 if (!args
) SWIG_fail
;
27273 swig_obj
[0] = args
;
27274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27275 if (!SWIG_IsOK(res1
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27278 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27283 result
= (wxPrintData
*) &_result_ref
;
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27295 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27296 PyObject
*resultobj
= 0;
27297 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27301 PyObject
*swig_obj
[1] ;
27303 if (!args
) SWIG_fail
;
27304 swig_obj
[0] = args
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27309 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (wxDC
*)(arg1
)->GetPrintDC();
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27325 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27329 return SWIG_Py_Void();
27332 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27333 return SWIG_Python_InitShadowInstance(args
);
27336 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
= 0;
27338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27339 wxPrinter
*result
= 0 ;
27342 PyObject
* obj0
= 0 ;
27343 char * kwnames
[] = {
27344 (char *) "data", NULL
27347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27353 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27356 if (!wxPyCheckForApp()) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 result
= (wxPrinter
*)new wxPrinter(arg1
);
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27369 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27370 PyObject
*resultobj
= 0;
27371 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27374 PyObject
*swig_obj
[1] ;
27376 if (!args
) SWIG_fail
;
27377 swig_obj
[0] = args
;
27378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27382 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_Py_Void();
27397 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
= 0;
27399 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27400 wxWindow
*arg2
= (wxWindow
*) 0 ;
27401 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27402 wxWindow
*result
= 0 ;
27409 PyObject
* obj0
= 0 ;
27410 PyObject
* obj1
= 0 ;
27411 PyObject
* obj2
= 0 ;
27412 char * kwnames
[] = {
27413 (char *) "self",(char *) "parent",(char *) "printout", NULL
27416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27418 if (!SWIG_IsOK(res1
)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27421 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27422 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27423 if (!SWIG_IsOK(res2
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27426 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27427 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27428 if (!SWIG_IsOK(res3
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27431 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= wxPyMake_wxObject(result
, 0);
27447 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
= 0;
27449 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27450 wxWindow
*arg2
= (wxWindow
*) 0 ;
27451 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27452 wxString
*arg4
= 0 ;
27459 bool temp4
= false ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 PyObject
* obj2
= 0 ;
27463 PyObject
* obj3
= 0 ;
27464 char * kwnames
[] = {
27465 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27473 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27475 if (!SWIG_IsOK(res2
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27478 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27480 if (!SWIG_IsOK(res3
)) {
27481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27483 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27485 arg4
= wxString_in_helper(obj3
);
27486 if (arg4
== NULL
) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_Py_Void();
27510 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
= 0;
27512 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27513 wxWindow
*arg2
= (wxWindow
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 PyObject
* obj1
= 0 ;
27521 char * kwnames
[] = {
27522 (char *) "self",(char *) "parent", NULL
27525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27530 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27532 if (!SWIG_IsOK(res2
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (bool)(arg1
)->Setup(arg2
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27551 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= 0;
27553 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27554 wxWindow
*arg2
= (wxWindow
*) 0 ;
27555 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27556 bool arg4
= (bool) true ;
27566 PyObject
* obj0
= 0 ;
27567 PyObject
* obj1
= 0 ;
27568 PyObject
* obj2
= 0 ;
27569 PyObject
* obj3
= 0 ;
27570 char * kwnames
[] = {
27571 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27579 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27581 if (!SWIG_IsOK(res2
)) {
27582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27584 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27585 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27586 if (!SWIG_IsOK(res3
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27589 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27591 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27592 if (!SWIG_IsOK(ecode4
)) {
27593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27595 arg4
= static_cast< bool >(val4
);
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27612 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
= 0;
27614 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27615 wxWindow
*arg2
= (wxWindow
*) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 PyObject
* obj1
= 0 ;
27623 char * kwnames
[] = {
27624 (char *) "self",(char *) "parent", NULL
27627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27632 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27634 if (!SWIG_IsOK(res2
)) {
27635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27653 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27654 PyObject
*resultobj
= 0;
27655 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27656 wxPrintDialogData
*result
= 0 ;
27659 PyObject
*swig_obj
[1] ;
27661 if (!args
) SWIG_fail
;
27662 swig_obj
[0] = args
;
27663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27667 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27672 result
= (wxPrintDialogData
*) &_result_ref
;
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27684 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27698 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (bool)(arg1
)->GetAbort();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27714 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27715 PyObject
*resultobj
= 0;
27716 wxPrinterError result
;
27718 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 result
= (wxPrinterError
)wxPrinter::GetLastError();
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= SWIG_From_int(static_cast< int >(result
));
27732 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27736 return SWIG_Py_Void();
27739 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27740 return SWIG_Python_InitShadowInstance(args
);
27743 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
= 0;
27745 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27746 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27747 wxPyPrintout
*result
= 0 ;
27748 bool temp1
= false ;
27749 PyObject
* obj0
= 0 ;
27750 char * kwnames
[] = {
27751 (char *) "title", NULL
27754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27757 arg1
= wxString_in_helper(obj0
);
27758 if (arg1
== NULL
) SWIG_fail
;
27763 if (!wxPyCheckForApp()) SWIG_fail
;
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27784 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27785 PyObject
*resultobj
= 0;
27786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27789 PyObject
*swig_obj
[1] ;
27791 if (!args
) SWIG_fail
;
27792 swig_obj
[0] = args
;
27793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27794 if (!SWIG_IsOK(res1
)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27797 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_Py_Void();
27812 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
= 0;
27814 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27815 PyObject
*arg2
= (PyObject
*) 0 ;
27816 PyObject
*arg3
= (PyObject
*) 0 ;
27819 PyObject
* obj0
= 0 ;
27820 PyObject
* obj1
= 0 ;
27821 PyObject
* obj2
= 0 ;
27822 char * kwnames
[] = {
27823 (char *) "self",(char *) "self",(char *) "_class", NULL
27826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27831 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27836 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_Py_Void();
27847 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27848 PyObject
*resultobj
= 0;
27849 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27853 PyObject
*swig_obj
[1] ;
27855 if (!args
) SWIG_fail
;
27856 swig_obj
[0] = args
;
27857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27861 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27881 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27887 PyObject
*swig_obj
[1] ;
27889 if (!args
) SWIG_fail
;
27890 swig_obj
[0] = args
;
27891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27895 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (wxDC
*)(arg1
)->GetDC();
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27911 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
= 0;
27913 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27914 wxDC
*arg2
= (wxDC
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 char * kwnames
[] = {
27922 (char *) "self",(char *) "dc", NULL
27925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27930 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27932 if (!SWIG_IsOK(res2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27935 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 (arg1
)->SetDC(arg2
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 char * kwnames
[] = {
27959 (char *) "self",(char *) "imageSize", NULL
27962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27964 if (!SWIG_IsOK(res1
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27967 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27970 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= SWIG_Py_Void();
27985 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
= 0;
27987 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "self",(char *) "imageSize", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28003 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28006 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
= 0;
28023 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28025 wxPageSetupDialogData
*arg3
= 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 PyObject
* obj2
= 0 ;
28034 char * kwnames
[] = {
28035 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28040 if (!SWIG_IsOK(res1
)) {
28041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28043 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28048 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28049 if (!SWIG_IsOK(res3
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28055 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_Py_Void();
28069 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28070 PyObject
*resultobj
= 0;
28071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28074 PyObject
*swig_obj
[1] ;
28076 if (!args
) SWIG_fail
;
28077 swig_obj
[0] = args
;
28078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28082 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 (arg1
)->MapScreenSizeToPaper();
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= SWIG_Py_Void();
28096 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28097 PyObject
*resultobj
= 0;
28098 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28101 PyObject
*swig_obj
[1] ;
28103 if (!args
) SWIG_fail
;
28104 swig_obj
[0] = args
;
28105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28106 if (!SWIG_IsOK(res1
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28109 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 (arg1
)->MapScreenSizeToPage();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_Py_Void();
28123 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
= 0;
28125 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28126 wxPageSetupDialogData
*arg2
= 0 ;
28131 PyObject
* obj0
= 0 ;
28132 PyObject
* obj1
= 0 ;
28133 char * kwnames
[] = {
28134 (char *) "self",(char *) "pageSetupData", NULL
28137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28142 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28144 if (!SWIG_IsOK(res2
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28150 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_Py_Void();
28164 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(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_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28177 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 (arg1
)->MapScreenSizeToDevice();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_Py_Void();
28191 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28192 PyObject
*resultobj
= 0;
28193 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28197 PyObject
*swig_obj
[1] ;
28199 if (!args
) SWIG_fail
;
28200 swig_obj
[0] = args
;
28201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28205 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28219 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28220 PyObject
*resultobj
= 0;
28221 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28225 PyObject
*swig_obj
[1] ;
28227 if (!args
) SWIG_fail
;
28228 swig_obj
[0] = args
;
28229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28230 if (!SWIG_IsOK(res1
)) {
28231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28233 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28247 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
= 0;
28249 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28250 wxPageSetupDialogData
*arg2
= 0 ;
28256 PyObject
* obj0
= 0 ;
28257 PyObject
* obj1
= 0 ;
28258 char * kwnames
[] = {
28259 (char *) "self",(char *) "pageSetupData", NULL
28262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28267 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28268 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28269 if (!SWIG_IsOK(res2
)) {
28270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28275 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28289 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
= 0;
28291 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 PyObject
* obj1
= 0 ;
28302 PyObject
* obj2
= 0 ;
28303 char * kwnames
[] = {
28304 (char *) "self",(char *) "x",(char *) "y", NULL
28307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28309 if (!SWIG_IsOK(res1
)) {
28310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28312 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28314 if (!SWIG_IsOK(ecode2
)) {
28315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28317 arg2
= static_cast< int >(val2
);
28318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28319 if (!SWIG_IsOK(ecode3
)) {
28320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28322 arg3
= static_cast< int >(val3
);
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_Py_Void();
28336 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
= 0;
28338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28347 PyObject
* obj0
= 0 ;
28348 PyObject
* obj1
= 0 ;
28349 PyObject
* obj2
= 0 ;
28350 char * kwnames
[] = {
28351 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28356 if (!SWIG_IsOK(res1
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28359 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28361 if (!SWIG_IsOK(ecode2
)) {
28362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28364 arg2
= static_cast< int >(val2
);
28365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28366 if (!SWIG_IsOK(ecode3
)) {
28367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28369 arg3
= static_cast< int >(val3
);
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_Py_Void();
28383 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28384 PyObject
*resultobj
= 0;
28385 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 PyObject
* obj1
= 0 ;
28396 PyObject
* obj2
= 0 ;
28397 char * kwnames
[] = {
28398 (char *) "self",(char *) "w",(char *) "h", NULL
28401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28403 if (!SWIG_IsOK(res1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28406 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28408 if (!SWIG_IsOK(ecode2
)) {
28409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28411 arg2
= static_cast< int >(val2
);
28412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28413 if (!SWIG_IsOK(ecode3
)) {
28414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28416 arg3
= static_cast< int >(val3
);
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= SWIG_Py_Void();
28430 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28431 PyObject
*resultobj
= 0;
28432 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28433 int *arg2
= (int *) 0 ;
28434 int *arg3
= (int *) 0 ;
28438 int res2
= SWIG_TMPOBJ
;
28440 int res3
= SWIG_TMPOBJ
;
28441 PyObject
*swig_obj
[1] ;
28445 if (!args
) SWIG_fail
;
28446 swig_obj
[0] = args
;
28447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28451 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_Py_Void();
28459 if (SWIG_IsTmpObj(res2
)) {
28460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28462 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28465 if (SWIG_IsTmpObj(res3
)) {
28466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28468 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28477 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28478 PyObject
*resultobj
= 0;
28479 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 PyObject
* obj2
= 0 ;
28491 char * kwnames
[] = {
28492 (char *) "self",(char *) "w",(char *) "h", NULL
28495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28497 if (!SWIG_IsOK(res1
)) {
28498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28500 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28502 if (!SWIG_IsOK(ecode2
)) {
28503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28505 arg2
= static_cast< int >(val2
);
28506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28507 if (!SWIG_IsOK(ecode3
)) {
28508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28510 arg3
= static_cast< int >(val3
);
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_Py_Void();
28524 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28525 PyObject
*resultobj
= 0;
28526 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28527 int *arg2
= (int *) 0 ;
28528 int *arg3
= (int *) 0 ;
28532 int res2
= SWIG_TMPOBJ
;
28534 int res3
= SWIG_TMPOBJ
;
28535 PyObject
*swig_obj
[1] ;
28539 if (!args
) SWIG_fail
;
28540 swig_obj
[0] = args
;
28541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28545 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= SWIG_Py_Void();
28553 if (SWIG_IsTmpObj(res2
)) {
28554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28556 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28559 if (SWIG_IsTmpObj(res3
)) {
28560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28562 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28571 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
= 0;
28573 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28582 PyObject
* obj0
= 0 ;
28583 PyObject
* obj1
= 0 ;
28584 PyObject
* obj2
= 0 ;
28585 char * kwnames
[] = {
28586 (char *) "self",(char *) "x",(char *) "y", NULL
28589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28591 if (!SWIG_IsOK(res1
)) {
28592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28594 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28596 if (!SWIG_IsOK(ecode2
)) {
28597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28599 arg2
= static_cast< int >(val2
);
28600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28601 if (!SWIG_IsOK(ecode3
)) {
28602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28604 arg3
= static_cast< int >(val3
);
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 (arg1
)->SetPPIScreen(arg2
,arg3
);
28608 wxPyEndAllowThreads(__tstate
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= SWIG_Py_Void();
28618 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28619 PyObject
*resultobj
= 0;
28620 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28621 int *arg2
= (int *) 0 ;
28622 int *arg3
= (int *) 0 ;
28626 int res2
= SWIG_TMPOBJ
;
28628 int res3
= SWIG_TMPOBJ
;
28629 PyObject
*swig_obj
[1] ;
28633 if (!args
) SWIG_fail
;
28634 swig_obj
[0] = args
;
28635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28636 if (!SWIG_IsOK(res1
)) {
28637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28639 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->GetPPIScreen(arg2
,arg3
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28647 if (SWIG_IsTmpObj(res2
)) {
28648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28650 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28653 if (SWIG_IsTmpObj(res3
)) {
28654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28665 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
= 0;
28667 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 PyObject
* obj2
= 0 ;
28679 char * kwnames
[] = {
28680 (char *) "self",(char *) "x",(char *) "y", NULL
28683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28688 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28690 if (!SWIG_IsOK(ecode2
)) {
28691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28693 arg2
= static_cast< int >(val2
);
28694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28695 if (!SWIG_IsOK(ecode3
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28698 arg3
= static_cast< int >(val3
);
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= SWIG_Py_Void();
28712 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28713 PyObject
*resultobj
= 0;
28714 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28715 int *arg2
= (int *) 0 ;
28716 int *arg3
= (int *) 0 ;
28720 int res2
= SWIG_TMPOBJ
;
28722 int res3
= SWIG_TMPOBJ
;
28723 PyObject
*swig_obj
[1] ;
28727 if (!args
) SWIG_fail
;
28728 swig_obj
[0] = args
;
28729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28733 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_Py_Void();
28741 if (SWIG_IsTmpObj(res2
)) {
28742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28744 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28747 if (SWIG_IsTmpObj(res3
)) {
28748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28750 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28759 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
= 0;
28761 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 PyObject
* obj1
= 0 ;
28768 char * kwnames
[] = {
28769 (char *) "self",(char *) "paperRectPixels", NULL
28772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28774 if (!SWIG_IsOK(res1
)) {
28775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28777 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28780 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= SWIG_Py_Void();
28795 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28796 PyObject
*resultobj
= 0;
28797 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28801 PyObject
*swig_obj
[1] ;
28803 if (!args
) SWIG_fail
;
28804 swig_obj
[0] = args
;
28805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28806 if (!SWIG_IsOK(res1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28809 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28823 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28824 PyObject
*resultobj
= 0;
28825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28829 PyObject
*swig_obj
[1] ;
28831 if (!args
) SWIG_fail
;
28832 swig_obj
[0] = args
;
28833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28834 if (!SWIG_IsOK(res1
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28837 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (bool)(arg1
)->IsPreview();
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28853 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
= 0;
28855 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 char * kwnames
[] = {
28864 (char *) "self",(char *) "p", NULL
28867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28869 if (!SWIG_IsOK(res1
)) {
28870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28872 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28874 if (!SWIG_IsOK(ecode2
)) {
28875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28877 arg2
= static_cast< bool >(val2
);
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 (arg1
)->SetIsPreview(arg2
);
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_Py_Void();
28891 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
= 0;
28893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28903 PyObject
* obj0
= 0 ;
28904 PyObject
* obj1
= 0 ;
28905 PyObject
* obj2
= 0 ;
28906 char * kwnames
[] = {
28907 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28915 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28917 if (!SWIG_IsOK(ecode2
)) {
28918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28920 arg2
= static_cast< int >(val2
);
28921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28922 if (!SWIG_IsOK(ecode3
)) {
28923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28925 arg3
= static_cast< int >(val3
);
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28941 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28942 PyObject
*resultobj
= 0;
28943 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28946 PyObject
*swig_obj
[1] ;
28948 if (!args
) SWIG_fail
;
28949 swig_obj
[0] = args
;
28950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28954 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 (arg1
)->OnEndDocument();
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_Py_Void();
28968 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28969 PyObject
*resultobj
= 0;
28970 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28973 PyObject
*swig_obj
[1] ;
28975 if (!args
) SWIG_fail
;
28976 swig_obj
[0] = args
;
28977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28978 if (!SWIG_IsOK(res1
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28981 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 (arg1
)->OnBeginPrinting();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_Py_Void();
28995 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28996 PyObject
*resultobj
= 0;
28997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29000 PyObject
*swig_obj
[1] ;
29002 if (!args
) SWIG_fail
;
29003 swig_obj
[0] = args
;
29004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29005 if (!SWIG_IsOK(res1
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29008 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 (arg1
)->OnEndPrinting();
29012 wxPyEndAllowThreads(__tstate
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= SWIG_Py_Void();
29022 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29023 PyObject
*resultobj
= 0;
29024 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29027 PyObject
*swig_obj
[1] ;
29029 if (!args
) SWIG_fail
;
29030 swig_obj
[0] = args
;
29031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29035 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 (arg1
)->OnPreparePrinting();
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29042 resultobj
= SWIG_Py_Void();
29049 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
= 0;
29051 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29058 PyObject
* obj0
= 0 ;
29059 PyObject
* obj1
= 0 ;
29060 char * kwnames
[] = {
29061 (char *) "self",(char *) "page", NULL
29064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29066 if (!SWIG_IsOK(res1
)) {
29067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29069 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29071 if (!SWIG_IsOK(ecode2
)) {
29072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29074 arg2
= static_cast< int >(val2
);
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= (bool)(arg1
)->HasPage(arg2
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29090 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29091 PyObject
*resultobj
= 0;
29092 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29093 int *arg2
= (int *) 0 ;
29094 int *arg3
= (int *) 0 ;
29095 int *arg4
= (int *) 0 ;
29096 int *arg5
= (int *) 0 ;
29100 int res2
= SWIG_TMPOBJ
;
29102 int res3
= SWIG_TMPOBJ
;
29104 int res4
= SWIG_TMPOBJ
;
29106 int res5
= SWIG_TMPOBJ
;
29107 PyObject
*swig_obj
[1] ;
29113 if (!args
) SWIG_fail
;
29114 swig_obj
[0] = args
;
29115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29119 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 resultobj
= SWIG_Py_Void();
29127 if (SWIG_IsTmpObj(res2
)) {
29128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29130 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29133 if (SWIG_IsTmpObj(res3
)) {
29134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29136 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29139 if (SWIG_IsTmpObj(res4
)) {
29140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29142 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29145 if (SWIG_IsTmpObj(res5
)) {
29146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29148 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29157 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29160 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29161 return SWIG_Py_Void();
29164 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29165 return SWIG_Python_InitShadowInstance(args
);
29168 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
= 0;
29170 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29171 wxWindow
*arg2
= (wxWindow
*) 0 ;
29172 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29173 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29174 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29175 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29176 long arg5
= (long) 0 ;
29177 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29178 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29179 wxPreviewCanvas
*result
= 0 ;
29188 bool temp6
= false ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 PyObject
* obj2
= 0 ;
29192 PyObject
* obj3
= 0 ;
29193 PyObject
* obj4
= 0 ;
29194 PyObject
* obj5
= 0 ;
29195 char * kwnames
[] = {
29196 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29201 if (!SWIG_IsOK(res1
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29204 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29205 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29206 if (!SWIG_IsOK(res2
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29209 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29219 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29223 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29224 if (!SWIG_IsOK(ecode5
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29227 arg5
= static_cast< long >(val5
);
29231 arg6
= wxString_in_helper(obj5
);
29232 if (arg6
== NULL
) SWIG_fail
;
29237 if (!wxPyCheckForApp()) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29258 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29262 return SWIG_Py_Void();
29265 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29266 return SWIG_Python_InitShadowInstance(args
);
29269 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29272 wxFrame
*arg2
= (wxFrame
*) 0 ;
29273 wxString
*arg3
= 0 ;
29274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29278 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29279 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29280 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29281 wxPreviewFrame
*result
= 0 ;
29285 bool temp3
= false ;
29290 bool temp7
= false ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 PyObject
* obj3
= 0 ;
29295 PyObject
* obj4
= 0 ;
29296 PyObject
* obj5
= 0 ;
29297 PyObject
* obj6
= 0 ;
29298 char * kwnames
[] = {
29299 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29303 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29304 if (!SWIG_IsOK(res1
)) {
29305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29308 if (!SWIG_IsOK(res2
)) {
29309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29311 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29313 arg3
= wxString_in_helper(obj2
);
29314 if (arg3
== NULL
) SWIG_fail
;
29320 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29326 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29330 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29331 if (!SWIG_IsOK(ecode6
)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29334 arg6
= static_cast< long >(val6
);
29338 arg7
= wxString_in_helper(obj6
);
29339 if (arg7
== NULL
) SWIG_fail
;
29344 if (!wxPyCheckForApp()) SWIG_fail
;
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29346 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29373 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29374 PyObject
*resultobj
= 0;
29375 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29378 PyObject
*swig_obj
[1] ;
29380 if (!args
) SWIG_fail
;
29381 swig_obj
[0] = args
;
29382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29386 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 (arg1
)->Initialize();
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= SWIG_Py_Void();
29400 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29401 PyObject
*resultobj
= 0;
29402 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29405 PyObject
*swig_obj
[1] ;
29407 if (!args
) SWIG_fail
;
29408 swig_obj
[0] = args
;
29409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29410 if (!SWIG_IsOK(res1
)) {
29411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29413 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 (arg1
)->CreateControlBar();
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= SWIG_Py_Void();
29427 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29428 PyObject
*resultobj
= 0;
29429 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29432 PyObject
*swig_obj
[1] ;
29434 if (!args
) SWIG_fail
;
29435 swig_obj
[0] = args
;
29436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29440 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 (arg1
)->CreateCanvas();
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= SWIG_Py_Void();
29454 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29455 PyObject
*resultobj
= 0;
29456 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29457 wxPreviewControlBar
*result
= 0 ;
29460 PyObject
*swig_obj
[1] ;
29462 if (!args
) SWIG_fail
;
29463 swig_obj
[0] = args
;
29464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29465 if (!SWIG_IsOK(res1
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29468 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29482 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29485 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29486 return SWIG_Py_Void();
29489 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29490 return SWIG_Python_InitShadowInstance(args
);
29493 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29494 PyObject
*resultobj
= 0;
29495 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29497 wxWindow
*arg3
= (wxWindow
*) 0 ;
29498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29502 long arg6
= (long) wxTAB_TRAVERSAL
;
29503 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29505 wxPreviewControlBar
*result
= 0 ;
29516 bool temp7
= false ;
29517 PyObject
* obj0
= 0 ;
29518 PyObject
* obj1
= 0 ;
29519 PyObject
* obj2
= 0 ;
29520 PyObject
* obj3
= 0 ;
29521 PyObject
* obj4
= 0 ;
29522 PyObject
* obj5
= 0 ;
29523 PyObject
* obj6
= 0 ;
29524 char * kwnames
[] = {
29525 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29530 if (!SWIG_IsOK(res1
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29533 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29534 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29535 if (!SWIG_IsOK(ecode2
)) {
29536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29538 arg2
= static_cast< long >(val2
);
29539 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29540 if (!SWIG_IsOK(res3
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29543 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29557 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29558 if (!SWIG_IsOK(ecode6
)) {
29559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29561 arg6
= static_cast< long >(val6
);
29565 arg7
= wxString_in_helper(obj6
);
29566 if (arg7
== NULL
) SWIG_fail
;
29571 if (!wxPyCheckForApp()) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29592 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29593 PyObject
*resultobj
= 0;
29594 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29598 PyObject
*swig_obj
[1] ;
29600 if (!args
) SWIG_fail
;
29601 swig_obj
[0] = args
;
29602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29603 if (!SWIG_IsOK(res1
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29606 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (int)(arg1
)->GetZoomControl();
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_From_int(static_cast< int >(result
));
29620 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 char * kwnames
[] = {
29631 (char *) "self",(char *) "zoom", NULL
29634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29639 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29641 if (!SWIG_IsOK(ecode2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29644 arg2
= static_cast< int >(val2
);
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 (arg1
)->SetZoomControl(arg2
);
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29651 resultobj
= SWIG_Py_Void();
29658 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29659 PyObject
*resultobj
= 0;
29660 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29661 wxPrintPreview
*result
= 0 ;
29664 PyObject
*swig_obj
[1] ;
29666 if (!args
) SWIG_fail
;
29667 swig_obj
[0] = args
;
29668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29669 if (!SWIG_IsOK(res1
)) {
29670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29672 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29686 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29687 PyObject
*resultobj
= 0;
29688 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29691 PyObject
*swig_obj
[1] ;
29693 if (!args
) SWIG_fail
;
29694 swig_obj
[0] = args
;
29695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29699 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= SWIG_Py_Void();
29713 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29714 PyObject
*resultobj
= 0;
29715 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29718 PyObject
*swig_obj
[1] ;
29720 if (!args
) SWIG_fail
;
29721 swig_obj
[0] = args
;
29722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29723 if (!SWIG_IsOK(res1
)) {
29724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29726 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29729 (arg1
)->OnPrevious();
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= SWIG_Py_Void();
29740 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29741 PyObject
*resultobj
= 0;
29742 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29745 PyObject
*swig_obj
[1] ;
29747 if (!args
) SWIG_fail
;
29748 swig_obj
[0] = args
;
29749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29750 if (!SWIG_IsOK(res1
)) {
29751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29753 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= SWIG_Py_Void();
29767 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29768 PyObject
*resultobj
= 0;
29769 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29772 PyObject
*swig_obj
[1] ;
29774 if (!args
) SWIG_fail
;
29775 swig_obj
[0] = args
;
29776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29777 if (!SWIG_IsOK(res1
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29780 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= SWIG_Py_Void();
29794 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29795 PyObject
*resultobj
= 0;
29796 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29799 PyObject
*swig_obj
[1] ;
29801 if (!args
) SWIG_fail
;
29802 swig_obj
[0] = args
;
29803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29807 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 resultobj
= SWIG_Py_Void();
29821 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29824 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29825 return SWIG_Py_Void();
29828 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29829 return SWIG_Python_InitShadowInstance(args
);
29832 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29833 PyObject
*resultobj
= 0;
29834 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29835 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29836 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29837 wxPrintPreview
*result
= 0 ;
29843 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29844 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29845 if (!SWIG_IsOK(res1
)) {
29846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29848 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29849 if (!SWIG_IsOK(res2
)) {
29850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29853 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29854 if (!SWIG_IsOK(res3
)) {
29855 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29857 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29860 if (!wxPyCheckForApp()) SWIG_fail
;
29861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29862 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29863 wxPyEndAllowThreads(__tstate
);
29864 if (PyErr_Occurred()) SWIG_fail
;
29866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29873 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29874 PyObject
*resultobj
= 0;
29875 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29876 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29877 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29878 wxPrintPreview
*result
= 0 ;
29884 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29885 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29889 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29890 if (!SWIG_IsOK(res2
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29893 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29894 if (!SWIG_IsOK(res3
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29897 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29899 if (!wxPyCheckForApp()) SWIG_fail
;
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29901 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29912 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29916 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29918 if ((argc
>= 2) && (argc
<= 3)) {
29923 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29924 _v
= SWIG_CheckState(res
);
29926 if (!_v
) goto check_1
;
29928 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29933 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29937 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29942 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29943 PyObject
*resultobj
= 0;
29944 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29947 PyObject
*swig_obj
[1] ;
29949 if (!args
) SWIG_fail
;
29950 swig_obj
[0] = args
;
29951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29952 if (!SWIG_IsOK(res1
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29955 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= SWIG_Py_Void();
29970 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
= 0;
29972 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29979 PyObject
* obj0
= 0 ;
29980 PyObject
* obj1
= 0 ;
29981 char * kwnames
[] = {
29982 (char *) "self",(char *) "pageNum", NULL
29985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29987 if (!SWIG_IsOK(res1
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29990 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29992 if (!SWIG_IsOK(ecode2
)) {
29993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29995 arg2
= static_cast< int >(val2
);
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30011 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30012 PyObject
*resultobj
= 0;
30013 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30017 PyObject
*swig_obj
[1] ;
30019 if (!args
) SWIG_fail
;
30020 swig_obj
[0] = args
;
30021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30025 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (int)(arg1
)->GetCurrentPage();
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= SWIG_From_int(static_cast< int >(result
));
30039 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
= 0;
30041 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30042 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30046 PyObject
* obj0
= 0 ;
30047 PyObject
* obj1
= 0 ;
30048 char * kwnames
[] = {
30049 (char *) "self",(char *) "printout", NULL
30052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30054 if (!SWIG_IsOK(res1
)) {
30055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30057 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30058 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30059 if (!SWIG_IsOK(res2
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 (arg1
)->SetPrintout(arg2
);
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= SWIG_Py_Void();
30075 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30076 PyObject
*resultobj
= 0;
30077 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30078 wxPyPrintout
*result
= 0 ;
30081 PyObject
*swig_obj
[1] ;
30083 if (!args
) SWIG_fail
;
30084 swig_obj
[0] = args
;
30085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30086 if (!SWIG_IsOK(res1
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30089 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30093 wxPyEndAllowThreads(__tstate
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= wxPyMake_wxObject(result
, 0);
30105 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30106 PyObject
*resultobj
= 0;
30107 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30108 wxPyPrintout
*result
= 0 ;
30111 PyObject
*swig_obj
[1] ;
30113 if (!args
) SWIG_fail
;
30114 swig_obj
[0] = args
;
30115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30116 if (!SWIG_IsOK(res1
)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30119 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= wxPyMake_wxObject(result
, 0);
30135 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30136 PyObject
*resultobj
= 0;
30137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30138 wxFrame
*arg2
= (wxFrame
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char * kwnames
[] = {
30146 (char *) "self",(char *) "frame", NULL
30149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30151 if (!SWIG_IsOK(res1
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30154 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30156 if (!SWIG_IsOK(res2
)) {
30157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30159 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 (arg1
)->SetFrame(arg2
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= SWIG_Py_Void();
30173 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
= 0;
30175 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30176 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 char * kwnames
[] = {
30184 (char *) "self",(char *) "canvas", NULL
30187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30189 if (!SWIG_IsOK(res1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30192 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30194 if (!SWIG_IsOK(res2
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30197 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 (arg1
)->SetCanvas(arg2
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= SWIG_Py_Void();
30211 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30212 PyObject
*resultobj
= 0;
30213 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30214 wxFrame
*result
= 0 ;
30217 PyObject
*swig_obj
[1] ;
30219 if (!args
) SWIG_fail
;
30220 swig_obj
[0] = args
;
30221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30222 if (!SWIG_IsOK(res1
)) {
30223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30225 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 result
= (wxFrame
*)(arg1
)->GetFrame();
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30233 resultobj
= wxPyMake_wxObject(result
, 0);
30241 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30242 PyObject
*resultobj
= 0;
30243 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30244 wxPreviewCanvas
*result
= 0 ;
30247 PyObject
*swig_obj
[1] ;
30249 if (!args
) SWIG_fail
;
30250 swig_obj
[0] = args
;
30251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30255 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30269 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
= 0;
30271 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30272 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 PyObject
* obj2
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30293 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30295 if (!SWIG_IsOK(res2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30298 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30299 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30300 if (!SWIG_IsOK(res3
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30306 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30322 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
= 0;
30324 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30325 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 PyObject
* obj2
= 0 ;
30337 char * kwnames
[] = {
30338 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30343 if (!SWIG_IsOK(res1
)) {
30344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30346 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30348 if (!SWIG_IsOK(res2
)) {
30349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30351 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30352 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30353 if (!SWIG_IsOK(res3
)) {
30354 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30359 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30375 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
= 0;
30377 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30384 PyObject
* obj0
= 0 ;
30385 PyObject
* obj1
= 0 ;
30386 char * kwnames
[] = {
30387 (char *) "self",(char *) "pageNum", NULL
30390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30392 if (!SWIG_IsOK(res1
)) {
30393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30395 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30397 if (!SWIG_IsOK(ecode2
)) {
30398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30400 arg2
= static_cast< int >(val2
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (bool)(arg1
)->RenderPage(arg2
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30416 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
= 0;
30418 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30419 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 char * kwnames
[] = {
30427 (char *) "self",(char *) "canvas", NULL
30430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30432 if (!SWIG_IsOK(res1
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30435 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30437 if (!SWIG_IsOK(res2
)) {
30438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30440 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 (arg1
)->AdjustScrollbars(arg2
);
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 resultobj
= SWIG_Py_Void();
30454 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30455 PyObject
*resultobj
= 0;
30456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30457 wxPrintDialogData
*result
= 0 ;
30460 PyObject
*swig_obj
[1] ;
30462 if (!args
) SWIG_fail
;
30463 swig_obj
[0] = args
;
30464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30465 if (!SWIG_IsOK(res1
)) {
30466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30468 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30473 result
= (wxPrintDialogData
*) &_result_ref
;
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30485 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
= 0;
30487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30493 PyObject
* obj0
= 0 ;
30494 PyObject
* obj1
= 0 ;
30495 char * kwnames
[] = {
30496 (char *) "self",(char *) "percent", NULL
30499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30501 if (!SWIG_IsOK(res1
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30504 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30506 if (!SWIG_IsOK(ecode2
)) {
30507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30509 arg2
= static_cast< int >(val2
);
30511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30512 (arg1
)->SetZoom(arg2
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 resultobj
= SWIG_Py_Void();
30523 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30524 PyObject
*resultobj
= 0;
30525 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30529 PyObject
*swig_obj
[1] ;
30531 if (!args
) SWIG_fail
;
30532 swig_obj
[0] = args
;
30533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30534 if (!SWIG_IsOK(res1
)) {
30535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30537 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (int)(arg1
)->GetZoom();
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= SWIG_From_int(static_cast< int >(result
));
30551 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30552 PyObject
*resultobj
= 0;
30553 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30557 PyObject
*swig_obj
[1] ;
30559 if (!args
) SWIG_fail
;
30560 swig_obj
[0] = args
;
30561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30562 if (!SWIG_IsOK(res1
)) {
30563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30565 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (int)(arg1
)->GetMaxPage();
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30572 resultobj
= SWIG_From_int(static_cast< int >(result
));
30579 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30580 PyObject
*resultobj
= 0;
30581 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30585 PyObject
*swig_obj
[1] ;
30587 if (!args
) SWIG_fail
;
30588 swig_obj
[0] = args
;
30589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30590 if (!SWIG_IsOK(res1
)) {
30591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30593 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 result
= (int)(arg1
)->GetMinPage();
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= SWIG_From_int(static_cast< int >(result
));
30607 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30608 PyObject
*resultobj
= 0;
30609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30613 PyObject
*swig_obj
[1] ;
30615 if (!args
) SWIG_fail
;
30616 swig_obj
[0] = args
;
30617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30618 if (!SWIG_IsOK(res1
)) {
30619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30621 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30624 result
= (bool)(arg1
)->IsOk();
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30637 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
= 0;
30639 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char * kwnames
[] = {
30648 (char *) "self",(char *) "ok", NULL
30651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30656 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30657 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30658 if (!SWIG_IsOK(ecode2
)) {
30659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30661 arg2
= static_cast< bool >(val2
);
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 (arg1
)->SetOk(arg2
);
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_Py_Void();
30675 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
= 0;
30677 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30684 PyObject
* obj0
= 0 ;
30685 PyObject
* obj1
= 0 ;
30686 char * kwnames
[] = {
30687 (char *) "self",(char *) "interactive", NULL
30690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30695 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30696 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30697 if (!SWIG_IsOK(ecode2
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30700 arg2
= static_cast< bool >(val2
);
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (bool)(arg1
)->Print(arg2
);
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30716 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30717 PyObject
*resultobj
= 0;
30718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30721 PyObject
*swig_obj
[1] ;
30723 if (!args
) SWIG_fail
;
30724 swig_obj
[0] = args
;
30725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30726 if (!SWIG_IsOK(res1
)) {
30727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30729 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 (arg1
)->DetermineScaling();
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= SWIG_Py_Void();
30743 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30746 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30747 return SWIG_Py_Void();
30750 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30751 return SWIG_Python_InitShadowInstance(args
);
30754 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30755 PyObject
*resultobj
= 0;
30756 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30757 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30758 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30759 wxPyPrintPreview
*result
= 0 ;
30765 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30766 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30767 if (!SWIG_IsOK(res1
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30770 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30771 if (!SWIG_IsOK(res2
)) {
30772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30775 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30776 if (!SWIG_IsOK(res3
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30779 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30782 if (!wxPyCheckForApp()) SWIG_fail
;
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30795 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30796 PyObject
*resultobj
= 0;
30797 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30798 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30799 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30800 wxPyPrintPreview
*result
= 0 ;
30806 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30811 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30812 if (!SWIG_IsOK(res2
)) {
30813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30815 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30816 if (!SWIG_IsOK(res3
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30819 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30821 if (!wxPyCheckForApp()) SWIG_fail
;
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30834 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30838 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30840 if ((argc
>= 2) && (argc
<= 3)) {
30845 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30846 _v
= SWIG_CheckState(res
);
30848 if (!_v
) goto check_1
;
30850 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30855 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30859 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30864 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
= 0;
30866 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30867 PyObject
*arg2
= (PyObject
*) 0 ;
30868 PyObject
*arg3
= (PyObject
*) 0 ;
30871 PyObject
* obj0
= 0 ;
30872 PyObject
* obj1
= 0 ;
30873 PyObject
* obj2
= 0 ;
30874 char * kwnames
[] = {
30875 (char *) "self",(char *) "self",(char *) "_class", NULL
30878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30880 if (!SWIG_IsOK(res1
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30883 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30892 resultobj
= SWIG_Py_Void();
30899 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30903 return SWIG_Py_Void();
30906 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30907 return SWIG_Python_InitShadowInstance(args
);
30910 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
= 0;
30912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30913 wxFrame
*arg2
= (wxFrame
*) 0 ;
30914 wxString
*arg3
= 0 ;
30915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30919 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30920 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30921 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30922 wxPyPreviewFrame
*result
= 0 ;
30926 bool temp3
= false ;
30931 bool temp7
= false ;
30932 PyObject
* obj0
= 0 ;
30933 PyObject
* obj1
= 0 ;
30934 PyObject
* obj2
= 0 ;
30935 PyObject
* obj3
= 0 ;
30936 PyObject
* obj4
= 0 ;
30937 PyObject
* obj5
= 0 ;
30938 PyObject
* obj6
= 0 ;
30939 char * kwnames
[] = {
30940 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30944 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30945 if (!SWIG_IsOK(res1
)) {
30946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30949 if (!SWIG_IsOK(res2
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30952 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30954 arg3
= wxString_in_helper(obj2
);
30955 if (arg3
== NULL
) SWIG_fail
;
30961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30971 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30972 if (!SWIG_IsOK(ecode6
)) {
30973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30975 arg6
= static_cast< long >(val6
);
30979 arg7
= wxString_in_helper(obj6
);
30980 if (arg7
== NULL
) SWIG_fail
;
30985 if (!wxPyCheckForApp()) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31014 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31017 PyObject
*arg2
= (PyObject
*) 0 ;
31018 PyObject
*arg3
= (PyObject
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 PyObject
* obj2
= 0 ;
31024 char * kwnames
[] = {
31025 (char *) "self",(char *) "self",(char *) "_class", NULL
31028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31033 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= SWIG_Py_Void();
31049 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
= 0;
31051 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31052 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 PyObject
* obj1
= 0 ;
31059 char * kwnames
[] = {
31060 (char *) "self",(char *) "canvas", NULL
31063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31065 if (!SWIG_IsOK(res1
)) {
31066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31068 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31070 if (!SWIG_IsOK(res2
)) {
31071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31073 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 (arg1
)->SetPreviewCanvas(arg2
);
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= SWIG_Py_Void();
31087 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
= 0;
31089 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31090 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 char * kwnames
[] = {
31098 (char *) "self",(char *) "bar", NULL
31101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31103 if (!SWIG_IsOK(res1
)) {
31104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31106 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31108 if (!SWIG_IsOK(res2
)) {
31109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31111 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 (arg1
)->SetControlBar(arg2
);
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= SWIG_Py_Void();
31125 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31126 PyObject
*resultobj
= 0;
31127 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31130 PyObject
*swig_obj
[1] ;
31132 if (!args
) SWIG_fail
;
31133 swig_obj
[0] = args
;
31134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31135 if (!SWIG_IsOK(res1
)) {
31136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31138 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 (arg1
)->Initialize();
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= SWIG_Py_Void();
31152 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31153 PyObject
*resultobj
= 0;
31154 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31157 PyObject
*swig_obj
[1] ;
31159 if (!args
) SWIG_fail
;
31160 swig_obj
[0] = args
;
31161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31162 if (!SWIG_IsOK(res1
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31165 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 (arg1
)->CreateCanvas();
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 resultobj
= SWIG_Py_Void();
31179 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31180 PyObject
*resultobj
= 0;
31181 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31184 PyObject
*swig_obj
[1] ;
31186 if (!args
) SWIG_fail
;
31187 swig_obj
[0] = args
;
31188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31189 if (!SWIG_IsOK(res1
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31192 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 (arg1
)->CreateControlBar();
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31199 resultobj
= SWIG_Py_Void();
31206 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31209 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31210 return SWIG_Py_Void();
31213 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31214 return SWIG_Python_InitShadowInstance(args
);
31217 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
= 0;
31219 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31221 wxWindow
*arg3
= (wxWindow
*) 0 ;
31222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31226 long arg6
= (long) 0 ;
31227 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31228 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31229 wxPyPreviewControlBar
*result
= 0 ;
31239 bool temp7
= false ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 PyObject
* obj2
= 0 ;
31243 PyObject
* obj3
= 0 ;
31244 PyObject
* obj4
= 0 ;
31245 PyObject
* obj5
= 0 ;
31246 PyObject
* obj6
= 0 ;
31247 char * kwnames
[] = {
31248 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31252 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31253 if (!SWIG_IsOK(res1
)) {
31254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31256 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31257 if (!SWIG_IsOK(ecode2
)) {
31258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31260 arg2
= static_cast< long >(val2
);
31261 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31262 if (!SWIG_IsOK(res3
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31265 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31279 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31280 if (!SWIG_IsOK(ecode6
)) {
31281 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31283 arg6
= static_cast< long >(val6
);
31287 arg7
= wxString_in_helper(obj6
);
31288 if (arg7
== NULL
) SWIG_fail
;
31293 if (!wxPyCheckForApp()) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31314 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
= 0;
31316 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31317 PyObject
*arg2
= (PyObject
*) 0 ;
31318 PyObject
*arg3
= (PyObject
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 PyObject
* obj2
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "self",(char *) "_class", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31333 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= SWIG_Py_Void();
31349 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
= 0;
31351 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31352 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31356 PyObject
* obj0
= 0 ;
31357 PyObject
* obj1
= 0 ;
31358 char * kwnames
[] = {
31359 (char *) "self",(char *) "preview", NULL
31362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31364 if (!SWIG_IsOK(res1
)) {
31365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31367 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31368 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31369 if (!SWIG_IsOK(res2
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 (arg1
)->SetPrintPreview(arg2
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_Py_Void();
31385 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31386 PyObject
*resultobj
= 0;
31387 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31390 PyObject
*swig_obj
[1] ;
31392 if (!args
) SWIG_fail
;
31393 swig_obj
[0] = args
;
31394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31395 if (!SWIG_IsOK(res1
)) {
31396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31398 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 (arg1
)->CreateButtons();
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_Py_Void();
31412 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
= 0;
31414 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 char * kwnames
[] = {
31423 (char *) "self",(char *) "zoom", NULL
31426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31428 if (!SWIG_IsOK(res1
)) {
31429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31431 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31433 if (!SWIG_IsOK(ecode2
)) {
31434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31436 arg2
= static_cast< int >(val2
);
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 (arg1
)->SetZoomControl(arg2
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 resultobj
= SWIG_Py_Void();
31450 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31453 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31454 return SWIG_Py_Void();
31457 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31458 return SWIG_Python_InitShadowInstance(args
);
31461 static PyMethodDef SwigMethods
[] = {
31462 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31464 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31466 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31468 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31469 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31471 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31478 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31480 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31482 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31483 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31484 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31485 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31486 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31489 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31492 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31493 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31495 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31497 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31498 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31499 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31500 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31504 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31506 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31510 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31512 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31514 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31517 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31518 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31520 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31522 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31524 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31527 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31534 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31536 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31541 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31542 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31544 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31547 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31549 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31551 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31556 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31557 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31560 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31561 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31563 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31566 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31569 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31570 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31571 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31573 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31574 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31575 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31576 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31577 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31579 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31582 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31591 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31592 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31594 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31595 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31597 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31599 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31600 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31602 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31608 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31609 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31612 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31613 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31615 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31617 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31619 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31621 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31623 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31626 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31629 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31630 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31631 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31632 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31633 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31634 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31636 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31644 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31646 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31649 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31650 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31653 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31654 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31656 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31657 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31658 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31661 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31663 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31665 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31666 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31667 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31670 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31672 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31674 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31676 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31678 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31679 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31680 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31683 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31685 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31686 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31687 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31689 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31691 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31692 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31696 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31697 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31698 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31699 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31703 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31704 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31706 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31709 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31710 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31712 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31715 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31716 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31717 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31720 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31721 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31722 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31724 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31733 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31734 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31735 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31736 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31738 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31739 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31743 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31745 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31748 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31749 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31750 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31753 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31754 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31756 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31757 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31759 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31764 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31765 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31771 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31772 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31774 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31778 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31781 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31782 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31783 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31785 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31786 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31787 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31789 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31791 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31792 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31794 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31795 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31796 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31797 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31798 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31799 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31804 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31805 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31807 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31808 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31809 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31812 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31813 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31816 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31817 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31825 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31826 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31827 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31828 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31829 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31830 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31831 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31832 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31834 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31837 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31838 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31839 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31841 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31842 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31844 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31845 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31847 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31849 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31850 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31852 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31853 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31855 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31856 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31857 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31858 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31859 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31861 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31862 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31863 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31864 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31865 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31866 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31873 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31874 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31876 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31877 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31878 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31881 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31882 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31886 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31887 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31888 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31890 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31891 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31892 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31893 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31897 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31898 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31900 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31901 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31902 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31903 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31907 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31908 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31910 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31912 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31914 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31915 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31917 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31919 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31920 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31921 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31922 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31923 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31924 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31926 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31927 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31929 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31931 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31932 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31933 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31935 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31937 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31938 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31940 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31947 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31948 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31949 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31950 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31951 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31952 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31953 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31954 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31955 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31957 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31964 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31965 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31966 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31967 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31968 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31969 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31970 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31971 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31972 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31974 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31981 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31982 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31983 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31984 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31985 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31986 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31987 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31989 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31990 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31991 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31992 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31993 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31994 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
31995 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31996 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31997 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31998 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31999 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32000 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32001 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32002 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32003 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32004 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32005 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32019 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32021 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32023 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32024 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32025 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32026 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32032 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32033 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32034 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32035 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32036 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32037 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32038 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32039 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32040 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32041 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32042 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32043 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32044 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32045 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32046 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32056 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32057 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32058 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32059 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32061 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32062 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32063 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32064 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32065 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32066 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32067 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32068 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32069 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32070 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32071 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32072 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32073 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32074 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32075 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32076 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32077 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32091 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32092 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32093 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32094 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32095 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32096 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32098 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32099 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32101 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32102 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32103 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32104 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32105 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32106 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32107 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32109 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32115 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32116 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32117 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32118 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32119 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32121 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32123 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32124 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32129 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32130 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32132 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32133 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32134 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32139 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32141 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32143 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32145 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32147 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32148 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32151 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32152 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32153 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32154 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32156 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32157 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32158 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32160 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32161 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32163 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32164 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32165 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32166 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32167 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32168 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32170 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32172 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32173 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32174 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32175 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32176 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32177 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32178 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32179 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32180 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32181 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32183 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32185 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32186 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32189 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32190 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32195 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32197 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32198 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32199 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32200 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32203 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32204 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32205 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32206 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32208 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32209 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32214 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32215 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32216 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32217 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32218 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32222 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32224 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32225 { NULL
, NULL
, 0, NULL
}
32229 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32231 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32232 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32234 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32235 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32237 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32238 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32240 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32241 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32243 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32244 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32246 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32247 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32249 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32250 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32252 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32253 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32255 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32256 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32258 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32261 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32264 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32265 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32267 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32268 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32270 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32271 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32273 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32274 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32276 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32277 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32279 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32282 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32283 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32285 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32286 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32288 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32289 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32291 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32292 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32294 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32295 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32297 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32298 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32300 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32303 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32304 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32306 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32307 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32309 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32310 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32312 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32313 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32315 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32316 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32318 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32319 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32321 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32322 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32324 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32325 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32327 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32328 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32330 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32331 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32333 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32336 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32339 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32340 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32342 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32343 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32345 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32346 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32348 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32349 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32351 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32354 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32355 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32357 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32358 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32360 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32361 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32363 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32364 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32366 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32367 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32369 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32370 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32372 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32375 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32378 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32381 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32382 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32384 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32385 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32387 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32388 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32390 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32391 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32393 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32396 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32399 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32402 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32405 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32408 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32411 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32414 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32417 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32420 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32421 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32423 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32424 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32426 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32429 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32432 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32435 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32438 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32441 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32442 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32444 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32445 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32447 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32448 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32450 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32451 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32453 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32456 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32457 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32459 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32460 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32462 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32465 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32466 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32468 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32471 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32474 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32477 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32478 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32480 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32483 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32484 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32486 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32489 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32492 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32495 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32498 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32501 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32502 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32504 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32507 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32510 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32513 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32516 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32519 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32522 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32523 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32525 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32526 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32528 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32529 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32531 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32532 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32534 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32535 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32537 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32538 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32540 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32541 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32543 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32544 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32546 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32549 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32552 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32555 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32558 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32561 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32564 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32567 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32570 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32573 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32576 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) ((wxSizer
*) x
));
32579 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32582 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32585 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32588 static void *_p_wxEventTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) ((wxEvent
*) x
));
32591 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) ((wxFontData
*) x
));
32594 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32597 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32600 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32603 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32606 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32609 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32612 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32615 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32618 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32621 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32624 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32627 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32630 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32633 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32636 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32639 static void *_p_wxControlTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32642 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32645 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32648 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32651 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32654 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32657 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32660 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) ((wxColourData
*) x
));
32663 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32666 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32669 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32672 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32675 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32678 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32681 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32684 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32687 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32690 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32693 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32696 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32699 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32702 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32705 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32708 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32711 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32714 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32717 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32720 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32723 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32726 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32729 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32732 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32735 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32738 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32741 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32744 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32747 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32750 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32753 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32756 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32759 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32762 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32765 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32768 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32771 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32774 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32777 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32780 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32783 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32786 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32789 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32792 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32795 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32798 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32801 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32804 static void *_p_wxImageTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) ((wxImage
*) x
));
32807 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32810 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32813 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32816 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32819 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32822 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32825 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32828 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32831 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32834 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32837 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32840 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32843 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32846 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32849 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32852 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32855 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32858 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32861 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32864 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32867 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32870 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32873 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32876 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32879 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32882 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32883 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32885 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32886 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32888 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32891 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32894 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32897 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32900 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32903 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32904 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32906 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32907 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32909 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32910 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32912 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32915 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32916 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32918 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32919 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32921 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32922 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32924 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32925 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32927 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32928 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32930 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32933 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32934 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32936 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32939 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32942 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32943 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32945 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32946 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32948 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32949 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32951 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32954 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32955 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32957 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32958 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32960 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32963 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32964 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32966 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32967 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32969 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32970 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32972 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32973 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32975 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32976 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32978 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32979 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32981 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32982 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32984 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32985 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32987 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32988 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32990 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32991 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32993 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32994 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32996 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32997 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32999 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33000 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33002 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33003 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33005 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33006 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33008 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33009 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33011 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33012 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33014 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33015 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33017 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33018 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33020 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33021 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33023 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33024 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33026 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33027 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33029 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33030 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33032 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33033 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33035 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33036 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33038 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33039 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33041 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33042 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33044 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33045 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33047 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33048 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33050 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33051 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33053 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33054 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33056 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33057 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33059 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33060 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33062 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33063 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33065 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33066 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33068 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33069 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33071 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33072 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33074 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33075 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33077 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33078 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33080 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33081 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33083 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33084 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33086 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33087 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33089 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33090 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33092 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33093 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33095 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33096 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33098 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33099 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33101 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33102 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33104 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33105 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33107 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33108 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33110 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33111 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33113 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33114 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33116 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33117 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33119 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33120 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33122 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33123 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33125 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33126 return (void *)((wxWindow
*) ((wxControl
*) x
));
33128 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33129 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33131 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33132 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33134 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33135 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33137 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33138 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33140 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33141 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33143 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33144 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33146 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33147 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33149 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33150 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33152 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33153 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33155 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33156 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33158 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33159 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33161 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33162 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33164 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33165 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33167 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33168 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33170 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33171 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33173 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33174 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33176 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33177 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33179 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33180 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33182 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33183 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33185 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33186 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33188 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33189 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33191 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33192 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33194 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33195 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33197 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33198 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33200 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33201 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33203 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33204 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33206 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33207 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33209 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33210 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33212 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33213 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33215 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33216 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33218 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33219 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33221 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33222 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33224 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33225 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33227 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33228 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33230 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33231 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33233 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33234 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33236 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33237 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33239 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33240 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33242 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33243 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33245 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33246 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33248 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33249 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33251 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33252 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33254 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33255 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33257 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33258 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33260 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33261 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33263 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33264 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33266 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33267 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33269 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33270 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33272 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33273 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33275 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33276 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33278 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33279 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33281 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33282 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33284 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33285 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33287 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33288 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33289 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};
33290 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33291 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33292 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33295 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33296 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33301 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33302 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33303 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33311 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33312 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33313 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33314 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33315 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33319 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33320 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33321 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33322 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33323 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33324 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33325 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33326 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33327 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33328 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33329 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33330 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33331 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33332 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33333 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33334 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33335 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33336 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33337 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33338 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33339 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33340 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33341 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33343 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33344 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33345 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33346 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33347 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33372 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33373 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33374 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33375 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33376 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33377 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33378 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33379 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33380 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33381 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33382 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33383 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33384 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33385 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33386 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33387 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33388 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33389 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33390 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33391 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33392 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33393 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33394 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33395 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33396 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33397 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33398 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33399 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33400 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33401 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33402 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33403 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33404 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33405 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33406 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33407 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33408 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33409 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33410 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33411 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33412 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33413 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33414 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33415 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33416 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33417 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33418 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33419 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33420 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33421 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33422 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33423 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33424 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33425 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33426 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33427 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33428 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33429 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33430 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33431 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33432 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33433 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33434 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33435 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33436 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33437 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33438 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33439 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33440 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33441 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33442 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33443 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33444 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33445 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33446 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33447 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33448 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33449 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33450 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33451 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33452 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33454 static swig_type_info
*swig_type_initial
[] = {
33457 &_swigt__p_form_ops_t
,
33459 &_swigt__p_unsigned_char
,
33460 &_swigt__p_unsigned_int
,
33461 &_swigt__p_unsigned_long
,
33462 &_swigt__p_wxANIHandler
,
33463 &_swigt__p_wxAcceleratorTable
,
33464 &_swigt__p_wxActivateEvent
,
33465 &_swigt__p_wxArrayInt
,
33466 &_swigt__p_wxBMPHandler
,
33467 &_swigt__p_wxBitmap
,
33468 &_swigt__p_wxBoxSizer
,
33469 &_swigt__p_wxCURHandler
,
33470 &_swigt__p_wxCalculateLayoutEvent
,
33471 &_swigt__p_wxChildFocusEvent
,
33472 &_swigt__p_wxClipboardTextEvent
,
33473 &_swigt__p_wxCloseEvent
,
33474 &_swigt__p_wxColour
,
33475 &_swigt__p_wxColourData
,
33476 &_swigt__p_wxColourDialog
,
33477 &_swigt__p_wxCommandEvent
,
33478 &_swigt__p_wxContextMenuEvent
,
33479 &_swigt__p_wxControl
,
33480 &_swigt__p_wxControlWithItems
,
33482 &_swigt__p_wxDateEvent
,
33483 &_swigt__p_wxDialog
,
33484 &_swigt__p_wxDirDialog
,
33485 &_swigt__p_wxDisplayChangedEvent
,
33486 &_swigt__p_wxDropFilesEvent
,
33487 &_swigt__p_wxDuplexMode
,
33488 &_swigt__p_wxEraseEvent
,
33489 &_swigt__p_wxEvent
,
33490 &_swigt__p_wxEvtHandler
,
33491 &_swigt__p_wxFSFile
,
33492 &_swigt__p_wxFileDialog
,
33493 &_swigt__p_wxFileSystem
,
33494 &_swigt__p_wxFindDialogEvent
,
33495 &_swigt__p_wxFindReplaceData
,
33496 &_swigt__p_wxFindReplaceDialog
,
33497 &_swigt__p_wxFlexGridSizer
,
33498 &_swigt__p_wxFocusEvent
,
33500 &_swigt__p_wxFontData
,
33501 &_swigt__p_wxFontDialog
,
33502 &_swigt__p_wxFrame
,
33503 &_swigt__p_wxGBSizerItem
,
33504 &_swigt__p_wxGIFHandler
,
33505 &_swigt__p_wxGridBagSizer
,
33506 &_swigt__p_wxGridSizer
,
33507 &_swigt__p_wxHtmlLinkInfo
,
33508 &_swigt__p_wxICOHandler
,
33510 &_swigt__p_wxIconBundle
,
33511 &_swigt__p_wxIconizeEvent
,
33512 &_swigt__p_wxIdleEvent
,
33513 &_swigt__p_wxImage
,
33514 &_swigt__p_wxImageHandler
,
33515 &_swigt__p_wxIndividualLayoutConstraint
,
33516 &_swigt__p_wxInitDialogEvent
,
33517 &_swigt__p_wxJPEGHandler
,
33518 &_swigt__p_wxKeyEvent
,
33519 &_swigt__p_wxLayoutAlgorithm
,
33520 &_swigt__p_wxLayoutConstraints
,
33521 &_swigt__p_wxMDIChildFrame
,
33522 &_swigt__p_wxMDIClientWindow
,
33523 &_swigt__p_wxMDIParentFrame
,
33524 &_swigt__p_wxMaximizeEvent
,
33526 &_swigt__p_wxMenuBar
,
33527 &_swigt__p_wxMenuEvent
,
33528 &_swigt__p_wxMenuItem
,
33529 &_swigt__p_wxMessageDialog
,
33530 &_swigt__p_wxMiniFrame
,
33531 &_swigt__p_wxMouseCaptureChangedEvent
,
33532 &_swigt__p_wxMouseCaptureLostEvent
,
33533 &_swigt__p_wxMouseEvent
,
33534 &_swigt__p_wxMoveEvent
,
33535 &_swigt__p_wxMultiChoiceDialog
,
33536 &_swigt__p_wxNavigationKeyEvent
,
33537 &_swigt__p_wxNcPaintEvent
,
33538 &_swigt__p_wxNotifyEvent
,
33539 &_swigt__p_wxNumberEntryDialog
,
33540 &_swigt__p_wxObject
,
33541 &_swigt__p_wxPCXHandler
,
33542 &_swigt__p_wxPNGHandler
,
33543 &_swigt__p_wxPNMHandler
,
33544 &_swigt__p_wxPageSetupDialog
,
33545 &_swigt__p_wxPageSetupDialogData
,
33546 &_swigt__p_wxPaintEvent
,
33547 &_swigt__p_wxPaletteChangedEvent
,
33548 &_swigt__p_wxPanel
,
33549 &_swigt__p_wxPaperSize
,
33550 &_swigt__p_wxPasswordEntryDialog
,
33551 &_swigt__p_wxPoint
,
33552 &_swigt__p_wxPopupWindow
,
33553 &_swigt__p_wxPreviewCanvas
,
33554 &_swigt__p_wxPreviewControlBar
,
33555 &_swigt__p_wxPreviewFrame
,
33556 &_swigt__p_wxPrintData
,
33557 &_swigt__p_wxPrintDialog
,
33558 &_swigt__p_wxPrintDialogData
,
33559 &_swigt__p_wxPrintPreview
,
33560 &_swigt__p_wxPrinter
,
33561 &_swigt__p_wxProgressDialog
,
33562 &_swigt__p_wxPyApp
,
33563 &_swigt__p_wxPyCommandEvent
,
33564 &_swigt__p_wxPyEvent
,
33565 &_swigt__p_wxPyHtmlListBox
,
33566 &_swigt__p_wxPyImageHandler
,
33567 &_swigt__p_wxPyPanel
,
33568 &_swigt__p_wxPyPopupTransientWindow
,
33569 &_swigt__p_wxPyPreviewControlBar
,
33570 &_swigt__p_wxPyPreviewFrame
,
33571 &_swigt__p_wxPyPrintPreview
,
33572 &_swigt__p_wxPyPrintout
,
33573 &_swigt__p_wxPyScrolledWindow
,
33574 &_swigt__p_wxPySizer
,
33575 &_swigt__p_wxPyTaskBarIcon
,
33576 &_swigt__p_wxPyVListBox
,
33577 &_swigt__p_wxPyVScrolledWindow
,
33578 &_swigt__p_wxPyValidator
,
33579 &_swigt__p_wxPyWindow
,
33580 &_swigt__p_wxQueryLayoutInfoEvent
,
33581 &_swigt__p_wxQueryNewPaletteEvent
,
33583 &_swigt__p_wxRegion
,
33584 &_swigt__p_wxSashEvent
,
33585 &_swigt__p_wxSashLayoutWindow
,
33586 &_swigt__p_wxSashWindow
,
33587 &_swigt__p_wxScrollEvent
,
33588 &_swigt__p_wxScrollWinEvent
,
33589 &_swigt__p_wxScrolledWindow
,
33590 &_swigt__p_wxSetCursorEvent
,
33591 &_swigt__p_wxShowEvent
,
33592 &_swigt__p_wxSingleChoiceDialog
,
33594 &_swigt__p_wxSizeEvent
,
33595 &_swigt__p_wxSizer
,
33596 &_swigt__p_wxSizerItem
,
33597 &_swigt__p_wxSplashScreen
,
33598 &_swigt__p_wxSplashScreenWindow
,
33599 &_swigt__p_wxSplitterEvent
,
33600 &_swigt__p_wxSplitterWindow
,
33601 &_swigt__p_wxStaticBoxSizer
,
33602 &_swigt__p_wxStatusBar
,
33603 &_swigt__p_wxStdDialogButtonSizer
,
33604 &_swigt__p_wxString
,
33605 &_swigt__p_wxSysColourChangedEvent
,
33606 &_swigt__p_wxTGAHandler
,
33607 &_swigt__p_wxTIFFHandler
,
33608 &_swigt__p_wxTaskBarIcon
,
33609 &_swigt__p_wxTaskBarIconEvent
,
33610 &_swigt__p_wxTextEntryDialog
,
33611 &_swigt__p_wxTipWindow
,
33612 &_swigt__p_wxToolBar
,
33613 &_swigt__p_wxTopLevelWindow
,
33614 &_swigt__p_wxUpdateUIEvent
,
33615 &_swigt__p_wxValidator
,
33616 &_swigt__p_wxVisualAttributes
,
33617 &_swigt__p_wxWindow
,
33618 &_swigt__p_wxWindowCreateEvent
,
33619 &_swigt__p_wxWindowDestroyEvent
,
33620 &_swigt__p_wxXPMHandler
,
33623 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33633 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33634 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33635 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33636 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33637 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33645 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}};
33646 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33667 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33668 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33673 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33674 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33675 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33676 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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}};
33677 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33678 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33679 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33684 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33691 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}};
33692 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33701 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33704 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}};
33705 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33713 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33716 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33717 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33721 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33722 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33723 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33724 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33725 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33726 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33727 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33728 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33729 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33735 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_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_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_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_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_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_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_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}};
33736 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33738 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}};
33739 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33741 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33742 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}};
33743 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33744 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}};
33745 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}};
33746 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33747 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33748 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33749 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}};
33750 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33751 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33752 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33753 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33754 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}};
33755 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33756 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33757 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33758 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33759 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33761 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}};
33762 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}};
33763 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33768 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33769 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}};
33770 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33771 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}};
33772 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33774 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33775 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33778 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33779 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33780 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33781 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33782 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33783 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}};
33784 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33785 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33786 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33787 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33788 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_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}};
33790 static swig_cast_info
*swig_cast_initial
[] = {
33793 _swigc__p_form_ops_t
,
33795 _swigc__p_unsigned_char
,
33796 _swigc__p_unsigned_int
,
33797 _swigc__p_unsigned_long
,
33798 _swigc__p_wxANIHandler
,
33799 _swigc__p_wxAcceleratorTable
,
33800 _swigc__p_wxActivateEvent
,
33801 _swigc__p_wxArrayInt
,
33802 _swigc__p_wxBMPHandler
,
33803 _swigc__p_wxBitmap
,
33804 _swigc__p_wxBoxSizer
,
33805 _swigc__p_wxCURHandler
,
33806 _swigc__p_wxCalculateLayoutEvent
,
33807 _swigc__p_wxChildFocusEvent
,
33808 _swigc__p_wxClipboardTextEvent
,
33809 _swigc__p_wxCloseEvent
,
33810 _swigc__p_wxColour
,
33811 _swigc__p_wxColourData
,
33812 _swigc__p_wxColourDialog
,
33813 _swigc__p_wxCommandEvent
,
33814 _swigc__p_wxContextMenuEvent
,
33815 _swigc__p_wxControl
,
33816 _swigc__p_wxControlWithItems
,
33818 _swigc__p_wxDateEvent
,
33819 _swigc__p_wxDialog
,
33820 _swigc__p_wxDirDialog
,
33821 _swigc__p_wxDisplayChangedEvent
,
33822 _swigc__p_wxDropFilesEvent
,
33823 _swigc__p_wxDuplexMode
,
33824 _swigc__p_wxEraseEvent
,
33826 _swigc__p_wxEvtHandler
,
33827 _swigc__p_wxFSFile
,
33828 _swigc__p_wxFileDialog
,
33829 _swigc__p_wxFileSystem
,
33830 _swigc__p_wxFindDialogEvent
,
33831 _swigc__p_wxFindReplaceData
,
33832 _swigc__p_wxFindReplaceDialog
,
33833 _swigc__p_wxFlexGridSizer
,
33834 _swigc__p_wxFocusEvent
,
33836 _swigc__p_wxFontData
,
33837 _swigc__p_wxFontDialog
,
33839 _swigc__p_wxGBSizerItem
,
33840 _swigc__p_wxGIFHandler
,
33841 _swigc__p_wxGridBagSizer
,
33842 _swigc__p_wxGridSizer
,
33843 _swigc__p_wxHtmlLinkInfo
,
33844 _swigc__p_wxICOHandler
,
33846 _swigc__p_wxIconBundle
,
33847 _swigc__p_wxIconizeEvent
,
33848 _swigc__p_wxIdleEvent
,
33850 _swigc__p_wxImageHandler
,
33851 _swigc__p_wxIndividualLayoutConstraint
,
33852 _swigc__p_wxInitDialogEvent
,
33853 _swigc__p_wxJPEGHandler
,
33854 _swigc__p_wxKeyEvent
,
33855 _swigc__p_wxLayoutAlgorithm
,
33856 _swigc__p_wxLayoutConstraints
,
33857 _swigc__p_wxMDIChildFrame
,
33858 _swigc__p_wxMDIClientWindow
,
33859 _swigc__p_wxMDIParentFrame
,
33860 _swigc__p_wxMaximizeEvent
,
33862 _swigc__p_wxMenuBar
,
33863 _swigc__p_wxMenuEvent
,
33864 _swigc__p_wxMenuItem
,
33865 _swigc__p_wxMessageDialog
,
33866 _swigc__p_wxMiniFrame
,
33867 _swigc__p_wxMouseCaptureChangedEvent
,
33868 _swigc__p_wxMouseCaptureLostEvent
,
33869 _swigc__p_wxMouseEvent
,
33870 _swigc__p_wxMoveEvent
,
33871 _swigc__p_wxMultiChoiceDialog
,
33872 _swigc__p_wxNavigationKeyEvent
,
33873 _swigc__p_wxNcPaintEvent
,
33874 _swigc__p_wxNotifyEvent
,
33875 _swigc__p_wxNumberEntryDialog
,
33876 _swigc__p_wxObject
,
33877 _swigc__p_wxPCXHandler
,
33878 _swigc__p_wxPNGHandler
,
33879 _swigc__p_wxPNMHandler
,
33880 _swigc__p_wxPageSetupDialog
,
33881 _swigc__p_wxPageSetupDialogData
,
33882 _swigc__p_wxPaintEvent
,
33883 _swigc__p_wxPaletteChangedEvent
,
33885 _swigc__p_wxPaperSize
,
33886 _swigc__p_wxPasswordEntryDialog
,
33888 _swigc__p_wxPopupWindow
,
33889 _swigc__p_wxPreviewCanvas
,
33890 _swigc__p_wxPreviewControlBar
,
33891 _swigc__p_wxPreviewFrame
,
33892 _swigc__p_wxPrintData
,
33893 _swigc__p_wxPrintDialog
,
33894 _swigc__p_wxPrintDialogData
,
33895 _swigc__p_wxPrintPreview
,
33896 _swigc__p_wxPrinter
,
33897 _swigc__p_wxProgressDialog
,
33899 _swigc__p_wxPyCommandEvent
,
33900 _swigc__p_wxPyEvent
,
33901 _swigc__p_wxPyHtmlListBox
,
33902 _swigc__p_wxPyImageHandler
,
33903 _swigc__p_wxPyPanel
,
33904 _swigc__p_wxPyPopupTransientWindow
,
33905 _swigc__p_wxPyPreviewControlBar
,
33906 _swigc__p_wxPyPreviewFrame
,
33907 _swigc__p_wxPyPrintPreview
,
33908 _swigc__p_wxPyPrintout
,
33909 _swigc__p_wxPyScrolledWindow
,
33910 _swigc__p_wxPySizer
,
33911 _swigc__p_wxPyTaskBarIcon
,
33912 _swigc__p_wxPyVListBox
,
33913 _swigc__p_wxPyVScrolledWindow
,
33914 _swigc__p_wxPyValidator
,
33915 _swigc__p_wxPyWindow
,
33916 _swigc__p_wxQueryLayoutInfoEvent
,
33917 _swigc__p_wxQueryNewPaletteEvent
,
33919 _swigc__p_wxRegion
,
33920 _swigc__p_wxSashEvent
,
33921 _swigc__p_wxSashLayoutWindow
,
33922 _swigc__p_wxSashWindow
,
33923 _swigc__p_wxScrollEvent
,
33924 _swigc__p_wxScrollWinEvent
,
33925 _swigc__p_wxScrolledWindow
,
33926 _swigc__p_wxSetCursorEvent
,
33927 _swigc__p_wxShowEvent
,
33928 _swigc__p_wxSingleChoiceDialog
,
33930 _swigc__p_wxSizeEvent
,
33932 _swigc__p_wxSizerItem
,
33933 _swigc__p_wxSplashScreen
,
33934 _swigc__p_wxSplashScreenWindow
,
33935 _swigc__p_wxSplitterEvent
,
33936 _swigc__p_wxSplitterWindow
,
33937 _swigc__p_wxStaticBoxSizer
,
33938 _swigc__p_wxStatusBar
,
33939 _swigc__p_wxStdDialogButtonSizer
,
33940 _swigc__p_wxString
,
33941 _swigc__p_wxSysColourChangedEvent
,
33942 _swigc__p_wxTGAHandler
,
33943 _swigc__p_wxTIFFHandler
,
33944 _swigc__p_wxTaskBarIcon
,
33945 _swigc__p_wxTaskBarIconEvent
,
33946 _swigc__p_wxTextEntryDialog
,
33947 _swigc__p_wxTipWindow
,
33948 _swigc__p_wxToolBar
,
33949 _swigc__p_wxTopLevelWindow
,
33950 _swigc__p_wxUpdateUIEvent
,
33951 _swigc__p_wxValidator
,
33952 _swigc__p_wxVisualAttributes
,
33953 _swigc__p_wxWindow
,
33954 _swigc__p_wxWindowCreateEvent
,
33955 _swigc__p_wxWindowDestroyEvent
,
33956 _swigc__p_wxXPMHandler
,
33960 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33962 static swig_const_info swig_const_table
[] = {
33963 {0, 0, 0, 0.0, 0, 0}};
33968 /* -----------------------------------------------------------------------------
33969 * Type initialization:
33970 * This problem is tough by the requirement that no dynamic
33971 * memory is used. Also, since swig_type_info structures store pointers to
33972 * swig_cast_info structures and swig_cast_info structures store pointers back
33973 * to swig_type_info structures, we need some lookup code at initialization.
33974 * The idea is that swig generates all the structures that are needed.
33975 * The runtime then collects these partially filled structures.
33976 * The SWIG_InitializeModule function takes these initial arrays out of
33977 * swig_module, and does all the lookup, filling in the swig_module.types
33978 * array with the correct data and linking the correct swig_cast_info
33979 * structures together.
33981 * The generated swig_type_info structures are assigned staticly to an initial
33982 * array. We just loop though that array, and handle each type individually.
33983 * First we lookup if this type has been already loaded, and if so, use the
33984 * loaded structure instead of the generated one. Then we have to fill in the
33985 * cast linked list. The cast data is initially stored in something like a
33986 * two-dimensional array. Each row corresponds to a type (there are the same
33987 * number of rows as there are in the swig_type_initial array). Each entry in
33988 * a column is one of the swig_cast_info structures for that type.
33989 * The cast_initial array is actually an array of arrays, because each row has
33990 * a variable number of columns. So to actually build the cast linked list,
33991 * we find the array of casts associated with the type, and loop through it
33992 * adding the casts to the list. The one last trick we need to do is making
33993 * sure the type pointer in the swig_cast_info struct is correct.
33995 * First off, we lookup the cast->type name to see if it is already loaded.
33996 * There are three cases to handle:
33997 * 1) If the cast->type has already been loaded AND the type we are adding
33998 * casting info to has not been loaded (it is in this module), THEN we
33999 * replace the cast->type pointer with the type pointer that has already
34001 * 2) If BOTH types (the one we are adding casting info to, and the
34002 * cast->type) are loaded, THEN the cast info has already been loaded by
34003 * the previous module so we just ignore it.
34004 * 3) Finally, if cast->type has not already been loaded, then we add that
34005 * swig_cast_info to the linked list (because the cast->type) pointer will
34007 * ----------------------------------------------------------------------------- */
34017 #define SWIGRUNTIME_DEBUG
34021 SWIG_InitializeModule(void *clientdata
) {
34023 swig_module_info
*module_head
;
34024 static int init_run
= 0;
34026 clientdata
= clientdata
;
34028 if (init_run
) return;
34031 /* Initialize the swig_module */
34032 swig_module
.type_initial
= swig_type_initial
;
34033 swig_module
.cast_initial
= swig_cast_initial
;
34035 /* Try and load any already created modules */
34036 module_head
= SWIG_GetModule(clientdata
);
34038 swig_module
.next
= module_head
->next
;
34039 module_head
->next
= &swig_module
;
34041 /* This is the first module loaded */
34042 swig_module
.next
= &swig_module
;
34043 SWIG_SetModule(clientdata
, &swig_module
);
34046 /* Now work on filling in swig_module.types */
34047 #ifdef SWIGRUNTIME_DEBUG
34048 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34050 for (i
= 0; i
< swig_module
.size
; ++i
) {
34051 swig_type_info
*type
= 0;
34052 swig_type_info
*ret
;
34053 swig_cast_info
*cast
;
34055 #ifdef SWIGRUNTIME_DEBUG
34056 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34059 /* if there is another module already loaded */
34060 if (swig_module
.next
!= &swig_module
) {
34061 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34064 /* Overwrite clientdata field */
34065 #ifdef SWIGRUNTIME_DEBUG
34066 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34068 if (swig_module
.type_initial
[i
]->clientdata
) {
34069 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34070 #ifdef SWIGRUNTIME_DEBUG
34071 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34075 type
= swig_module
.type_initial
[i
];
34078 /* Insert casting types */
34079 cast
= swig_module
.cast_initial
[i
];
34080 while (cast
->type
) {
34081 /* Don't need to add information already in the list */
34083 #ifdef SWIGRUNTIME_DEBUG
34084 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34086 if (swig_module
.next
!= &swig_module
) {
34087 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34088 #ifdef SWIGRUNTIME_DEBUG
34089 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34093 if (type
== swig_module
.type_initial
[i
]) {
34094 #ifdef SWIGRUNTIME_DEBUG
34095 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34100 /* Check for casting already in the list */
34101 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34102 #ifdef SWIGRUNTIME_DEBUG
34103 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34105 if (!ocast
) ret
= 0;
34110 #ifdef SWIGRUNTIME_DEBUG
34111 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34114 type
->cast
->prev
= cast
;
34115 cast
->next
= type
->cast
;
34121 /* Set entry in modules->types array equal to the type */
34122 swig_module
.types
[i
] = type
;
34124 swig_module
.types
[i
] = 0;
34126 #ifdef SWIGRUNTIME_DEBUG
34127 printf("**** SWIG_InitializeModule: Cast List ******\n");
34128 for (i
= 0; i
< swig_module
.size
; ++i
) {
34130 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34131 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34132 while (cast
->type
) {
34133 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34137 printf("---- Total casts: %d\n",j
);
34139 printf("**** SWIG_InitializeModule: Cast List ******\n");
34143 /* This function will propagate the clientdata field of type to
34144 * any new swig_type_info structures that have been added into the list
34145 * of equivalent types. It is like calling
34146 * SWIG_TypeClientData(type, clientdata) a second time.
34149 SWIG_PropagateClientData(void) {
34151 swig_cast_info
*equiv
;
34152 static int init_run
= 0;
34154 if (init_run
) return;
34157 for (i
= 0; i
< swig_module
.size
; i
++) {
34158 if (swig_module
.types
[i
]->clientdata
) {
34159 equiv
= swig_module
.types
[i
]->cast
;
34161 if (!equiv
->converter
) {
34162 if (equiv
->type
&& !equiv
->type
->clientdata
)
34163 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34165 equiv
= equiv
->next
;
34185 /* Python-specific SWIG API */
34186 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34187 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34188 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34190 /* -----------------------------------------------------------------------------
34191 * global variable support code.
34192 * ----------------------------------------------------------------------------- */
34194 typedef struct swig_globalvar
{
34195 char *name
; /* Name of global variable */
34196 PyObject
*(*get_attr
)(void); /* Return the current value */
34197 int (*set_attr
)(PyObject
*); /* Set the value */
34198 struct swig_globalvar
*next
;
34201 typedef struct swig_varlinkobject
{
34203 swig_globalvar
*vars
;
34204 } swig_varlinkobject
;
34206 SWIGINTERN PyObject
*
34207 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34208 return PyString_FromString("<Swig global variables>");
34211 SWIGINTERN PyObject
*
34212 swig_varlink_str(swig_varlinkobject
*v
) {
34213 PyObject
*str
= PyString_FromString("(");
34214 swig_globalvar
*var
;
34215 for (var
= v
->vars
; var
; var
=var
->next
) {
34216 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34217 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34219 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34224 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34225 PyObject
*str
= swig_varlink_str(v
);
34226 fprintf(fp
,"Swig global variables ");
34227 fprintf(fp
,"%s\n", PyString_AsString(str
));
34233 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34234 swig_globalvar
*var
= v
->vars
;
34236 swig_globalvar
*n
= var
->next
;
34243 SWIGINTERN PyObject
*
34244 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34245 PyObject
*res
= NULL
;
34246 swig_globalvar
*var
= v
->vars
;
34248 if (strcmp(var
->name
,n
) == 0) {
34249 res
= (*var
->get_attr
)();
34254 if (res
== NULL
&& !PyErr_Occurred()) {
34255 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34261 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34263 swig_globalvar
*var
= v
->vars
;
34265 if (strcmp(var
->name
,n
) == 0) {
34266 res
= (*var
->set_attr
)(p
);
34271 if (res
== 1 && !PyErr_Occurred()) {
34272 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34277 SWIGINTERN PyTypeObject
*
34278 swig_varlink_type(void) {
34279 static char varlink__doc__
[] = "Swig var link object";
34280 static PyTypeObject varlink_type
;
34281 static int type_init
= 0;
34283 const PyTypeObject tmp
34285 PyObject_HEAD_INIT(NULL
)
34286 0, /* Number of items in variable part (ob_size) */
34287 (char *)"swigvarlink", /* Type name (tp_name) */
34288 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34289 0, /* Itemsize (tp_itemsize) */
34290 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34291 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34292 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34293 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34294 0, /* tp_compare */
34295 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34296 0, /* tp_as_number */
34297 0, /* tp_as_sequence */
34298 0, /* tp_as_mapping */
34301 (reprfunc
)swig_varlink_str
, /* tp_str */
34302 0, /* tp_getattro */
34303 0, /* tp_setattro */
34304 0, /* tp_as_buffer */
34306 varlink__doc__
, /* tp_doc */
34307 0, /* tp_traverse */
34309 0, /* tp_richcompare */
34310 0, /* tp_weaklistoffset */
34311 #if PY_VERSION_HEX >= 0x02020000
34312 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34314 #if PY_VERSION_HEX >= 0x02030000
34317 #ifdef COUNT_ALLOCS
34318 0,0,0,0 /* tp_alloc -> tp_next */
34321 varlink_type
= tmp
;
34322 varlink_type
.ob_type
= &PyType_Type
;
34325 return &varlink_type
;
34328 /* Create a variable linking object for use later */
34329 SWIGINTERN PyObject
*
34330 SWIG_Python_newvarlink(void) {
34331 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34335 return ((PyObject
*) result
);
34339 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34340 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34341 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34343 size_t size
= strlen(name
)+1;
34344 gv
->name
= (char *)malloc(size
);
34346 strncpy(gv
->name
,name
,size
);
34347 gv
->get_attr
= get_attr
;
34348 gv
->set_attr
= set_attr
;
34349 gv
->next
= v
->vars
;
34355 SWIGINTERN PyObject
*
34357 static PyObject
*_SWIG_globals
= 0;
34358 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34359 return _SWIG_globals
;
34362 /* -----------------------------------------------------------------------------
34363 * constants/methods manipulation
34364 * ----------------------------------------------------------------------------- */
34366 /* Install Constants */
34368 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34371 for (i
= 0; constants
[i
].type
; ++i
) {
34372 switch(constants
[i
].type
) {
34373 case SWIG_PY_POINTER
:
34374 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34376 case SWIG_PY_BINARY
:
34377 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34384 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34390 /* -----------------------------------------------------------------------------*/
34391 /* Fix SwigMethods to carry the callback ptrs when needed */
34392 /* -----------------------------------------------------------------------------*/
34395 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34396 swig_const_info
*const_table
,
34397 swig_type_info
**types
,
34398 swig_type_info
**types_initial
) {
34400 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34401 const char *c
= methods
[i
].ml_doc
;
34402 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34404 swig_const_info
*ci
= 0;
34405 const char *name
= c
+ 10;
34406 for (j
= 0; const_table
[j
].type
; ++j
) {
34407 if (strncmp(const_table
[j
].name
, name
,
34408 strlen(const_table
[j
].name
)) == 0) {
34409 ci
= &(const_table
[j
]);
34414 size_t shift
= (ci
->ptype
) - types
;
34415 swig_type_info
*ty
= types_initial
[shift
];
34416 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34417 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34418 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34421 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34423 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34425 strncpy(buff
, "swig_ptr: ", 10);
34427 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34428 methods
[i
].ml_doc
= ndoc
;
34440 /* -----------------------------------------------------------------------------*
34441 * Partial Init method
34442 * -----------------------------------------------------------------------------*/
34447 SWIGEXPORT
void SWIG_init(void) {
34450 /* Fix SwigMethods to carry the callback ptrs when needed */
34451 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34453 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34454 d
= PyModule_GetDict(m
);
34456 SWIG_InitializeModule(0);
34457 SWIG_InstallConstants(d
,swig_const_table
);
34460 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34461 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34462 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34463 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34464 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34465 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34466 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34467 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34468 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34469 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34470 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34471 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34472 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34473 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34474 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34475 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34476 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34477 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34478 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34479 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34480 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34481 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34482 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34483 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34484 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34485 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34486 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34487 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34488 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34489 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34490 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34491 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34492 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34493 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34494 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34495 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34496 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34497 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34498 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34499 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34500 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34501 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34502 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34503 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34504 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34505 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34506 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34507 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34508 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34509 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34510 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34511 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34512 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34513 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34514 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34515 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34516 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34517 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34518 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34519 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34520 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34521 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34522 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34523 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34524 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34525 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34526 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34527 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34528 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34529 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34530 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34531 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34532 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34533 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34534 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34535 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34536 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34537 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34538 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34539 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34540 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34541 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34542 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34543 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34544 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34545 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34546 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34547 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34548 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34549 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34550 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34551 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34552 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34553 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34554 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34555 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34556 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34557 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34558 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34559 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34560 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34561 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34562 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34563 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34564 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34565 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34567 // Map renamed classes back to their common name for OOR
34568 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34569 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34570 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34572 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34573 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34574 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34575 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34576 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34577 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34578 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34579 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34580 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34581 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34582 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34583 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34584 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34585 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34586 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34587 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34588 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34589 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34590 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34591 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34592 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34593 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34594 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34595 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34596 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34597 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34598 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34599 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34600 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34601 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34602 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34603 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34604 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34605 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34606 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34607 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34608 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34609 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34610 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34611 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34612 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34613 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34614 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34615 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34616 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34617 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34618 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34619 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34620 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34621 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34622 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34623 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34624 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34625 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34626 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34627 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34628 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34629 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34630 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34631 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34632 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34633 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34634 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34635 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34636 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34637 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34638 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34639 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34640 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34641 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34642 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34643 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34644 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34645 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34646 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34647 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34648 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34649 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34650 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34651 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34652 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34653 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34654 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34655 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34656 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34657 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34658 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34659 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34660 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34661 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34662 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34663 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34664 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34665 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34666 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34667 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34668 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34669 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34670 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34671 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34672 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34673 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34674 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34675 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34677 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");