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_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2829 self
->GetFieldRect(i
, r
);
2832 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2836 #include <wx/popupwin.h>
2839 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2844 : wxPopupTransientWindow(parent
, style
) {}
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2847 DEC_PYCALLBACK__(OnDismiss
);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2858 #include <wx/tipwin.h>
2860 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2861 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2864 #include <wx/tipwin.h>
2867 #include <wx/vscroll.h>
2870 class wxPyVScrolledWindow
: public wxVScrolledWindow
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876 wxPyVScrolledWindow(wxWindow
*parent
,
2877 wxWindowID id
= wxID_ANY
,
2878 const wxPoint
& pos
= wxDefaultPosition
,
2879 const wxSize
& size
= wxDefaultSize
,
2881 const wxString
& name
= wxPyPanelNameStr
)
2882 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2885 // Overridable virtuals
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2914 // this function should return the best guess for the total height it may
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2919 // Also expose some other interesting protected methods
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2949 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2952 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2953 return SWIG_TypeError
;
2956 *val
= (unsigned long)v
;
2961 SWIGINTERNINLINE
int
2962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 SWIGINTERNINLINE PyObject
*
2972 SWIG_From_unsigned_SS_long (unsigned long value
)
2974 return (value
> LONG_MAX
) ?
2975 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_size_t (size_t value
)
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2986 #include <wx/vlbox.h>
2988 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2990 class wxPyVListBox
: public wxVListBox
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2994 wxPyVListBox() : wxVListBox() {}
2996 wxPyVListBox(wxWindow
*parent
,
2997 wxWindowID id
= wxID_ANY
,
2998 const wxPoint
& pos
= wxDefaultPosition
,
2999 const wxSize
& size
= wxDefaultSize
,
3001 const wxString
& name
= wxPyVListBoxNameStr
)
3002 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3005 // Overridable virtuals
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3013 // the derived class must implement this method to return the height of the
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3028 // this method is used to draw the items background and, maybe, a border
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3050 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3051 unsigned long cookie
= 0;
3052 int selected
= self
->GetFirstSelected(cookie
);
3053 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3054 PyObject
* tup
= PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3056 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3057 wxPyEndBlockThreads(blocked
);
3060 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3061 int selected
= self
->GetNextSelected(cookie
);
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 PyObject
* tup
= PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3065 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3066 wxPyEndBlockThreads(blocked
);
3070 #include <wx/htmllbox.h>
3073 class wxPyHtmlListBox
: public wxHtmlListBox
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3079 wxPyHtmlListBox(wxWindow
*parent
,
3080 wxWindowID id
= wxID_ANY
,
3081 const wxPoint
& pos
= wxDefaultPosition
,
3082 const wxSize
& size
= wxDefaultSize
,
3084 const wxString
& name
= wxPyVListBoxNameStr
)
3085 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3088 // Overridable virtuals
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n
,
3119 const wxHtmlLinkInfo
& link
);
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3134 const wxHtmlLinkInfo
& link
) {
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3138 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3142 wxPyEndBlockThreads(blocked
);
3144 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3154 class wxTaskBarIcon
: public wxEvtHandler
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3161 class wxTaskBarIconEvent
: public wxEvent
3164 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent
* Clone() const { return NULL
; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu
*menu
) { return false; }
3175 wxEVT_TASKBAR_MOVE
= 0,
3176 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3177 wxEVT_TASKBAR_LEFT_UP
= 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3179 wxEVT_TASKBAR_RIGHT_UP
= 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon
: public wxTaskBarIcon
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 wxMenu
* CreatePopupMenu() {
3195 wxMenu
*rval
= NULL
;
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3201 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3203 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3208 wxPyEndBlockThreads(blocked
);
3210 rval
= wxTaskBarIcon::CreatePopupMenu();
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3221 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3225 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3226 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3227 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3228 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3229 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3230 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3235 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3237 self
->GetFilenames(arr
);
3238 return wxArrayString2PyList_helper(arr
);
3240 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3242 self
->GetPaths(arr
);
3243 return wxArrayString2PyList_helper(arr
);
3245 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3246 return wxArrayInt2PyList_helper(self
->GetSelections());
3248 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3249 return new wxSingleChoiceDialog(parent
, message
, caption
,
3250 choices
, choices_array
, NULL
, style
, pos
);
3252 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow
: public wxWindow
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxString
& name
= wxPyPanelNameStr
)
3274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel
: public wxPanel
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3362 const wxPoint
& pos
= wxDefaultPosition
,
3363 const wxSize
& size
= wxDefaultSize
,
3365 const wxString
& name
= wxPyPanelNameStr
)
3366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3369 bool DoEraseBackground(wxDC
* dc
) {
3371 return wxWindow::DoEraseBackground(dc
->GetHDC());
3373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3392 DEC_PYCALLBACK__(InitDialog
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3395 DEC_PYCALLBACK_BOOL_(Validate
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow
: public wxScrolledWindow
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3454 const wxPoint
& pos
= wxDefaultPosition
,
3455 const wxSize
& size
= wxDefaultSize
,
3457 const wxString
& name
= wxPyPanelNameStr
)
3458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3461 bool DoEraseBackground(wxDC
* dc
) {
3463 return wxWindow::DoEraseBackground(dc
->GetHDC());
3465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3483 DEC_PYCALLBACK__(InitDialog
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3486 DEC_PYCALLBACK_BOOL_(Validate
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3539 #include "wx/wxPython/printfw.h"
3542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3548 self
->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked
);
3552 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3553 if (! PyString_Check(data
)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3555 "Expected string object"));
3559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3561 wxPyEndBlockThreads(blocked
);
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3569 bool hadErr
= false;
3572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3578 val
= PyTuple_GetItem(result
, 0);
3579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3582 val
= PyTuple_GetItem(result
, 1);
3583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3586 val
= PyTuple_GetItem(result
, 2);
3587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 3);
3591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3603 wxPyEndBlockThreads(blocked
);
3605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3638 wxPyEndBlockThreads(blocked); \
3640 rval = PCLASS::CBNAME(a, b); \
3647 class wxPyPrintPreview
: public wxPrintPreview
3649 DECLARE_CLASS(wxPyPrintPreview
)
3651 wxPyPrintPreview(wxPyPrintout
* printout
,
3652 wxPyPrintout
* printoutForPrinting
,
3653 wxPrintDialogData
* data
=NULL
)
3654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3656 wxPyPrintPreview(wxPyPrintout
* printout
,
3657 wxPyPrintout
* printoutForPrinting
,
3659 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3691 class wxPyPreviewFrame
: public wxPreviewFrame
3693 DECLARE_CLASS(wxPyPreviewFrame
)
3695 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3696 const wxString
& title
,
3697 const wxPoint
& pos
= wxDefaultPosition
,
3698 const wxSize
& size
= wxDefaultSize
,
3699 long style
= wxDEFAULT_FRAME_STYLE
,
3700 const wxString
& name
= wxPyFrameNameStr
)
3701 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3704 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3705 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3707 DEC_PYCALLBACK_VOID_(Initialize
);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3714 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3721 class wxPyPreviewControlBar
: public wxPreviewControlBar
3723 DECLARE_CLASS(wxPyPreviewControlBar
)
3725 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3728 const wxPoint
& pos
= wxDefaultPosition
,
3729 const wxSize
& size
= wxDefaultSize
,
3731 const wxString
& name
= wxPyPanelNameStr
)
3732 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3735 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3737 DEC_PYCALLBACK_VOID_(CreateButtons
);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3750 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= 0;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 int arg2
= (int) (int)-1 ;
3754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3758 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3761 wxPanel
*result
= 0 ;
3770 bool temp6
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 char * kwnames
[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3789 if (!SWIG_IsOK(ecode2
)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 arg2
= static_cast< int >(val2
);
3797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3807 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3808 if (!SWIG_IsOK(ecode5
)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 arg5
= static_cast< long >(val5
);
3815 arg6
= wxString_in_helper(obj5
);
3816 if (arg6
== NULL
) SWIG_fail
;
3821 if (!wxPyCheckForApp()) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3842 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3843 PyObject
*resultobj
= 0;
3844 wxPanel
*result
= 0 ;
3846 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3848 if (!wxPyCheckForApp()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxPanel
*)new wxPanel();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3861 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
= 0;
3863 wxPanel
*arg1
= (wxPanel
*) 0 ;
3864 wxWindow
*arg2
= (wxWindow
*) 0 ;
3865 int arg3
= (int) (int)-1 ;
3866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3870 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3871 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3884 bool temp7
= false ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3887 PyObject
* obj2
= 0 ;
3888 PyObject
* obj3
= 0 ;
3889 PyObject
* obj4
= 0 ;
3890 PyObject
* obj5
= 0 ;
3891 PyObject
* obj6
= 0 ;
3892 char * kwnames
[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3898 if (!SWIG_IsOK(res1
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3903 if (!SWIG_IsOK(res2
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3909 if (!SWIG_IsOK(ecode3
)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 arg3
= static_cast< int >(val3
);
3917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3928 if (!SWIG_IsOK(ecode6
)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 arg6
= static_cast< long >(val6
);
3935 arg7
= wxString_in_helper(obj6
);
3936 if (arg7
== NULL
) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3963 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3964 PyObject
*resultobj
= 0;
3965 wxPanel
*arg1
= (wxPanel
*) 0 ;
3968 PyObject
*swig_obj
[1] ;
3970 if (!args
) SWIG_fail
;
3972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3973 if (!SWIG_IsOK(res1
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 (arg1
)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_Py_Void();
3990 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
= 0;
3992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3993 SwigValueWrapper
<wxVisualAttributes
> result
;
3996 PyObject
* obj0
= 0 ;
3997 char * kwnames
[] = {
3998 (char *) "variant", NULL
4001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4004 if (!SWIG_IsOK(ecode1
)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 arg1
= static_cast< wxWindowVariant
>(val1
);
4010 if (!wxPyCheckForApp()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4023 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4027 return SWIG_Py_Void();
4030 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4031 return SWIG_Python_InitShadowInstance(args
);
4034 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
= 0;
4036 wxWindow
*arg1
= (wxWindow
*) 0 ;
4037 int arg2
= (int) (int)-1 ;
4038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4042 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4043 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4045 wxScrolledWindow
*result
= 0 ;
4054 bool temp6
= false ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4057 PyObject
* obj2
= 0 ;
4058 PyObject
* obj3
= 0 ;
4059 PyObject
* obj4
= 0 ;
4060 PyObject
* obj5
= 0 ;
4061 char * kwnames
[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4067 if (!SWIG_IsOK(res1
)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4073 if (!SWIG_IsOK(ecode2
)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 arg2
= static_cast< int >(val2
);
4081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4092 if (!SWIG_IsOK(ecode5
)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 arg5
= static_cast< long >(val5
);
4099 arg6
= wxString_in_helper(obj5
);
4100 if (arg6
== NULL
) SWIG_fail
;
4105 if (!wxPyCheckForApp()) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4126 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxScrolledWindow
*result
= 0 ;
4130 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4132 if (!wxPyCheckForApp()) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4145 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
= 0;
4147 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4148 wxWindow
*arg2
= (wxWindow
*) 0 ;
4149 int arg3
= (int) (int)-1 ;
4150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4154 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4155 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4168 bool temp7
= false ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 PyObject
* obj2
= 0 ;
4172 PyObject
* obj3
= 0 ;
4173 PyObject
* obj4
= 0 ;
4174 PyObject
* obj5
= 0 ;
4175 PyObject
* obj6
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4187 if (!SWIG_IsOK(res2
)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4193 if (!SWIG_IsOK(ecode3
)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 arg3
= static_cast< int >(val3
);
4201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4212 if (!SWIG_IsOK(ecode6
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 arg6
= static_cast< long >(val6
);
4219 arg7
= wxString_in_helper(obj6
);
4220 if (arg7
== NULL
) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4254 int arg6
= (int) 0 ;
4255 int arg7
= (int) 0 ;
4256 bool arg8
= (bool) false ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 PyObject
* obj2
= 0 ;
4276 PyObject
* obj3
= 0 ;
4277 PyObject
* obj4
= 0 ;
4278 PyObject
* obj5
= 0 ;
4279 PyObject
* obj6
= 0 ;
4280 PyObject
* obj7
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 arg2
= static_cast< int >(val2
);
4296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4297 if (!SWIG_IsOK(ecode3
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 arg3
= static_cast< int >(val3
);
4301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4302 if (!SWIG_IsOK(ecode4
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 arg4
= static_cast< int >(val4
);
4306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4307 if (!SWIG_IsOK(ecode5
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 arg5
= static_cast< int >(val5
);
4312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4313 if (!SWIG_IsOK(ecode6
)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 arg6
= static_cast< int >(val6
);
4319 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4320 if (!SWIG_IsOK(ecode7
)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 arg7
= static_cast< int >(val7
);
4326 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4327 if (!SWIG_IsOK(ecode8
)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 arg8
= static_cast< bool >(val8
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4370 if (!SWIG_IsOK(ecode2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 arg2
= static_cast< int >(val2
);
4374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4375 if (!SWIG_IsOK(ecode3
)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 arg3
= static_cast< int >(val3
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->Scroll(arg2
,arg3
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_Py_Void();
4392 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
= 0;
4394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "orient", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_From_int(static_cast< int >(result
));
4431 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 arg2
= static_cast< int >(val2
);
4460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 arg3
= static_cast< int >(val3
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj2
= 0 ;
4492 char * kwnames
[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4503 if (!SWIG_IsOK(ecode2
)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 arg2
= static_cast< int >(val2
);
4507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4508 if (!SWIG_IsOK(ecode3
)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 arg3
= static_cast< int >(val3
);
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->SetScrollRate(arg2
,arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_Py_Void();
4525 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4526 PyObject
*resultobj
= 0;
4527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4528 int *arg2
= (int *) 0 ;
4529 int *arg3
= (int *) 0 ;
4533 int res2
= SWIG_TMPOBJ
;
4535 int res3
= SWIG_TMPOBJ
;
4536 PyObject
*swig_obj
[1] ;
4540 if (!args
) SWIG_fail
;
4542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4543 if (!SWIG_IsOK(res1
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2
)) {
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4557 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4560 if (SWIG_IsTmpObj(res3
)) {
4561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4563 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4572 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4596 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4597 if (!SWIG_IsOK(ecode2
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 arg2
= static_cast< bool >(val2
);
4601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4602 if (!SWIG_IsOK(ecode3
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 arg3
= static_cast< bool >(val3
);
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 (arg1
)->EnableScrolling(arg2
,arg3
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_Py_Void();
4619 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4622 int *arg2
= (int *) 0 ;
4623 int *arg3
= (int *) 0 ;
4627 int res2
= SWIG_TMPOBJ
;
4629 int res3
= SWIG_TMPOBJ
;
4630 PyObject
*swig_obj
[1] ;
4634 if (!args
) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2
)) {
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4651 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4654 if (SWIG_IsTmpObj(res3
)) {
4655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4666 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 char * kwnames
[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4686 if (!SWIG_IsOK(res1
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4690 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4691 if (!SWIG_IsOK(ecode2
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 arg2
= static_cast< double >(val2
);
4695 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 arg3
= static_cast< double >(val3
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->SetScale(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_Py_Void();
4713 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_From_double(static_cast< double >(result
));
4741 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_From_double(static_cast< double >(result
));
4769 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4770 PyObject
*resultobj
= 0;
4771 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4780 if (!SWIG_IsOK(res1
)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4786 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4801 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4802 PyObject
*resultobj
= 0;
4803 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4806 int *arg4
= (int *) 0 ;
4807 int *arg5
= (int *) 0 ;
4815 int res4
= SWIG_TMPOBJ
;
4817 int res5
= SWIG_TMPOBJ
;
4821 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4823 if (!SWIG_IsOK(res1
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4827 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4828 if (!SWIG_IsOK(ecode2
)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 arg2
= static_cast< int >(val2
);
4832 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4833 if (!SWIG_IsOK(ecode3
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 arg3
= static_cast< int >(val3
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4
)) {
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4847 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4850 if (SWIG_IsTmpObj(res5
)) {
4851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4853 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4862 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4866 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4881 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4882 PyObject
*resultobj
= 0;
4883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4890 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4898 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4913 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4914 PyObject
*resultobj
= 0;
4915 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4918 int *arg4
= (int *) 0 ;
4919 int *arg5
= (int *) 0 ;
4927 int res4
= SWIG_TMPOBJ
;
4929 int res5
= SWIG_TMPOBJ
;
4933 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4935 if (!SWIG_IsOK(res1
)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4939 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4940 if (!SWIG_IsOK(ecode2
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 arg2
= static_cast< int >(val2
);
4944 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4945 if (!SWIG_IsOK(ecode3
)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 arg3
= static_cast< int >(val3
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4959 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4962 if (SWIG_IsTmpObj(res5
)) {
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4965 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4974 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4993 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5023 wxScrollWinEvent
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "self",(char *) "event", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5037 if (!SWIG_IsOK(res1
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5042 if (!SWIG_IsOK(res2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_From_int(static_cast< int >(result
));
5062 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5065 wxWindow
*arg2
= (wxWindow
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "self",(char *) "target", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5078 if (!SWIG_IsOK(res1
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5083 if (!SWIG_IsOK(res2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetTargetWindow(arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5103 wxWindow
*result
= 0 ;
5106 PyObject
*swig_obj
[1] ;
5108 if (!args
) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= wxPyMake_wxObject(result
, 0);
5130 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
= 0;
5132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 char * kwnames
[] = {
5141 (char *) "self",(char *) "dc", NULL
5144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5146 if (!SWIG_IsOK(res1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5151 if (!SWIG_IsOK(res2
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5157 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 (arg1
)->DoPrepareDC(*arg2
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_Py_Void();
5171 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
= 0;
5173 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5174 SwigValueWrapper
<wxVisualAttributes
> result
;
5177 PyObject
* obj0
= 0 ;
5178 char * kwnames
[] = {
5179 (char *) "variant", NULL
5182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5185 if (!SWIG_IsOK(ecode1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5188 arg1
= static_cast< wxWindowVariant
>(val1
);
5191 if (!wxPyCheckForApp()) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5204 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5207 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5208 return SWIG_Py_Void();
5211 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5212 return SWIG_Python_InitShadowInstance(args
);
5215 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5216 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5221 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5222 PyObject
*pyobj
= 0;
5226 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5228 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5235 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5236 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5241 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5242 PyObject
*pyobj
= 0;
5246 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5248 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5255 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5256 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5261 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5262 PyObject
*pyobj
= 0;
5266 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5268 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5275 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5276 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5281 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5282 PyObject
*pyobj
= 0;
5286 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5288 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5295 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
= 0;
5297 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5298 bool arg2
= (bool) true ;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5305 char * kwnames
[] = {
5306 (char *) "self",(char *) "maximize", NULL
5309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5311 if (!SWIG_IsOK(res1
)) {
5312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5314 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5316 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5317 if (!SWIG_IsOK(ecode2
)) {
5318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5320 arg2
= static_cast< bool >(val2
);
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 (arg1
)->Maximize(arg2
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_Py_Void();
5335 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5336 PyObject
*resultobj
= 0;
5337 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5340 PyObject
*swig_obj
[1] ;
5342 if (!args
) SWIG_fail
;
5344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5345 if (!SWIG_IsOK(res1
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5348 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 resultobj
= SWIG_Py_Void();
5362 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
= 0;
5364 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5365 bool arg2
= (bool) true ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5372 char * kwnames
[] = {
5373 (char *) "self",(char *) "iconize", NULL
5376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5378 if (!SWIG_IsOK(res1
)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5381 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5383 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5384 if (!SWIG_IsOK(ecode2
)) {
5385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5387 arg2
= static_cast< bool >(val2
);
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->Iconize(arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_Py_Void();
5402 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5403 PyObject
*resultobj
= 0;
5404 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5408 PyObject
*swig_obj
[1] ;
5410 if (!args
) SWIG_fail
;
5412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5413 if (!SWIG_IsOK(res1
)) {
5414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5416 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5432 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5433 PyObject
*resultobj
= 0;
5434 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5438 PyObject
*swig_obj
[1] ;
5440 if (!args
) SWIG_fail
;
5442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5443 if (!SWIG_IsOK(res1
)) {
5444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5446 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5462 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5463 PyObject
*resultobj
= 0;
5464 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5468 PyObject
*swig_obj
[1] ;
5470 if (!args
) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5476 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5492 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5493 PyObject
*resultobj
= 0;
5494 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5498 PyObject
*swig_obj
[1] ;
5500 if (!args
) SWIG_fail
;
5502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5503 if (!SWIG_IsOK(res1
)) {
5504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5506 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5520 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
= 0;
5522 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5530 char * kwnames
[] = {
5531 (char *) "self",(char *) "icon", NULL
5534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5536 if (!SWIG_IsOK(res1
)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5539 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5541 if (!SWIG_IsOK(res2
)) {
5542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5547 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_Py_Void();
5561 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
= 0;
5563 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5564 wxIconBundle
*arg2
= 0 ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5571 char * kwnames
[] = {
5572 (char *) "self",(char *) "icons", NULL
5575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5577 if (!SWIG_IsOK(res1
)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5580 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5582 if (!SWIG_IsOK(res2
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5588 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_Py_Void();
5602 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
= 0;
5604 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5606 long arg3
= (long) wxFULLSCREEN_ALL
;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 PyObject
* obj2
= 0 ;
5617 char * kwnames
[] = {
5618 (char *) "self",(char *) "show",(char *) "style", NULL
5621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5623 if (!SWIG_IsOK(res1
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5626 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5627 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5628 if (!SWIG_IsOK(ecode2
)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5631 arg2
= static_cast< bool >(val2
);
5633 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5634 if (!SWIG_IsOK(ecode3
)) {
5635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5637 arg3
= static_cast< long >(val3
);
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5654 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5655 PyObject
*resultobj
= 0;
5656 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5660 PyObject
*swig_obj
[1] ;
5662 if (!args
) SWIG_fail
;
5664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5665 if (!SWIG_IsOK(res1
)) {
5666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5668 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5684 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
= 0;
5686 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5687 wxString
*arg2
= 0 ;
5690 bool temp2
= false ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5693 char * kwnames
[] = {
5694 (char *) "self",(char *) "title", NULL
5697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5699 if (!SWIG_IsOK(res1
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5702 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5704 arg2
= wxString_in_helper(obj1
);
5705 if (arg2
== NULL
) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 (arg1
)->SetTitle((wxString
const &)*arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_Py_Void();
5729 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5730 PyObject
*resultobj
= 0;
5731 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5735 PyObject
*swig_obj
[1] ;
5737 if (!args
) SWIG_fail
;
5739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5740 if (!SWIG_IsOK(res1
)) {
5741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5743 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5763 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
= 0;
5765 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5774 char * kwnames
[] = {
5775 (char *) "self",(char *) "enable", NULL
5778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5780 if (!SWIG_IsOK(res1
)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5784 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5785 if (!SWIG_IsOK(ecode2
)) {
5786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5788 arg2
= static_cast< bool >(val2
);
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5804 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
= 0;
5806 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5807 wxRegion
*arg2
= 0 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5815 char * kwnames
[] = {
5816 (char *) "self",(char *) "region", NULL
5819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5821 if (!SWIG_IsOK(res1
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5824 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5826 if (!SWIG_IsOK(res2
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5832 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5848 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
= 0;
5850 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5851 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5858 char * kwnames
[] = {
5859 (char *) "self",(char *) "flags", NULL
5862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5864 if (!SWIG_IsOK(res1
)) {
5865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5867 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5870 if (!SWIG_IsOK(ecode2
)) {
5871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5873 arg2
= static_cast< int >(val2
);
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->RequestUserAttention(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_Py_Void();
5888 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5889 PyObject
*resultobj
= 0;
5890 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5894 PyObject
*swig_obj
[1] ;
5896 if (!args
) SWIG_fail
;
5898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5899 if (!SWIG_IsOK(res1
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5902 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (bool)(arg1
)->IsActive();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5918 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
= 0;
5920 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5928 char * kwnames
[] = {
5929 (char *) "self",(char *) "on", NULL
5932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5934 if (!SWIG_IsOK(res1
)) {
5935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5937 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5939 if (!SWIG_IsOK(ecode2
)) {
5940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5942 arg2
= static_cast< bool >(val2
);
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_Py_Void();
5956 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5957 PyObject
*resultobj
= 0;
5958 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5962 PyObject
*swig_obj
[1] ;
5964 if (!args
) SWIG_fail
;
5966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5967 if (!SWIG_IsOK(res1
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5970 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5986 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= 0;
5988 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5989 int arg2
= (int) wxBOTH
;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5996 char * kwnames
[] = {
5997 (char *) "self",(char *) "dir", NULL
6000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6005 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6008 if (!SWIG_IsOK(ecode2
)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6011 arg2
= static_cast< int >(val2
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 (arg1
)->CenterOnScreen(arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= SWIG_Py_Void();
6026 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6027 PyObject
*resultobj
= 0;
6028 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6029 wxWindow
*result
= 0 ;
6032 PyObject
*swig_obj
[1] ;
6034 if (!args
) SWIG_fail
;
6036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6037 if (!SWIG_IsOK(res1
)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6040 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= wxPyMake_wxObject(result
, 0);
6056 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
= 0;
6058 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6059 wxWindow
*arg2
= (wxWindow
*) 0 ;
6060 wxWindow
*result
= 0 ;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6067 char * kwnames
[] = {
6068 (char *) "self",(char *) "child", NULL
6071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6073 if (!SWIG_IsOK(res1
)) {
6074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6076 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6078 if (!SWIG_IsOK(res2
)) {
6079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6081 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= wxPyMake_wxObject(result
, 0);
6097 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
= 0;
6099 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6100 wxWindow
*arg2
= (wxWindow
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 char * kwnames
[] = {
6108 (char *) "self",(char *) "win", NULL
6111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6113 if (!SWIG_IsOK(res1
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6116 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6118 if (!SWIG_IsOK(res2
)) {
6119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6121 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->SetTmpDefaultItem(arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_Py_Void();
6135 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6136 PyObject
*resultobj
= 0;
6137 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6138 wxWindow
*result
= 0 ;
6141 PyObject
*swig_obj
[1] ;
6143 if (!args
) SWIG_fail
;
6145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6146 if (!SWIG_IsOK(res1
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6149 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= wxPyMake_wxObject(result
, 0);
6165 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6168 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6169 return SWIG_Py_Void();
6172 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
= 0;
6174 wxWindow
*arg1
= (wxWindow
*) 0 ;
6175 int arg2
= (int) (int)-1 ;
6176 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6177 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6178 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6179 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6180 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6181 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6182 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6183 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6184 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6185 wxFrame
*result
= 0 ;
6190 bool temp3
= false ;
6195 bool temp7
= false ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6198 PyObject
* obj2
= 0 ;
6199 PyObject
* obj3
= 0 ;
6200 PyObject
* obj4
= 0 ;
6201 PyObject
* obj5
= 0 ;
6202 PyObject
* obj6
= 0 ;
6203 char * kwnames
[] = {
6204 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6215 if (!SWIG_IsOK(ecode2
)) {
6216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6218 arg2
= static_cast< int >(val2
);
6222 arg3
= wxString_in_helper(obj2
);
6223 if (arg3
== NULL
) SWIG_fail
;
6230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6240 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6241 if (!SWIG_IsOK(ecode6
)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6244 arg6
= static_cast< long >(val6
);
6248 arg7
= wxString_in_helper(obj6
);
6249 if (arg7
== NULL
) SWIG_fail
;
6254 if (!wxPyCheckForApp()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6283 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6284 PyObject
*resultobj
= 0;
6285 wxFrame
*result
= 0 ;
6287 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6289 if (!wxPyCheckForApp()) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxFrame
*)new wxFrame();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6302 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
= 0;
6304 wxFrame
*arg1
= (wxFrame
*) 0 ;
6305 wxWindow
*arg2
= (wxWindow
*) 0 ;
6306 int arg3
= (int) (int)-1 ;
6307 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6308 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6309 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6310 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6311 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6312 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6313 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6314 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6315 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6323 bool temp4
= false ;
6328 bool temp8
= false ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 PyObject
* obj2
= 0 ;
6332 PyObject
* obj3
= 0 ;
6333 PyObject
* obj4
= 0 ;
6334 PyObject
* obj5
= 0 ;
6335 PyObject
* obj6
= 0 ;
6336 PyObject
* obj7
= 0 ;
6337 char * kwnames
[] = {
6338 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6343 if (!SWIG_IsOK(res1
)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6346 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6348 if (!SWIG_IsOK(res2
)) {
6349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6354 if (!SWIG_IsOK(ecode3
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6357 arg3
= static_cast< int >(val3
);
6361 arg4
= wxString_in_helper(obj3
);
6362 if (arg4
== NULL
) SWIG_fail
;
6369 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6375 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6379 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6380 if (!SWIG_IsOK(ecode7
)) {
6381 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6383 arg7
= static_cast< long >(val7
);
6387 arg8
= wxString_in_helper(obj7
);
6388 if (arg8
== NULL
) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6423 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6424 PyObject
*resultobj
= 0;
6425 wxFrame
*arg1
= (wxFrame
*) 0 ;
6428 PyObject
*swig_obj
[1] ;
6430 if (!args
) SWIG_fail
;
6432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6433 if (!SWIG_IsOK(res1
)) {
6434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6436 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 (arg1
)->SendSizeEvent();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_Py_Void();
6450 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
= 0;
6452 wxFrame
*arg1
= (wxFrame
*) 0 ;
6453 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6460 char * kwnames
[] = {
6461 (char *) "self",(char *) "menubar", NULL
6464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6469 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6471 if (!SWIG_IsOK(res2
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6474 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 (arg1
)->SetMenuBar(arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_Py_Void();
6488 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6489 PyObject
*resultobj
= 0;
6490 wxFrame
*arg1
= (wxFrame
*) 0 ;
6491 wxMenuBar
*result
= 0 ;
6494 PyObject
*swig_obj
[1] ;
6496 if (!args
) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6502 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= wxPyMake_wxObject(result
, 0);
6518 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxFrame
*arg1
= (wxFrame
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 char * kwnames
[] = {
6530 (char *) "self",(char *) "winid", NULL
6533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6535 if (!SWIG_IsOK(res1
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6538 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6540 if (!SWIG_IsOK(ecode2
)) {
6541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6543 arg2
= static_cast< int >(val2
);
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6559 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
= 0;
6561 wxFrame
*arg1
= (wxFrame
*) 0 ;
6562 int arg2
= (int) 1 ;
6563 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6564 int arg4
= (int) 0 ;
6565 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6566 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6567 wxStatusBar
*result
= 0 ;
6576 bool temp5
= false ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6579 PyObject
* obj2
= 0 ;
6580 PyObject
* obj3
= 0 ;
6581 PyObject
* obj4
= 0 ;
6582 char * kwnames
[] = {
6583 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6591 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6594 if (!SWIG_IsOK(ecode2
)) {
6595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6597 arg2
= static_cast< int >(val2
);
6600 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6601 if (!SWIG_IsOK(ecode3
)) {
6602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6604 arg3
= static_cast< long >(val3
);
6607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6608 if (!SWIG_IsOK(ecode4
)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6611 arg4
= static_cast< int >(val4
);
6615 arg5
= wxString_in_helper(obj4
);
6616 if (arg5
== NULL
) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6643 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6644 PyObject
*resultobj
= 0;
6645 wxFrame
*arg1
= (wxFrame
*) 0 ;
6646 wxStatusBar
*result
= 0 ;
6649 PyObject
*swig_obj
[1] ;
6651 if (!args
) SWIG_fail
;
6653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6654 if (!SWIG_IsOK(res1
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6657 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6673 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
= 0;
6675 wxFrame
*arg1
= (wxFrame
*) 0 ;
6676 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "statBar", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6692 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6694 if (!SWIG_IsOK(res2
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6697 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 (arg1
)->SetStatusBar(arg2
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_Py_Void();
6711 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxFrame
*arg1
= (wxFrame
*) 0 ;
6714 wxString
*arg2
= 0 ;
6715 int arg3
= (int) 0 ;
6718 bool temp2
= false ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "self",(char *) "text",(char *) "number", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6733 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6735 arg2
= wxString_in_helper(obj1
);
6736 if (arg2
== NULL
) SWIG_fail
;
6740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6741 if (!SWIG_IsOK(ecode3
)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6744 arg3
= static_cast< int >(val3
);
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= SWIG_Py_Void();
6767 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
= 0;
6769 wxFrame
*arg1
= (wxFrame
*) 0 ;
6771 int *arg3
= (int *) 0 ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6776 char * kwnames
[] = {
6777 (char *) "self",(char *) "widths", NULL
6780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6782 if (!SWIG_IsOK(res1
)) {
6783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6785 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6787 arg2
= PyList_Size(obj1
);
6788 arg3
= int_LIST_helper(obj1
);
6789 if (arg3
== NULL
) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_Py_Void();
6799 if (arg3
) delete [] arg3
;
6804 if (arg3
) delete [] arg3
;
6810 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
= 0;
6812 wxFrame
*arg1
= (wxFrame
*) 0 ;
6813 wxString
*arg2
= 0 ;
6814 int arg3
= (int) 0 ;
6817 bool temp2
= false ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6822 PyObject
* obj2
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "text",(char *) "number", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6832 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6834 arg2
= wxString_in_helper(obj1
);
6835 if (arg2
== NULL
) SWIG_fail
;
6839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6840 if (!SWIG_IsOK(ecode3
)) {
6841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6843 arg3
= static_cast< int >(val3
);
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_Py_Void();
6866 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
= 0;
6868 wxFrame
*arg1
= (wxFrame
*) 0 ;
6869 int arg2
= (int) 0 ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6876 char * kwnames
[] = {
6877 (char *) "self",(char *) "number", NULL
6880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6882 if (!SWIG_IsOK(res1
)) {
6883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6885 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6888 if (!SWIG_IsOK(ecode2
)) {
6889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6891 arg2
= static_cast< int >(val2
);
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 (arg1
)->PopStatusText(arg2
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_Py_Void();
6906 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
= 0;
6908 wxFrame
*arg1
= (wxFrame
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6916 char * kwnames
[] = {
6917 (char *) "self",(char *) "n", NULL
6920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6922 if (!SWIG_IsOK(res1
)) {
6923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6925 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6927 if (!SWIG_IsOK(ecode2
)) {
6928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6930 arg2
= static_cast< int >(val2
);
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 (arg1
)->SetStatusBarPane(arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_Py_Void();
6944 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6945 PyObject
*resultobj
= 0;
6946 wxFrame
*arg1
= (wxFrame
*) 0 ;
6950 PyObject
*swig_obj
[1] ;
6952 if (!args
) SWIG_fail
;
6954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6955 if (!SWIG_IsOK(res1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6958 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_From_int(static_cast< int >(result
));
6972 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxFrame
*arg1
= (wxFrame
*) 0 ;
6975 long arg2
= (long) -1 ;
6976 int arg3
= (int) -1 ;
6977 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6978 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6979 wxToolBar
*result
= 0 ;
6986 bool temp4
= false ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6989 PyObject
* obj2
= 0 ;
6990 PyObject
* obj3
= 0 ;
6991 char * kwnames
[] = {
6992 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6997 if (!SWIG_IsOK(res1
)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7000 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7002 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7003 if (!SWIG_IsOK(ecode2
)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7006 arg2
= static_cast< long >(val2
);
7009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7010 if (!SWIG_IsOK(ecode3
)) {
7011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7013 arg3
= static_cast< int >(val3
);
7017 arg4
= wxString_in_helper(obj3
);
7018 if (arg4
== NULL
) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7045 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7046 PyObject
*resultobj
= 0;
7047 wxFrame
*arg1
= (wxFrame
*) 0 ;
7048 wxToolBar
*result
= 0 ;
7051 PyObject
*swig_obj
[1] ;
7053 if (!args
) SWIG_fail
;
7055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7056 if (!SWIG_IsOK(res1
)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7059 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7075 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
= 0;
7077 wxFrame
*arg1
= (wxFrame
*) 0 ;
7078 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 char * kwnames
[] = {
7086 (char *) "self",(char *) "toolbar", NULL
7089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7091 if (!SWIG_IsOK(res1
)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7094 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7095 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7096 if (!SWIG_IsOK(res2
)) {
7097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7099 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 (arg1
)->SetToolBar(arg2
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_Py_Void();
7113 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
= 0;
7115 wxFrame
*arg1
= (wxFrame
*) 0 ;
7116 wxString
*arg2
= 0 ;
7120 bool temp2
= false ;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7125 PyObject
* obj2
= 0 ;
7126 char * kwnames
[] = {
7127 (char *) "self",(char *) "text",(char *) "show", NULL
7130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7135 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7137 arg2
= wxString_in_helper(obj1
);
7138 if (arg2
== NULL
) SWIG_fail
;
7141 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7142 if (!SWIG_IsOK(ecode3
)) {
7143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7145 arg3
= static_cast< bool >(val3
);
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_Py_Void();
7167 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
= 0;
7169 wxFrame
*arg1
= (wxFrame
*) 0 ;
7170 wxMenu
*arg2
= (wxMenu
*) NULL
;
7175 PyObject
* obj0
= 0 ;
7176 PyObject
* obj1
= 0 ;
7177 char * kwnames
[] = {
7178 (char *) "self",(char *) "menu", NULL
7181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7183 if (!SWIG_IsOK(res1
)) {
7184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7186 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7189 if (!SWIG_IsOK(res2
)) {
7190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7192 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 (arg1
)->DoMenuUpdates(arg2
);
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_Py_Void();
7207 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
= 0;
7209 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7210 SwigValueWrapper
<wxVisualAttributes
> result
;
7213 PyObject
* obj0
= 0 ;
7214 char * kwnames
[] = {
7215 (char *) "variant", NULL
7218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7221 if (!SWIG_IsOK(ecode1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7224 arg1
= static_cast< wxWindowVariant
>(val1
);
7227 if (!wxPyCheckForApp()) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7240 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7243 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7244 return SWIG_Py_Void();
7247 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7248 return SWIG_Python_InitShadowInstance(args
);
7251 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7253 wxWindow
*arg1
= (wxWindow
*) 0 ;
7254 int arg2
= (int) (int)-1 ;
7255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7261 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7262 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7264 wxDialog
*result
= 0 ;
7269 bool temp3
= false ;
7274 bool temp7
= false ;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7277 PyObject
* obj2
= 0 ;
7278 PyObject
* obj3
= 0 ;
7279 PyObject
* obj4
= 0 ;
7280 PyObject
* obj5
= 0 ;
7281 PyObject
* obj6
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7294 if (!SWIG_IsOK(ecode2
)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7297 arg2
= static_cast< int >(val2
);
7301 arg3
= wxString_in_helper(obj2
);
7302 if (arg3
== NULL
) SWIG_fail
;
7309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7319 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7320 if (!SWIG_IsOK(ecode6
)) {
7321 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7323 arg6
= static_cast< long >(val6
);
7327 arg7
= wxString_in_helper(obj6
);
7328 if (arg7
== NULL
) SWIG_fail
;
7333 if (!wxPyCheckForApp()) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7362 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7363 PyObject
*resultobj
= 0;
7364 wxDialog
*result
= 0 ;
7366 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7368 if (!wxPyCheckForApp()) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (wxDialog
*)new wxDialog();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7381 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
= 0;
7383 wxDialog
*arg1
= (wxDialog
*) 0 ;
7384 wxWindow
*arg2
= (wxWindow
*) 0 ;
7385 int arg3
= (int) (int)-1 ;
7386 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7387 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7392 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7393 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7402 bool temp4
= false ;
7407 bool temp8
= false ;
7408 PyObject
* obj0
= 0 ;
7409 PyObject
* obj1
= 0 ;
7410 PyObject
* obj2
= 0 ;
7411 PyObject
* obj3
= 0 ;
7412 PyObject
* obj4
= 0 ;
7413 PyObject
* obj5
= 0 ;
7414 PyObject
* obj6
= 0 ;
7415 PyObject
* obj7
= 0 ;
7416 char * kwnames
[] = {
7417 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7422 if (!SWIG_IsOK(res1
)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7425 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7427 if (!SWIG_IsOK(res2
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7430 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7433 if (!SWIG_IsOK(ecode3
)) {
7434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7436 arg3
= static_cast< int >(val3
);
7440 arg4
= wxString_in_helper(obj3
);
7441 if (arg4
== NULL
) SWIG_fail
;
7448 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7454 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7458 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7459 if (!SWIG_IsOK(ecode7
)) {
7460 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7462 arg7
= static_cast< long >(val7
);
7466 arg8
= wxString_in_helper(obj7
);
7467 if (arg8
== NULL
) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7502 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
= 0;
7504 wxDialog
*arg1
= (wxDialog
*) 0 ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7512 char * kwnames
[] = {
7513 (char *) "self",(char *) "returnCode", NULL
7516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7518 if (!SWIG_IsOK(res1
)) {
7519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7521 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7523 if (!SWIG_IsOK(ecode2
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7526 arg2
= static_cast< int >(val2
);
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 (arg1
)->SetReturnCode(arg2
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_Py_Void();
7540 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7541 PyObject
*resultobj
= 0;
7542 wxDialog
*arg1
= (wxDialog
*) 0 ;
7546 PyObject
*swig_obj
[1] ;
7548 if (!args
) SWIG_fail
;
7550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7551 if (!SWIG_IsOK(res1
)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7554 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_From_int(static_cast< int >(result
));
7568 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= 0;
7570 wxDialog
*arg1
= (wxDialog
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7578 char * kwnames
[] = {
7579 (char *) "self",(char *) "affirmativeId", NULL
7582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7584 if (!SWIG_IsOK(res1
)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7587 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7589 if (!SWIG_IsOK(ecode2
)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7592 arg2
= static_cast< int >(val2
);
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 (arg1
)->SetAffirmativeId(arg2
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_Py_Void();
7606 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxDialog
*arg1
= (wxDialog
*) 0 ;
7612 PyObject
*swig_obj
[1] ;
7614 if (!args
) SWIG_fail
;
7616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7617 if (!SWIG_IsOK(res1
)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7620 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_From_int(static_cast< int >(result
));
7634 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
= 0;
7636 wxDialog
*arg1
= (wxDialog
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 char * kwnames
[] = {
7645 (char *) "self",(char *) "escapeId", NULL
7648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7650 if (!SWIG_IsOK(res1
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7653 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7655 if (!SWIG_IsOK(ecode2
)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7658 arg2
= static_cast< int >(val2
);
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->SetEscapeId(arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_Py_Void();
7672 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7673 PyObject
*resultobj
= 0;
7674 wxDialog
*arg1
= (wxDialog
*) 0 ;
7678 PyObject
*swig_obj
[1] ;
7680 if (!args
) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7686 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_From_int(static_cast< int >(result
));
7700 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxDialog
*arg1
= (wxDialog
*) 0 ;
7703 wxString
*arg2
= 0 ;
7704 wxSizer
*result
= 0 ;
7707 bool temp2
= false ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "message", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7719 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7721 arg2
= wxString_in_helper(obj1
);
7722 if (arg2
== NULL
) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7748 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
= 0;
7750 wxDialog
*arg1
= (wxDialog
*) 0 ;
7752 wxSizer
*result
= 0 ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 char * kwnames
[] = {
7760 (char *) "self",(char *) "flags", NULL
7763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7765 if (!SWIG_IsOK(res1
)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7768 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7769 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7770 if (!SWIG_IsOK(ecode2
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7773 arg2
= static_cast< long >(val2
);
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7789 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= 0;
7791 wxDialog
*arg1
= (wxDialog
*) 0 ;
7793 wxSizer
*result
= 0 ;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7800 char * kwnames
[] = {
7801 (char *) "self",(char *) "flags", NULL
7804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7806 if (!SWIG_IsOK(res1
)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7809 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7811 if (!SWIG_IsOK(ecode2
)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7814 arg2
= static_cast< long >(val2
);
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7830 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
= 0;
7832 wxDialog
*arg1
= (wxDialog
*) 0 ;
7834 wxStdDialogButtonSizer
*result
= 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 char * kwnames
[] = {
7842 (char *) "self",(char *) "flags", NULL
7845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7847 if (!SWIG_IsOK(res1
)) {
7848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7850 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7851 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7852 if (!SWIG_IsOK(ecode2
)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7855 arg2
= static_cast< long >(val2
);
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7869 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7870 PyObject
*resultobj
= 0;
7871 wxDialog
*arg1
= (wxDialog
*) 0 ;
7875 PyObject
*swig_obj
[1] ;
7877 if (!args
) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7883 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7899 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7900 PyObject
*resultobj
= 0;
7901 wxDialog
*arg1
= (wxDialog
*) 0 ;
7905 PyObject
*swig_obj
[1] ;
7907 if (!args
) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7913 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (int)(arg1
)->ShowModal();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= SWIG_From_int(static_cast< int >(result
));
7927 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
= 0;
7929 wxDialog
*arg1
= (wxDialog
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7937 char * kwnames
[] = {
7938 (char *) "self",(char *) "retCode", NULL
7941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7943 if (!SWIG_IsOK(res1
)) {
7944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7946 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7948 if (!SWIG_IsOK(ecode2
)) {
7949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7951 arg2
= static_cast< int >(val2
);
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 (arg1
)->EndModal(arg2
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= SWIG_Py_Void();
7965 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
= 0;
7967 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7968 SwigValueWrapper
<wxVisualAttributes
> result
;
7971 PyObject
* obj0
= 0 ;
7972 char * kwnames
[] = {
7973 (char *) "variant", NULL
7976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7979 if (!SWIG_IsOK(ecode1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7982 arg1
= static_cast< wxWindowVariant
>(val1
);
7985 if (!wxPyCheckForApp()) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7998 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8001 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8002 return SWIG_Py_Void();
8005 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 return SWIG_Python_InitShadowInstance(args
);
8009 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
= 0;
8011 wxWindow
*arg1
= (wxWindow
*) 0 ;
8012 int arg2
= (int) (int)-1 ;
8013 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8014 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8019 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8020 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8022 wxMiniFrame
*result
= 0 ;
8027 bool temp3
= false ;
8032 bool temp7
= false ;
8033 PyObject
* obj0
= 0 ;
8034 PyObject
* obj1
= 0 ;
8035 PyObject
* obj2
= 0 ;
8036 PyObject
* obj3
= 0 ;
8037 PyObject
* obj4
= 0 ;
8038 PyObject
* obj5
= 0 ;
8039 PyObject
* obj6
= 0 ;
8040 char * kwnames
[] = {
8041 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8046 if (!SWIG_IsOK(res1
)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8052 if (!SWIG_IsOK(ecode2
)) {
8053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8055 arg2
= static_cast< int >(val2
);
8059 arg3
= wxString_in_helper(obj2
);
8060 if (arg3
== NULL
) SWIG_fail
;
8067 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8073 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8077 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8078 if (!SWIG_IsOK(ecode6
)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8081 arg6
= static_cast< long >(val6
);
8085 arg7
= wxString_in_helper(obj6
);
8086 if (arg7
== NULL
) SWIG_fail
;
8091 if (!wxPyCheckForApp()) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8120 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8121 PyObject
*resultobj
= 0;
8122 wxMiniFrame
*result
= 0 ;
8124 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8126 if (!wxPyCheckForApp()) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= (wxMiniFrame
*)new wxMiniFrame();
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8139 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
= 0;
8141 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8142 wxWindow
*arg2
= (wxWindow
*) 0 ;
8143 int arg3
= (int) (int)-1 ;
8144 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8145 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8146 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8147 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8148 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8149 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8150 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8151 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8152 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8160 bool temp4
= false ;
8165 bool temp8
= false ;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8168 PyObject
* obj2
= 0 ;
8169 PyObject
* obj3
= 0 ;
8170 PyObject
* obj4
= 0 ;
8171 PyObject
* obj5
= 0 ;
8172 PyObject
* obj6
= 0 ;
8173 PyObject
* obj7
= 0 ;
8174 char * kwnames
[] = {
8175 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8180 if (!SWIG_IsOK(res1
)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8183 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8185 if (!SWIG_IsOK(res2
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8191 if (!SWIG_IsOK(ecode3
)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8194 arg3
= static_cast< int >(val3
);
8198 arg4
= wxString_in_helper(obj3
);
8199 if (arg4
== NULL
) SWIG_fail
;
8206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8216 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8217 if (!SWIG_IsOK(ecode7
)) {
8218 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8220 arg7
= static_cast< long >(val7
);
8224 arg8
= wxString_in_helper(obj7
);
8225 if (arg8
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8260 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8263 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8264 return SWIG_Py_Void();
8267 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8268 return SWIG_Python_InitShadowInstance(args
);
8271 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
= 0;
8273 wxBitmap
*arg1
= 0 ;
8274 wxWindow
*arg2
= (wxWindow
*) 0 ;
8276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8280 long arg6
= (long) wxNO_BORDER
;
8281 wxSplashScreenWindow
*result
= 0 ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8294 PyObject
* obj2
= 0 ;
8295 PyObject
* obj3
= 0 ;
8296 PyObject
* obj4
= 0 ;
8297 PyObject
* obj5
= 0 ;
8298 char * kwnames
[] = {
8299 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8303 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8304 if (!SWIG_IsOK(res1
)) {
8305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8310 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8312 if (!SWIG_IsOK(res2
)) {
8313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8315 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8317 if (!SWIG_IsOK(ecode3
)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8320 arg3
= static_cast< int >(val3
);
8324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8334 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8335 if (!SWIG_IsOK(ecode6
)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8338 arg6
= static_cast< long >(val6
);
8341 if (!wxPyCheckForApp()) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8354 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
= 0;
8356 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8357 wxBitmap
*arg2
= 0 ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8364 char * kwnames
[] = {
8365 (char *) "self",(char *) "bitmap", NULL
8368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8370 if (!SWIG_IsOK(res1
)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8373 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8375 if (!SWIG_IsOK(res2
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8381 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_Py_Void();
8395 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8396 PyObject
*resultobj
= 0;
8397 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8398 wxBitmap
*result
= 0 ;
8401 PyObject
*swig_obj
[1] ;
8403 if (!args
) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8409 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8414 result
= (wxBitmap
*) &_result_ref
;
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8420 wxBitmap
* resultptr
= new wxBitmap(*result
);
8421 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8429 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8432 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8433 return SWIG_Py_Void();
8436 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8437 return SWIG_Python_InitShadowInstance(args
);
8440 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
= 0;
8442 wxBitmap
*arg1
= 0 ;
8445 wxWindow
*arg4
= (wxWindow
*) 0 ;
8446 int arg5
= (int) -1 ;
8447 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8448 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8449 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8450 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8451 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8452 wxSplashScreen
*result
= 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj2
= 0 ;
8470 PyObject
* obj3
= 0 ;
8471 PyObject
* obj4
= 0 ;
8472 PyObject
* obj5
= 0 ;
8473 PyObject
* obj6
= 0 ;
8474 PyObject
* obj7
= 0 ;
8475 char * kwnames
[] = {
8476 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8480 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8481 if (!SWIG_IsOK(res1
)) {
8482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8487 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8488 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8489 if (!SWIG_IsOK(ecode2
)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8492 arg2
= static_cast< long >(val2
);
8493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8494 if (!SWIG_IsOK(ecode3
)) {
8495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8497 arg3
= static_cast< int >(val3
);
8498 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8499 if (!SWIG_IsOK(res4
)) {
8500 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8502 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8504 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8505 if (!SWIG_IsOK(ecode5
)) {
8506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8508 arg5
= static_cast< int >(val5
);
8513 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8519 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8523 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8524 if (!SWIG_IsOK(ecode8
)) {
8525 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8527 arg8
= static_cast< long >(val8
);
8530 if (!wxPyCheckForApp()) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8543 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8544 PyObject
*resultobj
= 0;
8545 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8549 PyObject
*swig_obj
[1] ;
8551 if (!args
) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8557 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_From_long(static_cast< long >(result
));
8571 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8572 PyObject
*resultobj
= 0;
8573 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8574 wxSplashScreenWindow
*result
= 0 ;
8577 PyObject
*swig_obj
[1] ;
8579 if (!args
) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8585 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8599 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8600 PyObject
*resultobj
= 0;
8601 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8605 PyObject
*swig_obj
[1] ;
8607 if (!args
) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8613 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= SWIG_From_int(static_cast< int >(result
));
8627 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8630 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8631 return SWIG_Py_Void();
8634 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8635 return SWIG_Python_InitShadowInstance(args
);
8638 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
= 0;
8640 wxWindow
*arg1
= (wxWindow
*) 0 ;
8641 int arg2
= (int) -1 ;
8642 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8643 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8645 wxStatusBar
*result
= 0 ;
8652 bool temp4
= false ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 PyObject
* obj2
= 0 ;
8656 PyObject
* obj3
= 0 ;
8657 char * kwnames
[] = {
8658 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8663 if (!SWIG_IsOK(res1
)) {
8664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8669 if (!SWIG_IsOK(ecode2
)) {
8670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8672 arg2
= static_cast< int >(val2
);
8675 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8676 if (!SWIG_IsOK(ecode3
)) {
8677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8679 arg3
= static_cast< long >(val3
);
8683 arg4
= wxString_in_helper(obj3
);
8684 if (arg4
== NULL
) SWIG_fail
;
8689 if (!wxPyCheckForApp()) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8710 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8711 PyObject
*resultobj
= 0;
8712 wxStatusBar
*result
= 0 ;
8714 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8716 if (!wxPyCheckForApp()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxStatusBar
*)new wxStatusBar();
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8729 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
= 0;
8731 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8732 wxWindow
*arg2
= (wxWindow
*) 0 ;
8733 int arg3
= (int) -1 ;
8734 long arg4
= (long) wxST_SIZEGRIP
;
8735 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8736 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8746 bool temp5
= false ;
8747 PyObject
* obj0
= 0 ;
8748 PyObject
* obj1
= 0 ;
8749 PyObject
* obj2
= 0 ;
8750 PyObject
* obj3
= 0 ;
8751 PyObject
* obj4
= 0 ;
8752 char * kwnames
[] = {
8753 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8758 if (!SWIG_IsOK(res1
)) {
8759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8761 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8763 if (!SWIG_IsOK(res2
)) {
8764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8766 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8769 if (!SWIG_IsOK(ecode3
)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8772 arg3
= static_cast< int >(val3
);
8775 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8776 if (!SWIG_IsOK(ecode4
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8779 arg4
= static_cast< long >(val4
);
8783 arg5
= wxString_in_helper(obj4
);
8784 if (arg5
== NULL
) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8811 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
= 0;
8813 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8814 int arg2
= (int) 1 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 char * kwnames
[] = {
8822 (char *) "self",(char *) "number", NULL
8825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8827 if (!SWIG_IsOK(res1
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8830 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8833 if (!SWIG_IsOK(ecode2
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8836 arg2
= static_cast< int >(val2
);
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 (arg1
)->SetFieldsCount(arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_Py_Void();
8851 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8852 PyObject
*resultobj
= 0;
8853 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8857 PyObject
*swig_obj
[1] ;
8859 if (!args
) SWIG_fail
;
8861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8862 if (!SWIG_IsOK(res1
)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8865 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_From_int(static_cast< int >(result
));
8879 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
= 0;
8881 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8882 wxString
*arg2
= 0 ;
8883 int arg3
= (int) 0 ;
8886 bool temp2
= false ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8891 PyObject
* obj2
= 0 ;
8892 char * kwnames
[] = {
8893 (char *) "self",(char *) "text",(char *) "number", NULL
8896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8898 if (!SWIG_IsOK(res1
)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8901 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8903 arg2
= wxString_in_helper(obj1
);
8904 if (arg2
== NULL
) SWIG_fail
;
8908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8909 if (!SWIG_IsOK(ecode3
)) {
8910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8912 arg3
= static_cast< int >(val3
);
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_Py_Void();
8935 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
= 0;
8937 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8938 int arg2
= (int) 0 ;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8946 char * kwnames
[] = {
8947 (char *) "self",(char *) "number", NULL
8950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8952 if (!SWIG_IsOK(res1
)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8955 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8958 if (!SWIG_IsOK(ecode2
)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8961 arg2
= static_cast< int >(val2
);
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8982 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
= 0;
8984 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8985 wxString
*arg2
= 0 ;
8986 int arg3
= (int) 0 ;
8989 bool temp2
= false ;
8992 PyObject
* obj0
= 0 ;
8993 PyObject
* obj1
= 0 ;
8994 PyObject
* obj2
= 0 ;
8995 char * kwnames
[] = {
8996 (char *) "self",(char *) "text",(char *) "number", NULL
8999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9001 if (!SWIG_IsOK(res1
)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9004 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9006 arg2
= wxString_in_helper(obj1
);
9007 if (arg2
== NULL
) SWIG_fail
;
9011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9012 if (!SWIG_IsOK(ecode3
)) {
9013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9015 arg3
= static_cast< int >(val3
);
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_Py_Void();
9038 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
= 0;
9040 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9041 int arg2
= (int) 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 char * kwnames
[] = {
9049 (char *) "self",(char *) "number", NULL
9052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9054 if (!SWIG_IsOK(res1
)) {
9055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9057 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9060 if (!SWIG_IsOK(ecode2
)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9063 arg2
= static_cast< int >(val2
);
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 (arg1
)->PopStatusText(arg2
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= SWIG_Py_Void();
9078 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
= 0;
9080 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9082 int *arg3
= (int *) 0 ;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9087 char * kwnames
[] = {
9088 (char *) "self",(char *) "widths", NULL
9091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9093 if (!SWIG_IsOK(res1
)) {
9094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9096 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9098 arg2
= PyList_Size(obj1
);
9099 arg3
= int_LIST_helper(obj1
);
9100 if (arg3
== NULL
) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_Py_Void();
9110 if (arg3
) delete [] arg3
;
9115 if (arg3
) delete [] arg3
;
9121 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
= 0;
9123 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9125 int *arg3
= (int *) 0 ;
9128 PyObject
* obj0
= 0 ;
9129 PyObject
* obj1
= 0 ;
9130 char * kwnames
[] = {
9131 (char *) "self",(char *) "styles", NULL
9134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9139 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9141 arg2
= PyList_Size(obj1
);
9142 arg3
= int_LIST_helper(obj1
);
9143 if (arg3
== NULL
) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_Py_Void();
9153 if (arg3
) delete [] arg3
;
9158 if (arg3
) delete [] arg3
;
9164 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
= 0;
9166 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 char * kwnames
[] = {
9176 (char *) "self",(char *) "i", NULL
9179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9181 if (!SWIG_IsOK(res1
)) {
9182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9184 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9186 if (!SWIG_IsOK(ecode2
)) {
9187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9189 arg2
= static_cast< int >(val2
);
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9203 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
= 0;
9205 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 char * kwnames
[] = {
9214 (char *) "self",(char *) "height", NULL
9217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9219 if (!SWIG_IsOK(res1
)) {
9220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9222 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9224 if (!SWIG_IsOK(ecode2
)) {
9225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9227 arg2
= static_cast< int >(val2
);
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 (arg1
)->SetMinHeight(arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= SWIG_Py_Void();
9241 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9242 PyObject
*resultobj
= 0;
9243 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9247 PyObject
*swig_obj
[1] ;
9249 if (!args
) SWIG_fail
;
9251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9252 if (!SWIG_IsOK(res1
)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9255 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_From_int(static_cast< int >(result
));
9269 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9270 PyObject
*resultobj
= 0;
9271 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9275 PyObject
*swig_obj
[1] ;
9277 if (!args
) SWIG_fail
;
9279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9280 if (!SWIG_IsOK(res1
)) {
9281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9283 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_From_int(static_cast< int >(result
));
9297 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
= 0;
9299 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9300 SwigValueWrapper
<wxVisualAttributes
> result
;
9303 PyObject
* obj0
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "variant", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9311 if (!SWIG_IsOK(ecode1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9314 arg1
= static_cast< wxWindowVariant
>(val1
);
9317 if (!wxPyCheckForApp()) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9330 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9333 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9334 return SWIG_Py_Void();
9337 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 return SWIG_Python_InitShadowInstance(args
);
9341 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9342 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9347 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9348 PyObject
*pyobj
= 0;
9352 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9354 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9361 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxWindow
*arg1
= (wxWindow
*) 0 ;
9364 int arg2
= (int) -1 ;
9365 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9366 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9367 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9368 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9369 long arg5
= (long) wxSP_3D
;
9370 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9371 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9372 wxSplitterWindow
*result
= 0 ;
9381 bool temp6
= false ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9384 PyObject
* obj2
= 0 ;
9385 PyObject
* obj3
= 0 ;
9386 PyObject
* obj4
= 0 ;
9387 PyObject
* obj5
= 0 ;
9388 char * kwnames
[] = {
9389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9394 if (!SWIG_IsOK(res1
)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9400 if (!SWIG_IsOK(ecode2
)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9403 arg2
= static_cast< int >(val2
);
9408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9418 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9419 if (!SWIG_IsOK(ecode5
)) {
9420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9422 arg5
= static_cast< long >(val5
);
9426 arg6
= wxString_in_helper(obj5
);
9427 if (arg6
== NULL
) SWIG_fail
;
9432 if (!wxPyCheckForApp()) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9453 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9454 PyObject
*resultobj
= 0;
9455 wxSplitterWindow
*result
= 0 ;
9457 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9459 if (!wxPyCheckForApp()) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9472 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
= 0;
9474 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9475 wxWindow
*arg2
= (wxWindow
*) 0 ;
9476 int arg3
= (int) -1 ;
9477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9481 long arg6
= (long) wxSP_3D
;
9482 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9495 bool temp7
= false ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 PyObject
* obj2
= 0 ;
9499 PyObject
* obj3
= 0 ;
9500 PyObject
* obj4
= 0 ;
9501 PyObject
* obj5
= 0 ;
9502 PyObject
* obj6
= 0 ;
9503 char * kwnames
[] = {
9504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9509 if (!SWIG_IsOK(res1
)) {
9510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9512 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9514 if (!SWIG_IsOK(res2
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9517 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9520 if (!SWIG_IsOK(ecode3
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9523 arg3
= static_cast< int >(val3
);
9528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9534 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9538 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9539 if (!SWIG_IsOK(ecode6
)) {
9540 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9542 arg6
= static_cast< long >(val6
);
9546 arg7
= wxString_in_helper(obj6
);
9547 if (arg7
== NULL
) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9574 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9575 PyObject
*resultobj
= 0;
9576 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9577 wxWindow
*result
= 0 ;
9580 PyObject
*swig_obj
[1] ;
9582 if (!args
) SWIG_fail
;
9584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9585 if (!SWIG_IsOK(res1
)) {
9586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9588 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= wxPyMake_wxObject(result
, 0);
9604 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9605 PyObject
*resultobj
= 0;
9606 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9607 wxWindow
*result
= 0 ;
9610 PyObject
*swig_obj
[1] ;
9612 if (!args
) SWIG_fail
;
9614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9615 if (!SWIG_IsOK(res1
)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9618 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= wxPyMake_wxObject(result
, 0);
9634 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
= 0;
9636 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 char * kwnames
[] = {
9645 (char *) "self",(char *) "mode", NULL
9648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9653 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9655 if (!SWIG_IsOK(ecode2
)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9658 arg2
= static_cast< int >(val2
);
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 (arg1
)->SetSplitMode(arg2
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_Py_Void();
9672 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9673 PyObject
*resultobj
= 0;
9674 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9678 PyObject
*swig_obj
[1] ;
9680 if (!args
) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9686 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_From_int(static_cast< int >(result
));
9700 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
= 0;
9702 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9703 wxWindow
*arg2
= (wxWindow
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "window", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9719 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9721 if (!SWIG_IsOK(res2
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->Initialize(arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9738 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
= 0;
9740 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9741 wxWindow
*arg2
= (wxWindow
*) 0 ;
9742 wxWindow
*arg3
= (wxWindow
*) 0 ;
9743 int arg4
= (int) 0 ;
9753 PyObject
* obj0
= 0 ;
9754 PyObject
* obj1
= 0 ;
9755 PyObject
* obj2
= 0 ;
9756 PyObject
* obj3
= 0 ;
9757 char * kwnames
[] = {
9758 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9766 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9768 if (!SWIG_IsOK(res2
)) {
9769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9773 if (!SWIG_IsOK(res3
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9776 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9779 if (!SWIG_IsOK(ecode4
)) {
9780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9782 arg4
= static_cast< int >(val4
);
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9799 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
= 0;
9801 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9802 wxWindow
*arg2
= (wxWindow
*) 0 ;
9803 wxWindow
*arg3
= (wxWindow
*) 0 ;
9804 int arg4
= (int) 0 ;
9814 PyObject
* obj0
= 0 ;
9815 PyObject
* obj1
= 0 ;
9816 PyObject
* obj2
= 0 ;
9817 PyObject
* obj3
= 0 ;
9818 char * kwnames
[] = {
9819 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9824 if (!SWIG_IsOK(res1
)) {
9825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9827 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9829 if (!SWIG_IsOK(res2
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9832 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9834 if (!SWIG_IsOK(res3
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9837 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9840 if (!SWIG_IsOK(ecode4
)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9843 arg4
= static_cast< int >(val4
);
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9860 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9863 wxWindow
*arg2
= (wxWindow
*) NULL
;
9869 PyObject
* obj0
= 0 ;
9870 PyObject
* obj1
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "self",(char *) "toRemove", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9880 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9883 if (!SWIG_IsOK(res2
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (bool)(arg1
)->Unsplit(arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9903 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
= 0;
9905 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9906 wxWindow
*arg2
= (wxWindow
*) 0 ;
9907 wxWindow
*arg3
= (wxWindow
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9917 PyObject
* obj2
= 0 ;
9918 char * kwnames
[] = {
9919 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9927 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9928 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9929 if (!SWIG_IsOK(res2
)) {
9930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9932 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9933 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9934 if (!SWIG_IsOK(res3
)) {
9935 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9937 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9953 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9954 PyObject
*resultobj
= 0;
9955 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9958 PyObject
*swig_obj
[1] ;
9960 if (!args
) SWIG_fail
;
9962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9963 if (!SWIG_IsOK(res1
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9966 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 (arg1
)->UpdateSize();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_Py_Void();
9980 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9981 PyObject
*resultobj
= 0;
9982 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9986 PyObject
*swig_obj
[1] ;
9988 if (!args
) SWIG_fail
;
9990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9991 if (!SWIG_IsOK(res1
)) {
9992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9994 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10010 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
= 0;
10012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 char * kwnames
[] = {
10021 (char *) "self",(char *) "width", NULL
10024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10031 if (!SWIG_IsOK(ecode2
)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10034 arg2
= static_cast< int >(val2
);
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->SetSashSize(arg2
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
= 0;
10050 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 char * kwnames
[] = {
10059 (char *) "self",(char *) "width", NULL
10062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10064 if (!SWIG_IsOK(res1
)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10067 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10069 if (!SWIG_IsOK(ecode2
)) {
10070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10072 arg2
= static_cast< int >(val2
);
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 (arg1
)->SetBorderSize(arg2
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_Py_Void();
10086 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10087 PyObject
*resultobj
= 0;
10088 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10092 PyObject
*swig_obj
[1] ;
10094 if (!args
) SWIG_fail
;
10095 swig_obj
[0] = args
;
10096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10097 if (!SWIG_IsOK(res1
)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10100 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_From_int(static_cast< int >(result
));
10114 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_From_int(static_cast< int >(result
));
10142 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
= 0;
10144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10146 bool arg3
= (bool) true ;
10153 PyObject
* obj0
= 0 ;
10154 PyObject
* obj1
= 0 ;
10155 PyObject
* obj2
= 0 ;
10156 char * kwnames
[] = {
10157 (char *) "self",(char *) "position",(char *) "redraw", NULL
10160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10162 if (!SWIG_IsOK(res1
)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10165 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10167 if (!SWIG_IsOK(ecode2
)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10170 arg2
= static_cast< int >(val2
);
10172 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10173 if (!SWIG_IsOK(ecode3
)) {
10174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10176 arg3
= static_cast< bool >(val3
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 (arg1
)->SetSashPosition(arg2
,arg3
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_Py_Void();
10191 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10192 PyObject
*resultobj
= 0;
10193 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10197 PyObject
*swig_obj
[1] ;
10199 if (!args
) SWIG_fail
;
10200 swig_obj
[0] = args
;
10201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10202 if (!SWIG_IsOK(res1
)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10205 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_From_int(static_cast< int >(result
));
10219 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= 0;
10221 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "gravity", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10239 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10240 if (!SWIG_IsOK(ecode2
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10243 arg2
= static_cast< double >(val2
);
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetSashGravity(arg2
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= SWIG_Py_Void();
10257 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10258 PyObject
*resultobj
= 0;
10259 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10263 PyObject
*swig_obj
[1] ;
10265 if (!args
) SWIG_fail
;
10266 swig_obj
[0] = args
;
10267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10271 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_From_double(static_cast< double >(result
));
10285 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
= 0;
10287 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "self",(char *) "min", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10304 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10306 if (!SWIG_IsOK(ecode2
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10309 arg2
= static_cast< int >(val2
);
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 (arg1
)->SetMinimumPaneSize(arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_Py_Void();
10323 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10324 PyObject
*resultobj
= 0;
10325 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10329 PyObject
*swig_obj
[1] ;
10331 if (!args
) SWIG_fail
;
10332 swig_obj
[0] = args
;
10333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10334 if (!SWIG_IsOK(res1
)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10337 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_From_int(static_cast< int >(result
));
10351 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
= 0;
10353 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10356 int arg4
= (int) 5 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 PyObject
* obj2
= 0 ;
10369 PyObject
* obj3
= 0 ;
10370 char * kwnames
[] = {
10371 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10376 if (!SWIG_IsOK(res1
)) {
10377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10379 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10381 if (!SWIG_IsOK(ecode2
)) {
10382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10384 arg2
= static_cast< int >(val2
);
10385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10386 if (!SWIG_IsOK(ecode3
)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10389 arg3
= static_cast< int >(val3
);
10391 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10392 if (!SWIG_IsOK(ecode4
)) {
10393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10395 arg4
= static_cast< int >(val4
);
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10412 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10413 PyObject
*resultobj
= 0;
10414 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10417 PyObject
*swig_obj
[1] ;
10419 if (!args
) SWIG_fail
;
10420 swig_obj
[0] = args
;
10421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10422 if (!SWIG_IsOK(res1
)) {
10423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10425 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 (arg1
)->SizeWindows();
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_Py_Void();
10439 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
= 0;
10441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 char * kwnames
[] = {
10450 (char *) "self",(char *) "needUpdating", NULL
10453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10458 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10459 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10460 if (!SWIG_IsOK(ecode2
)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10463 arg2
= static_cast< bool >(val2
);
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->SetNeedUpdating(arg2
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_Py_Void();
10477 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10478 PyObject
*resultobj
= 0;
10479 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10483 PyObject
*swig_obj
[1] ;
10485 if (!args
) SWIG_fail
;
10486 swig_obj
[0] = args
;
10487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10488 if (!SWIG_IsOK(res1
)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10491 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10507 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
= 0;
10509 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10510 SwigValueWrapper
<wxVisualAttributes
> result
;
10513 PyObject
* obj0
= 0 ;
10514 char * kwnames
[] = {
10515 (char *) "variant", NULL
10518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10521 if (!SWIG_IsOK(ecode1
)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10524 arg1
= static_cast< wxWindowVariant
>(val1
);
10527 if (!wxPyCheckForApp()) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10540 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10543 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10544 return SWIG_Py_Void();
10547 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10548 return SWIG_Python_InitShadowInstance(args
);
10551 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
= 0;
10553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10554 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10555 wxSplitterEvent
*result
= 0 ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 char * kwnames
[] = {
10563 (char *) "type",(char *) "splitter", NULL
10566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10569 if (!SWIG_IsOK(ecode1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10572 arg1
= static_cast< wxEventType
>(val1
);
10575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10576 if (!SWIG_IsOK(res2
)) {
10577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10579 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10594 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
= 0;
10596 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char * kwnames
[] = {
10605 (char *) "self",(char *) "pos", NULL
10608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10610 if (!SWIG_IsOK(res1
)) {
10611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10613 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10615 if (!SWIG_IsOK(ecode2
)) {
10616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10618 arg2
= static_cast< int >(val2
);
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 (arg1
)->SetSashPosition(arg2
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= SWIG_Py_Void();
10632 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10633 PyObject
*resultobj
= 0;
10634 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10638 PyObject
*swig_obj
[1] ;
10640 if (!args
) SWIG_fail
;
10641 swig_obj
[0] = args
;
10642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10646 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_From_int(static_cast< int >(result
));
10660 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10661 PyObject
*resultobj
= 0;
10662 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10663 wxWindow
*result
= 0 ;
10666 PyObject
*swig_obj
[1] ;
10668 if (!args
) SWIG_fail
;
10669 swig_obj
[0] = args
;
10670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10671 if (!SWIG_IsOK(res1
)) {
10672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10674 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= wxPyMake_wxObject(result
, 0);
10690 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10691 PyObject
*resultobj
= 0;
10692 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10696 PyObject
*swig_obj
[1] ;
10698 if (!args
) SWIG_fail
;
10699 swig_obj
[0] = args
;
10700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10701 if (!SWIG_IsOK(res1
)) {
10702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10704 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_From_int(static_cast< int >(result
));
10718 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10719 PyObject
*resultobj
= 0;
10720 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10724 PyObject
*swig_obj
[1] ;
10726 if (!args
) SWIG_fail
;
10727 swig_obj
[0] = args
;
10728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10729 if (!SWIG_IsOK(res1
)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10732 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= SWIG_From_int(static_cast< int >(result
));
10746 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10749 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10750 return SWIG_Py_Void();
10753 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10754 return SWIG_Python_InitShadowInstance(args
);
10757 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10758 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10763 SWIGINTERN PyObject
*SashNameStr_get(void) {
10764 PyObject
*pyobj
= 0;
10768 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10770 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10777 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10778 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10783 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10784 PyObject
*pyobj
= 0;
10788 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10790 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10797 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
= 0;
10799 wxWindow
*arg1
= (wxWindow
*) 0 ;
10800 int arg2
= (int) -1 ;
10801 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10802 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10803 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10804 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10805 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10806 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10807 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10808 wxSashWindow
*result
= 0 ;
10817 bool temp6
= false ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 PyObject
* obj3
= 0 ;
10822 PyObject
* obj4
= 0 ;
10823 PyObject
* obj5
= 0 ;
10824 char * kwnames
[] = {
10825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10833 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10836 if (!SWIG_IsOK(ecode2
)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10839 arg2
= static_cast< int >(val2
);
10844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10850 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10854 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10855 if (!SWIG_IsOK(ecode5
)) {
10856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10858 arg5
= static_cast< long >(val5
);
10862 arg6
= wxString_in_helper(obj5
);
10863 if (arg6
== NULL
) SWIG_fail
;
10868 if (!wxPyCheckForApp()) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10889 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10890 PyObject
*resultobj
= 0;
10891 wxSashWindow
*result
= 0 ;
10893 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10895 if (!wxPyCheckForApp()) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 result
= (wxSashWindow
*)new wxSashWindow();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10908 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
= 0;
10910 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10911 wxWindow
*arg2
= (wxWindow
*) 0 ;
10912 int arg3
= (int) -1 ;
10913 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10914 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10915 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10916 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10917 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10918 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10919 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10931 bool temp7
= false ;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 PyObject
* obj2
= 0 ;
10935 PyObject
* obj3
= 0 ;
10936 PyObject
* obj4
= 0 ;
10937 PyObject
* obj5
= 0 ;
10938 PyObject
* obj6
= 0 ;
10939 char * kwnames
[] = {
10940 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10945 if (!SWIG_IsOK(res1
)) {
10946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10948 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10950 if (!SWIG_IsOK(res2
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10953 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10956 if (!SWIG_IsOK(ecode3
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10959 arg3
= static_cast< int >(val3
);
10964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10974 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10975 if (!SWIG_IsOK(ecode6
)) {
10976 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10978 arg6
= static_cast< long >(val6
);
10982 arg7
= wxString_in_helper(obj6
);
10983 if (arg7
== NULL
) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11010 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
= 0;
11012 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11013 wxSashEdgePosition arg2
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 char * kwnames
[] = {
11025 (char *) "self",(char *) "edge",(char *) "sash", NULL
11028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11030 if (!SWIG_IsOK(res1
)) {
11031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11033 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11035 if (!SWIG_IsOK(ecode2
)) {
11036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11038 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11039 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11040 if (!SWIG_IsOK(ecode3
)) {
11041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11043 arg3
= static_cast< bool >(val3
);
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 (arg1
)->SetSashVisible(arg2
,arg3
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 resultobj
= SWIG_Py_Void();
11057 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
= 0;
11059 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11060 wxSashEdgePosition arg2
;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char * kwnames
[] = {
11069 (char *) "self",(char *) "edge", NULL
11072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11077 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11079 if (!SWIG_IsOK(ecode2
)) {
11080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11082 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11098 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
= 0;
11100 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11101 wxSashEdgePosition arg2
;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 PyObject
* obj2
= 0 ;
11112 char * kwnames
[] = {
11113 (char *) "self",(char *) "edge",(char *) "border", NULL
11116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11118 if (!SWIG_IsOK(res1
)) {
11119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11121 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11123 if (!SWIG_IsOK(ecode2
)) {
11124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11126 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11127 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11128 if (!SWIG_IsOK(ecode3
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11131 arg3
= static_cast< bool >(val3
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 (arg1
)->SetSashBorder(arg2
,arg3
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= SWIG_Py_Void();
11145 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
= 0;
11147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11148 wxSashEdgePosition arg2
;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char * kwnames
[] = {
11157 (char *) "self",(char *) "edge", NULL
11160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11165 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11167 if (!SWIG_IsOK(ecode2
)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11170 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11189 wxSashEdgePosition arg2
;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 char * kwnames
[] = {
11198 (char *) "self",(char *) "edge", NULL
11201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11206 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11208 if (!SWIG_IsOK(ecode2
)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11211 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= SWIG_From_int(static_cast< int >(result
));
11225 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
= 0;
11227 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 char * kwnames
[] = {
11236 (char *) "self",(char *) "width", NULL
11239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11241 if (!SWIG_IsOK(res1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11244 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11246 if (!SWIG_IsOK(ecode2
)) {
11247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11249 arg2
= static_cast< int >(val2
);
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 (arg1
)->SetDefaultBorderSize(arg2
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_Py_Void();
11263 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11264 PyObject
*resultobj
= 0;
11265 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11269 PyObject
*swig_obj
[1] ;
11271 if (!args
) SWIG_fail
;
11272 swig_obj
[0] = args
;
11273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11274 if (!SWIG_IsOK(res1
)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11277 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_From_int(static_cast< int >(result
));
11291 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= 0;
11293 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 char * kwnames
[] = {
11302 (char *) "self",(char *) "width", NULL
11305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11310 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11312 if (!SWIG_IsOK(ecode2
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11315 arg2
= static_cast< int >(val2
);
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 (arg1
)->SetExtraBorderSize(arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= SWIG_Py_Void();
11329 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11330 PyObject
*resultobj
= 0;
11331 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11335 PyObject
*swig_obj
[1] ;
11337 if (!args
) SWIG_fail
;
11338 swig_obj
[0] = args
;
11339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11340 if (!SWIG_IsOK(res1
)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11343 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_From_int(static_cast< int >(result
));
11357 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
= 0;
11359 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 char * kwnames
[] = {
11368 (char *) "self",(char *) "min", NULL
11371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11373 if (!SWIG_IsOK(res1
)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11376 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11378 if (!SWIG_IsOK(ecode2
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11381 arg2
= static_cast< int >(val2
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 (arg1
)->SetMinimumSizeX(arg2
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 resultobj
= SWIG_Py_Void();
11395 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
= 0;
11397 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char * kwnames
[] = {
11406 (char *) "self",(char *) "min", NULL
11409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11414 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11416 if (!SWIG_IsOK(ecode2
)) {
11417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11419 arg2
= static_cast< int >(val2
);
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 (arg1
)->SetMinimumSizeY(arg2
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_Py_Void();
11433 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11434 PyObject
*resultobj
= 0;
11435 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11439 PyObject
*swig_obj
[1] ;
11441 if (!args
) SWIG_fail
;
11442 swig_obj
[0] = args
;
11443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11444 if (!SWIG_IsOK(res1
)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11447 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_From_int(static_cast< int >(result
));
11461 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11462 PyObject
*resultobj
= 0;
11463 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11467 PyObject
*swig_obj
[1] ;
11469 if (!args
) SWIG_fail
;
11470 swig_obj
[0] = args
;
11471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11472 if (!SWIG_IsOK(res1
)) {
11473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11475 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_From_int(static_cast< int >(result
));
11489 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
= 0;
11491 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char * kwnames
[] = {
11500 (char *) "self",(char *) "max", NULL
11503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11505 if (!SWIG_IsOK(res1
)) {
11506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11508 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11510 if (!SWIG_IsOK(ecode2
)) {
11511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11513 arg2
= static_cast< int >(val2
);
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 (arg1
)->SetMaximumSizeX(arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_Py_Void();
11527 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
= 0;
11529 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 char * kwnames
[] = {
11538 (char *) "self",(char *) "max", NULL
11541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11543 if (!SWIG_IsOK(res1
)) {
11544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11546 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11548 if (!SWIG_IsOK(ecode2
)) {
11549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11551 arg2
= static_cast< int >(val2
);
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 (arg1
)->SetMaximumSizeY(arg2
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_Py_Void();
11565 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11566 PyObject
*resultobj
= 0;
11567 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11571 PyObject
*swig_obj
[1] ;
11573 if (!args
) SWIG_fail
;
11574 swig_obj
[0] = args
;
11575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11579 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_From_int(static_cast< int >(result
));
11593 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11594 PyObject
*resultobj
= 0;
11595 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11599 PyObject
*swig_obj
[1] ;
11601 if (!args
) SWIG_fail
;
11602 swig_obj
[0] = args
;
11603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11604 if (!SWIG_IsOK(res1
)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11607 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_From_int(static_cast< int >(result
));
11621 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
= 0;
11623 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11626 int arg4
= (int) 2 ;
11627 wxSashEdgePosition result
;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 PyObject
* obj3
= 0 ;
11640 char * kwnames
[] = {
11641 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11646 if (!SWIG_IsOK(res1
)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11649 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11651 if (!SWIG_IsOK(ecode2
)) {
11652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11654 arg2
= static_cast< int >(val2
);
11655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11656 if (!SWIG_IsOK(ecode3
)) {
11657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11659 arg3
= static_cast< int >(val3
);
11661 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11662 if (!SWIG_IsOK(ecode4
)) {
11663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11665 arg4
= static_cast< int >(val4
);
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_From_int(static_cast< int >(result
));
11680 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11685 PyObject
*swig_obj
[1] ;
11687 if (!args
) SWIG_fail
;
11688 swig_obj
[0] = args
;
11689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11690 if (!SWIG_IsOK(res1
)) {
11691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11693 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 (arg1
)->SizeWindows();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_Py_Void();
11707 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11710 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11711 return SWIG_Py_Void();
11714 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 return SWIG_Python_InitShadowInstance(args
);
11718 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
= 0;
11720 int arg1
= (int) 0 ;
11721 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11722 wxSashEvent
*result
= 0 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 char * kwnames
[] = {
11730 (char *) "id",(char *) "edge", NULL
11733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11736 if (!SWIG_IsOK(ecode1
)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11739 arg1
= static_cast< int >(val1
);
11742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11743 if (!SWIG_IsOK(ecode2
)) {
11744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11746 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11761 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
= 0;
11763 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11764 wxSashEdgePosition arg2
;
11769 PyObject
* obj0
= 0 ;
11770 PyObject
* obj1
= 0 ;
11771 char * kwnames
[] = {
11772 (char *) "self",(char *) "edge", NULL
11775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11780 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11782 if (!SWIG_IsOK(ecode2
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11785 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->SetEdge(arg2
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= SWIG_Py_Void();
11799 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11800 PyObject
*resultobj
= 0;
11801 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11802 wxSashEdgePosition result
;
11805 PyObject
*swig_obj
[1] ;
11807 if (!args
) SWIG_fail
;
11808 swig_obj
[0] = args
;
11809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11810 if (!SWIG_IsOK(res1
)) {
11811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11813 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= SWIG_From_int(static_cast< int >(result
));
11827 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
= 0;
11829 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char * kwnames
[] = {
11837 (char *) "self",(char *) "rect", NULL
11840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11845 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11848 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_Py_Void();
11863 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 PyObject
*resultobj
= 0;
11865 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11877 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11891 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11894 wxSashDragStatus arg2
;
11899 PyObject
* obj0
= 0 ;
11900 PyObject
* obj1
= 0 ;
11901 char * kwnames
[] = {
11902 (char *) "self",(char *) "status", NULL
11905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11910 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11912 if (!SWIG_IsOK(ecode2
)) {
11913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11915 arg2
= static_cast< wxSashDragStatus
>(val2
);
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 (arg1
)->SetDragStatus(arg2
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= SWIG_Py_Void();
11929 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11930 PyObject
*resultobj
= 0;
11931 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11932 wxSashDragStatus result
;
11935 PyObject
*swig_obj
[1] ;
11937 if (!args
) SWIG_fail
;
11938 swig_obj
[0] = args
;
11939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11940 if (!SWIG_IsOK(res1
)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11943 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_From_int(static_cast< int >(result
));
11957 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11959 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11960 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11961 return SWIG_Py_Void();
11964 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11965 return SWIG_Python_InitShadowInstance(args
);
11968 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
= 0;
11970 int arg1
= (int) 0 ;
11971 wxQueryLayoutInfoEvent
*result
= 0 ;
11974 PyObject
* obj0
= 0 ;
11975 char * kwnames
[] = {
11976 (char *) "id", NULL
11979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11981 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11982 if (!SWIG_IsOK(ecode1
)) {
11983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11985 arg1
= static_cast< int >(val1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12000 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
= 0;
12002 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char * kwnames
[] = {
12011 (char *) "self",(char *) "length", NULL
12014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12019 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12021 if (!SWIG_IsOK(ecode2
)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12024 arg2
= static_cast< int >(val2
);
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->SetRequestedLength(arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_Py_Void();
12038 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12039 PyObject
*resultobj
= 0;
12040 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12044 PyObject
*swig_obj
[1] ;
12046 if (!args
) SWIG_fail
;
12047 swig_obj
[0] = args
;
12048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12049 if (!SWIG_IsOK(res1
)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12052 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_From_int(static_cast< int >(result
));
12066 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
= 0;
12068 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 PyObject
* obj1
= 0 ;
12076 char * kwnames
[] = {
12077 (char *) "self",(char *) "flags", NULL
12080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12082 if (!SWIG_IsOK(res1
)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12085 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12087 if (!SWIG_IsOK(ecode2
)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12090 arg2
= static_cast< int >(val2
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->SetFlags(arg2
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_Py_Void();
12104 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12105 PyObject
*resultobj
= 0;
12106 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12110 PyObject
*swig_obj
[1] ;
12112 if (!args
) SWIG_fail
;
12113 swig_obj
[0] = args
;
12114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12118 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_From_int(static_cast< int >(result
));
12132 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
= 0;
12134 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 char * kwnames
[] = {
12142 (char *) "self",(char *) "size", NULL
12145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12150 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12153 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetSize((wxSize
const &)*arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_Py_Void();
12168 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12169 PyObject
*resultobj
= 0;
12170 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12174 PyObject
*swig_obj
[1] ;
12176 if (!args
) SWIG_fail
;
12177 swig_obj
[0] = args
;
12178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12179 if (!SWIG_IsOK(res1
)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12182 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12196 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= 0;
12198 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12199 wxLayoutOrientation arg2
;
12204 PyObject
* obj0
= 0 ;
12205 PyObject
* obj1
= 0 ;
12206 char * kwnames
[] = {
12207 (char *) "self",(char *) "orient", NULL
12210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12215 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12217 if (!SWIG_IsOK(ecode2
)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12220 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->SetOrientation(arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_Py_Void();
12234 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12235 PyObject
*resultobj
= 0;
12236 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12237 wxLayoutOrientation result
;
12240 PyObject
*swig_obj
[1] ;
12242 if (!args
) SWIG_fail
;
12243 swig_obj
[0] = args
;
12244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12245 if (!SWIG_IsOK(res1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12248 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_From_int(static_cast< int >(result
));
12262 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12265 wxLayoutAlignment arg2
;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char * kwnames
[] = {
12273 (char *) "self",(char *) "align", NULL
12276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12278 if (!SWIG_IsOK(res1
)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12281 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12283 if (!SWIG_IsOK(ecode2
)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12286 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 (arg1
)->SetAlignment(arg2
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_Py_Void();
12300 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12301 PyObject
*resultobj
= 0;
12302 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12303 wxLayoutAlignment result
;
12306 PyObject
*swig_obj
[1] ;
12308 if (!args
) SWIG_fail
;
12309 swig_obj
[0] = args
;
12310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12311 if (!SWIG_IsOK(res1
)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12314 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_From_int(static_cast< int >(result
));
12328 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12331 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12332 return SWIG_Py_Void();
12335 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 return SWIG_Python_InitShadowInstance(args
);
12339 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
= 0;
12341 int arg1
= (int) 0 ;
12342 wxCalculateLayoutEvent
*result
= 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char * kwnames
[] = {
12347 (char *) "id", NULL
12350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12352 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12353 if (!SWIG_IsOK(ecode1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12356 arg1
= static_cast< int >(val1
);
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12371 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 PyObject
* obj1
= 0 ;
12381 char * kwnames
[] = {
12382 (char *) "self",(char *) "flags", NULL
12385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12387 if (!SWIG_IsOK(res1
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12390 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12392 if (!SWIG_IsOK(ecode2
)) {
12393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12395 arg2
= static_cast< int >(val2
);
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 (arg1
)->SetFlags(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= SWIG_Py_Void();
12409 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12410 PyObject
*resultobj
= 0;
12411 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12415 PyObject
*swig_obj
[1] ;
12417 if (!args
) SWIG_fail
;
12418 swig_obj
[0] = args
;
12419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12420 if (!SWIG_IsOK(res1
)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12423 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_From_int(static_cast< int >(result
));
12437 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char * kwnames
[] = {
12447 (char *) "self",(char *) "rect", NULL
12450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12455 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12458 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->SetRect((wxRect
const &)*arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_Py_Void();
12473 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12479 PyObject
*swig_obj
[1] ;
12481 if (!args
) SWIG_fail
;
12482 swig_obj
[0] = args
;
12483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12484 if (!SWIG_IsOK(res1
)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12487 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12501 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12504 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12505 return SWIG_Py_Void();
12508 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12509 return SWIG_Python_InitShadowInstance(args
);
12512 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
= 0;
12514 wxWindow
*arg1
= (wxWindow
*) 0 ;
12515 int arg2
= (int) -1 ;
12516 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12517 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12518 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12519 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12520 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12521 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12522 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12523 wxSashLayoutWindow
*result
= 0 ;
12532 bool temp6
= false ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 PyObject
* obj2
= 0 ;
12536 PyObject
* obj3
= 0 ;
12537 PyObject
* obj4
= 0 ;
12538 PyObject
* obj5
= 0 ;
12539 char * kwnames
[] = {
12540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12551 if (!SWIG_IsOK(ecode2
)) {
12552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12554 arg2
= static_cast< int >(val2
);
12559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12565 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12569 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12570 if (!SWIG_IsOK(ecode5
)) {
12571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12573 arg5
= static_cast< long >(val5
);
12577 arg6
= wxString_in_helper(obj5
);
12578 if (arg6
== NULL
) SWIG_fail
;
12583 if (!wxPyCheckForApp()) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12604 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12605 PyObject
*resultobj
= 0;
12606 wxSashLayoutWindow
*result
= 0 ;
12608 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12610 if (!wxPyCheckForApp()) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12623 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
= 0;
12625 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12626 wxWindow
*arg2
= (wxWindow
*) 0 ;
12627 int arg3
= (int) -1 ;
12628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12632 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12633 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12634 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12646 bool temp7
= false ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 PyObject
* obj2
= 0 ;
12650 PyObject
* obj3
= 0 ;
12651 PyObject
* obj4
= 0 ;
12652 PyObject
* obj5
= 0 ;
12653 PyObject
* obj6
= 0 ;
12654 char * kwnames
[] = {
12655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12660 if (!SWIG_IsOK(res1
)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12665 if (!SWIG_IsOK(res2
)) {
12666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12671 if (!SWIG_IsOK(ecode3
)) {
12672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12674 arg3
= static_cast< int >(val3
);
12679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12689 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12690 if (!SWIG_IsOK(ecode6
)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12693 arg6
= static_cast< long >(val6
);
12697 arg7
= wxString_in_helper(obj6
);
12698 if (arg7
== NULL
) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12725 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 PyObject
*resultobj
= 0;
12727 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12728 wxLayoutAlignment result
;
12731 PyObject
*swig_obj
[1] ;
12733 if (!args
) SWIG_fail
;
12734 swig_obj
[0] = args
;
12735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12736 if (!SWIG_IsOK(res1
)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12739 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_From_int(static_cast< int >(result
));
12753 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12754 PyObject
*resultobj
= 0;
12755 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12756 wxLayoutOrientation result
;
12759 PyObject
*swig_obj
[1] ;
12761 if (!args
) SWIG_fail
;
12762 swig_obj
[0] = args
;
12763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12764 if (!SWIG_IsOK(res1
)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12767 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_From_int(static_cast< int >(result
));
12781 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
= 0;
12783 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12784 wxLayoutAlignment arg2
;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 char * kwnames
[] = {
12792 (char *) "self",(char *) "alignment", NULL
12795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12797 if (!SWIG_IsOK(res1
)) {
12798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12800 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12802 if (!SWIG_IsOK(ecode2
)) {
12803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12805 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 (arg1
)->SetAlignment(arg2
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_Py_Void();
12819 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
= 0;
12821 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 char * kwnames
[] = {
12829 (char *) "self",(char *) "size", NULL
12832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12834 if (!SWIG_IsOK(res1
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12837 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_Py_Void();
12855 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
= 0;
12857 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12858 wxLayoutOrientation arg2
;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 char * kwnames
[] = {
12866 (char *) "self",(char *) "orientation", NULL
12869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12874 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12876 if (!SWIG_IsOK(ecode2
)) {
12877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12879 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 (arg1
)->SetOrientation(arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= SWIG_Py_Void();
12893 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12896 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12897 return SWIG_Py_Void();
12900 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12901 return SWIG_Python_InitShadowInstance(args
);
12904 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 PyObject
*resultobj
= 0;
12906 wxLayoutAlgorithm
*result
= 0 ;
12908 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12922 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12923 PyObject
*resultobj
= 0;
12924 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12927 PyObject
*swig_obj
[1] ;
12929 if (!args
) SWIG_fail
;
12930 swig_obj
[0] = args
;
12931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12935 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_Py_Void();
12950 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
= 0;
12952 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12953 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12954 wxRect
*arg3
= (wxRect
*) NULL
;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 PyObject
* obj2
= 0 ;
12965 char * kwnames
[] = {
12966 (char *) "self",(char *) "frame",(char *) "rect", NULL
12969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12971 if (!SWIG_IsOK(res1
)) {
12972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12974 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12976 if (!SWIG_IsOK(res2
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12979 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12981 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12982 if (!SWIG_IsOK(res3
)) {
12983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12985 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13002 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
= 0;
13004 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13005 wxFrame
*arg2
= (wxFrame
*) 0 ;
13006 wxWindow
*arg3
= (wxWindow
*) NULL
;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 PyObject
* obj2
= 0 ;
13017 char * kwnames
[] = {
13018 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13023 if (!SWIG_IsOK(res1
)) {
13024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13026 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13028 if (!SWIG_IsOK(res2
)) {
13029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13031 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13033 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13034 if (!SWIG_IsOK(res3
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13037 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13054 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= 0;
13056 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13057 wxWindow
*arg2
= (wxWindow
*) 0 ;
13058 wxWindow
*arg3
= (wxWindow
*) NULL
;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 PyObject
* obj2
= 0 ;
13069 char * kwnames
[] = {
13070 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13078 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13080 if (!SWIG_IsOK(res2
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13083 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13085 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13086 if (!SWIG_IsOK(res3
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13089 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13106 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13109 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13110 return SWIG_Py_Void();
13113 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13114 return SWIG_Python_InitShadowInstance(args
);
13117 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= 0;
13119 wxWindow
*arg1
= (wxWindow
*) 0 ;
13120 int arg2
= (int) wxBORDER_NONE
;
13121 wxPopupWindow
*result
= 0 ;
13126 PyObject
* obj0
= 0 ;
13127 PyObject
* obj1
= 0 ;
13128 char * kwnames
[] = {
13129 (char *) "parent",(char *) "flags", NULL
13132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13134 if (!SWIG_IsOK(res1
)) {
13135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13140 if (!SWIG_IsOK(ecode2
)) {
13141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13143 arg2
= static_cast< int >(val2
);
13146 if (!wxPyCheckForApp()) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13159 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13160 PyObject
*resultobj
= 0;
13161 wxPopupWindow
*result
= 0 ;
13163 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13165 if (!wxPyCheckForApp()) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxPopupWindow
*)new wxPopupWindow();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13178 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
= 0;
13180 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13181 wxWindow
*arg2
= (wxWindow
*) 0 ;
13182 int arg3
= (int) wxBORDER_NONE
;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char * kwnames
[] = {
13194 (char *) "self",(char *) "parent",(char *) "flags", NULL
13197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13202 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13204 if (!SWIG_IsOK(res2
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13210 if (!SWIG_IsOK(ecode3
)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13213 arg3
= static_cast< int >(val3
);
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13230 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13232 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13233 wxPoint
*arg2
= 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 char * kwnames
[] = {
13243 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13248 if (!SWIG_IsOK(res1
)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13251 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13258 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= SWIG_Py_Void();
13273 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13276 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13277 return SWIG_Py_Void();
13280 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13281 return SWIG_Python_InitShadowInstance(args
);
13284 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
= 0;
13286 wxWindow
*arg1
= (wxWindow
*) 0 ;
13287 int arg2
= (int) wxBORDER_NONE
;
13288 wxPyPopupTransientWindow
*result
= 0 ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char * kwnames
[] = {
13296 (char *) "parent",(char *) "style", NULL
13299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13301 if (!SWIG_IsOK(res1
)) {
13302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13304 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13307 if (!SWIG_IsOK(ecode2
)) {
13308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13310 arg2
= static_cast< int >(val2
);
13313 if (!wxPyCheckForApp()) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13326 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13327 PyObject
*resultobj
= 0;
13328 wxPyPopupTransientWindow
*result
= 0 ;
13330 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13332 if (!wxPyCheckForApp()) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13345 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
= 0;
13347 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13348 PyObject
*arg2
= (PyObject
*) 0 ;
13349 PyObject
*arg3
= (PyObject
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 PyObject
* obj2
= 0 ;
13355 char * kwnames
[] = {
13356 (char *) "self",(char *) "self",(char *) "_class", NULL
13359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13361 if (!SWIG_IsOK(res1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13364 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_Py_Void();
13380 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
= 0;
13382 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13383 wxWindow
*arg2
= (wxWindow
*) NULL
;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char * kwnames
[] = {
13391 (char *) "self",(char *) "focus", NULL
13394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13399 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13402 if (!SWIG_IsOK(res2
)) {
13403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 (arg1
)->Popup(arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_Py_Void();
13420 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13421 PyObject
*resultobj
= 0;
13422 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13425 PyObject
*swig_obj
[1] ;
13427 if (!args
) SWIG_fail
;
13428 swig_obj
[0] = args
;
13429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13430 if (!SWIG_IsOK(res1
)) {
13431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13433 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_Py_Void();
13447 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13450 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13451 return SWIG_Py_Void();
13454 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 return SWIG_Python_InitShadowInstance(args
);
13458 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
= 0;
13460 wxWindow
*arg1
= (wxWindow
*) 0 ;
13461 wxString
*arg2
= 0 ;
13462 int arg3
= (int) 100 ;
13463 wxRect
*arg4
= (wxRect
*) NULL
;
13464 wxTipWindow
*result
= 0 ;
13467 bool temp2
= false ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 PyObject
* obj2
= 0 ;
13475 PyObject
* obj3
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13487 arg2
= wxString_in_helper(obj1
);
13488 if (arg2
== NULL
) SWIG_fail
;
13492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13493 if (!SWIG_IsOK(ecode3
)) {
13494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13496 arg3
= static_cast< int >(val3
);
13499 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13500 if (!SWIG_IsOK(res4
)) {
13501 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13503 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13506 if (!wxPyCheckForApp()) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13527 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= 0;
13529 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char * kwnames
[] = {
13537 (char *) "self",(char *) "rectBound", NULL
13540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13545 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13548 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_Py_Void();
13563 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13564 PyObject
*resultobj
= 0;
13565 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13568 PyObject
*swig_obj
[1] ;
13570 if (!args
) SWIG_fail
;
13571 swig_obj
[0] = args
;
13572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13573 if (!SWIG_IsOK(res1
)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13576 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_Py_Void();
13590 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13594 return SWIG_Py_Void();
13597 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13598 return SWIG_Python_InitShadowInstance(args
);
13601 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
= 0;
13603 wxWindow
*arg1
= (wxWindow
*) 0 ;
13604 int arg2
= (int) wxID_ANY
;
13605 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13606 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13607 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13608 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13609 long arg5
= (long) 0 ;
13610 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13611 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13612 wxPyVScrolledWindow
*result
= 0 ;
13621 bool temp6
= false ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 PyObject
* obj2
= 0 ;
13625 PyObject
* obj3
= 0 ;
13626 PyObject
* obj4
= 0 ;
13627 PyObject
* obj5
= 0 ;
13628 char * kwnames
[] = {
13629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13634 if (!SWIG_IsOK(res1
)) {
13635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13640 if (!SWIG_IsOK(ecode2
)) {
13641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13643 arg2
= static_cast< int >(val2
);
13648 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13654 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13658 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13659 if (!SWIG_IsOK(ecode5
)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13662 arg5
= static_cast< long >(val5
);
13666 arg6
= wxString_in_helper(obj5
);
13667 if (arg6
== NULL
) SWIG_fail
;
13672 if (!wxPyCheckForApp()) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13693 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13694 PyObject
*resultobj
= 0;
13695 wxPyVScrolledWindow
*result
= 0 ;
13697 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13699 if (!wxPyCheckForApp()) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13712 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= 0;
13714 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13715 PyObject
*arg2
= (PyObject
*) 0 ;
13716 PyObject
*arg3
= (PyObject
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 PyObject
* obj2
= 0 ;
13722 char * kwnames
[] = {
13723 (char *) "self",(char *) "self",(char *) "_class", NULL
13726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13728 if (!SWIG_IsOK(res1
)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= SWIG_Py_Void();
13747 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
= 0;
13749 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13750 wxWindow
*arg2
= (wxWindow
*) 0 ;
13751 int arg3
= (int) wxID_ANY
;
13752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13756 long arg6
= (long) 0 ;
13757 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13770 bool temp7
= false ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 PyObject
* obj2
= 0 ;
13774 PyObject
* obj3
= 0 ;
13775 PyObject
* obj4
= 0 ;
13776 PyObject
* obj5
= 0 ;
13777 PyObject
* obj6
= 0 ;
13778 char * kwnames
[] = {
13779 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13784 if (!SWIG_IsOK(res1
)) {
13785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13787 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13789 if (!SWIG_IsOK(res2
)) {
13790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13792 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13795 if (!SWIG_IsOK(ecode3
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13798 arg3
= static_cast< int >(val3
);
13803 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13809 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13813 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13814 if (!SWIG_IsOK(ecode6
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13817 arg6
= static_cast< long >(val6
);
13821 arg7
= wxString_in_helper(obj6
);
13822 if (arg7
== NULL
) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13849 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
= 0;
13851 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 char * kwnames
[] = {
13860 (char *) "self",(char *) "count", NULL
13863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13865 if (!SWIG_IsOK(res1
)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13868 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13869 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13870 if (!SWIG_IsOK(ecode2
)) {
13871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13873 arg2
= static_cast< size_t >(val2
);
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 (arg1
)->SetLineCount(arg2
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_Py_Void();
13887 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13889 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 PyObject
* obj1
= 0 ;
13898 char * kwnames
[] = {
13899 (char *) "self",(char *) "line", NULL
13902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13904 if (!SWIG_IsOK(res1
)) {
13905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13907 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13908 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13909 if (!SWIG_IsOK(ecode2
)) {
13910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13912 arg2
= static_cast< size_t >(val2
);
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13928 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
= 0;
13930 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "self",(char *) "line", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13947 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13948 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13949 if (!SWIG_IsOK(ecode2
)) {
13950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13952 arg2
= static_cast< size_t >(val2
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 (arg1
)->RefreshLine(arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_Py_Void();
13966 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= 0;
13968 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 PyObject
* obj2
= 0 ;
13980 char * kwnames
[] = {
13981 (char *) "self",(char *) "from",(char *) "to", NULL
13984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13986 if (!SWIG_IsOK(res1
)) {
13987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13989 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13990 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13991 if (!SWIG_IsOK(ecode2
)) {
13992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13994 arg2
= static_cast< size_t >(val2
);
13995 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13996 if (!SWIG_IsOK(ecode3
)) {
13997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13999 arg3
= static_cast< size_t >(val3
);
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->RefreshLines(arg2
,arg3
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_Py_Void();
14013 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
= 0;
14015 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 PyObject
* obj2
= 0 ;
14028 char * kwnames
[] = {
14029 (char *) "self",(char *) "x",(char *) "y", NULL
14032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14034 if (!SWIG_IsOK(res1
)) {
14035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14037 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14039 if (!SWIG_IsOK(ecode2
)) {
14040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14042 arg2
= static_cast< int >(val2
);
14043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14044 if (!SWIG_IsOK(ecode3
)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14047 arg3
= static_cast< int >(val3
);
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_From_int(static_cast< int >(result
));
14061 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
= 0;
14063 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14064 wxPoint
*arg2
= 0 ;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char * kwnames
[] = {
14072 (char *) "self",(char *) "pt", NULL
14075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14077 if (!SWIG_IsOK(res1
)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14080 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_From_int(static_cast< int >(result
));
14098 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14099 PyObject
*resultobj
= 0;
14100 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14103 PyObject
*swig_obj
[1] ;
14105 if (!args
) SWIG_fail
;
14106 swig_obj
[0] = args
;
14107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14108 if (!SWIG_IsOK(res1
)) {
14109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14111 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 (arg1
)->RefreshAll();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_Py_Void();
14125 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14126 PyObject
*resultobj
= 0;
14127 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14131 PyObject
*swig_obj
[1] ;
14133 if (!args
) SWIG_fail
;
14134 swig_obj
[0] = args
;
14135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14136 if (!SWIG_IsOK(res1
)) {
14137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14139 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14153 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14154 PyObject
*resultobj
= 0;
14155 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14159 PyObject
*swig_obj
[1] ;
14161 if (!args
) SWIG_fail
;
14162 swig_obj
[0] = args
;
14163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14164 if (!SWIG_IsOK(res1
)) {
14165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14167 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14181 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14182 PyObject
*resultobj
= 0;
14183 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14187 PyObject
*swig_obj
[1] ;
14189 if (!args
) SWIG_fail
;
14190 swig_obj
[0] = args
;
14191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14192 if (!SWIG_IsOK(res1
)) {
14193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14195 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14209 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
= 0;
14211 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 char * kwnames
[] = {
14221 (char *) "self",(char *) "line", NULL
14224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14229 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14230 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14231 if (!SWIG_IsOK(ecode2
)) {
14232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14234 arg2
= static_cast< size_t >(val2
);
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14250 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14264 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14278 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 PyObject
*resultobj
= 0;
14280 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14284 PyObject
*swig_obj
[1] ;
14286 if (!args
) SWIG_fail
;
14287 swig_obj
[0] = args
;
14288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14289 if (!SWIG_IsOK(res1
)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14292 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14306 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
= 0;
14308 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14310 bool arg3
= (bool) false ;
14318 PyObject
* obj0
= 0 ;
14319 PyObject
* obj1
= 0 ;
14320 PyObject
* obj2
= 0 ;
14321 char * kwnames
[] = {
14322 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14327 if (!SWIG_IsOK(res1
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14330 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14331 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14332 if (!SWIG_IsOK(ecode2
)) {
14333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14335 arg2
= static_cast< size_t >(val2
);
14337 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14338 if (!SWIG_IsOK(ecode3
)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14341 arg3
= static_cast< bool >(val3
);
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14356 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14358 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 PyObject
* obj2
= 0 ;
14371 char * kwnames
[] = {
14372 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14377 if (!SWIG_IsOK(res1
)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14380 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14381 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14382 if (!SWIG_IsOK(ecode2
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14385 arg2
= static_cast< size_t >(val2
);
14386 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14387 if (!SWIG_IsOK(ecode3
)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14390 arg3
= static_cast< size_t >(val3
);
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_From_int(static_cast< int >(result
));
14404 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14407 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14408 return SWIG_Py_Void();
14411 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14412 return SWIG_Python_InitShadowInstance(args
);
14415 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14416 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14421 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14422 PyObject
*pyobj
= 0;
14426 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14428 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14435 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
= 0;
14437 wxWindow
*arg1
= (wxWindow
*) 0 ;
14438 int arg2
= (int) wxID_ANY
;
14439 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14440 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14441 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14442 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14443 long arg5
= (long) 0 ;
14444 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14445 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14446 wxPyVListBox
*result
= 0 ;
14455 bool temp6
= false ;
14456 PyObject
* obj0
= 0 ;
14457 PyObject
* obj1
= 0 ;
14458 PyObject
* obj2
= 0 ;
14459 PyObject
* obj3
= 0 ;
14460 PyObject
* obj4
= 0 ;
14461 PyObject
* obj5
= 0 ;
14462 char * kwnames
[] = {
14463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14468 if (!SWIG_IsOK(res1
)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14474 if (!SWIG_IsOK(ecode2
)) {
14475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14477 arg2
= static_cast< int >(val2
);
14482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14488 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14492 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14493 if (!SWIG_IsOK(ecode5
)) {
14494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14496 arg5
= static_cast< long >(val5
);
14500 arg6
= wxString_in_helper(obj5
);
14501 if (arg6
== NULL
) SWIG_fail
;
14506 if (!wxPyCheckForApp()) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14527 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14528 PyObject
*resultobj
= 0;
14529 wxPyVListBox
*result
= 0 ;
14531 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14533 if (!wxPyCheckForApp()) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (wxPyVListBox
*)new wxPyVListBox();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14546 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
= 0;
14548 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14549 PyObject
*arg2
= (PyObject
*) 0 ;
14550 PyObject
*arg3
= (PyObject
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 PyObject
* obj2
= 0 ;
14556 char * kwnames
[] = {
14557 (char *) "self",(char *) "self",(char *) "_class", NULL
14560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14562 if (!SWIG_IsOK(res1
)) {
14563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14565 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_Py_Void();
14581 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
= 0;
14583 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14584 wxWindow
*arg2
= (wxWindow
*) 0 ;
14585 int arg3
= (int) wxID_ANY
;
14586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14590 long arg6
= (long) 0 ;
14591 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14592 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14604 bool temp7
= false ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 PyObject
* obj2
= 0 ;
14608 PyObject
* obj3
= 0 ;
14609 PyObject
* obj4
= 0 ;
14610 PyObject
* obj5
= 0 ;
14611 PyObject
* obj6
= 0 ;
14612 char * kwnames
[] = {
14613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14621 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14623 if (!SWIG_IsOK(res2
)) {
14624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14629 if (!SWIG_IsOK(ecode3
)) {
14630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14632 arg3
= static_cast< int >(val3
);
14637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14647 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14648 if (!SWIG_IsOK(ecode6
)) {
14649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14651 arg6
= static_cast< long >(val6
);
14655 arg7
= wxString_in_helper(obj6
);
14656 if (arg7
== NULL
) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14683 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14684 PyObject
*resultobj
= 0;
14685 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14689 PyObject
*swig_obj
[1] ;
14691 if (!args
) SWIG_fail
;
14692 swig_obj
[0] = args
;
14693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14697 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14711 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14712 PyObject
*resultobj
= 0;
14713 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14717 PyObject
*swig_obj
[1] ;
14719 if (!args
) SWIG_fail
;
14720 swig_obj
[0] = args
;
14721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14722 if (!SWIG_IsOK(res1
)) {
14723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14725 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14741 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14742 PyObject
*resultobj
= 0;
14743 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14747 PyObject
*swig_obj
[1] ;
14749 if (!args
) SWIG_fail
;
14750 swig_obj
[0] = args
;
14751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14755 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_From_int(static_cast< int >(result
));
14769 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
= 0;
14771 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char * kwnames
[] = {
14781 (char *) "self",(char *) "item", NULL
14784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14786 if (!SWIG_IsOK(res1
)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14789 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14790 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14791 if (!SWIG_IsOK(ecode2
)) {
14792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14794 arg2
= static_cast< size_t >(val2
);
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14810 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
= 0;
14812 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 char * kwnames
[] = {
14822 (char *) "self",(char *) "item", NULL
14825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14830 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14831 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14832 if (!SWIG_IsOK(ecode2
)) {
14833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14835 arg2
= static_cast< size_t >(val2
);
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14851 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14852 PyObject
*resultobj
= 0;
14853 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14857 PyObject
*swig_obj
[1] ;
14859 if (!args
) SWIG_fail
;
14860 swig_obj
[0] = args
;
14861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14862 if (!SWIG_IsOK(res1
)) {
14863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14865 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14869 wxPyEndAllowThreads(__tstate
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14879 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14880 PyObject
*resultobj
= 0;
14881 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14882 PyObject
*result
= 0 ;
14885 PyObject
*swig_obj
[1] ;
14887 if (!args
) SWIG_fail
;
14888 swig_obj
[0] = args
;
14889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14890 if (!SWIG_IsOK(res1
)) {
14891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14893 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= result
;
14907 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14910 unsigned long arg2
;
14911 PyObject
*result
= 0 ;
14914 unsigned long val2
;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char * kwnames
[] = {
14919 (char *) "self",(char *) "cookie", NULL
14922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14927 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14928 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14929 if (!SWIG_IsOK(ecode2
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14932 arg2
= static_cast< unsigned long >(val2
);
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= result
;
14946 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14947 PyObject
*resultobj
= 0;
14948 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14952 PyObject
*swig_obj
[1] ;
14954 if (!args
) SWIG_fail
;
14955 swig_obj
[0] = args
;
14956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14957 if (!SWIG_IsOK(res1
)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14960 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14974 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 PyObject
*resultobj
= 0;
14976 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14977 wxColour
*result
= 0 ;
14980 PyObject
*swig_obj
[1] ;
14982 if (!args
) SWIG_fail
;
14983 swig_obj
[0] = args
;
14984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14988 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14993 result
= (wxColour
*) &_result_ref
;
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15005 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char * kwnames
[] = {
15016 (char *) "self",(char *) "count", NULL
15019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15024 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15025 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15026 if (!SWIG_IsOK(ecode2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15029 arg2
= static_cast< size_t >(val2
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->SetItemCount(arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_Py_Void();
15043 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15044 PyObject
*resultobj
= 0;
15045 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15048 PyObject
*swig_obj
[1] ;
15050 if (!args
) SWIG_fail
;
15051 swig_obj
[0] = args
;
15052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15056 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_Py_Void();
15070 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
= 0;
15072 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char * kwnames
[] = {
15081 (char *) "self",(char *) "selection", NULL
15084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15089 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15091 if (!SWIG_IsOK(ecode2
)) {
15092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15094 arg2
= static_cast< int >(val2
);
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->SetSelection(arg2
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_Py_Void();
15108 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
= 0;
15110 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15112 bool arg3
= (bool) true ;
15120 PyObject
* obj0
= 0 ;
15121 PyObject
* obj1
= 0 ;
15122 PyObject
* obj2
= 0 ;
15123 char * kwnames
[] = {
15124 (char *) "self",(char *) "item",(char *) "select", NULL
15127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15129 if (!SWIG_IsOK(res1
)) {
15130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15132 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15133 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15134 if (!SWIG_IsOK(ecode2
)) {
15135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15137 arg2
= static_cast< size_t >(val2
);
15139 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15140 if (!SWIG_IsOK(ecode3
)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15143 arg3
= static_cast< bool >(val3
);
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15160 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
= 0;
15162 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 PyObject
* obj2
= 0 ;
15175 char * kwnames
[] = {
15176 (char *) "self",(char *) "from",(char *) "to", NULL
15179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15181 if (!SWIG_IsOK(res1
)) {
15182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15184 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15185 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15186 if (!SWIG_IsOK(ecode2
)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15189 arg2
= static_cast< size_t >(val2
);
15190 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15191 if (!SWIG_IsOK(ecode3
)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15194 arg3
= static_cast< size_t >(val3
);
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15210 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
= 0;
15212 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 char * kwnames
[] = {
15221 (char *) "self",(char *) "item", NULL
15224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15229 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15230 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15231 if (!SWIG_IsOK(ecode2
)) {
15232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15234 arg2
= static_cast< size_t >(val2
);
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 (arg1
)->Toggle(arg2
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_Py_Void();
15248 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15249 PyObject
*resultobj
= 0;
15250 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15254 PyObject
*swig_obj
[1] ;
15256 if (!args
) SWIG_fail
;
15257 swig_obj
[0] = args
;
15258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15262 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (bool)(arg1
)->SelectAll();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15278 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15279 PyObject
*resultobj
= 0;
15280 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15284 PyObject
*swig_obj
[1] ;
15286 if (!args
) SWIG_fail
;
15287 swig_obj
[0] = args
;
15288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15289 if (!SWIG_IsOK(res1
)) {
15290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15292 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)(arg1
)->DeselectAll();
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15308 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
= 0;
15310 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15311 wxPoint
*arg2
= 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 char * kwnames
[] = {
15318 (char *) "self",(char *) "pt", NULL
15321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15326 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_Py_Void();
15344 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
= 0;
15346 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 PyObject
* obj2
= 0 ;
15358 char * kwnames
[] = {
15359 (char *) "self",(char *) "x",(char *) "y", NULL
15362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15364 if (!SWIG_IsOK(res1
)) {
15365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15367 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15369 if (!SWIG_IsOK(ecode2
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15372 arg2
= static_cast< int >(val2
);
15373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15374 if (!SWIG_IsOK(ecode3
)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15377 arg3
= static_cast< int >(val3
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetMargins(arg2
,arg3
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_Py_Void();
15391 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= 0;
15393 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15394 wxColour
*arg2
= 0 ;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "col", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15409 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15412 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_Py_Void();
15427 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
= 0;
15429 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 PyObject
* obj2
= 0 ;
15443 PyObject
* obj3
= 0 ;
15444 char * kwnames
[] = {
15445 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15453 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15455 if (!SWIG_IsOK(res2
)) {
15456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15461 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15464 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15466 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15467 if (!SWIG_IsOK(ecode4
)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15470 arg4
= static_cast< size_t >(val4
);
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_Py_Void();
15484 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
= 0;
15486 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 PyObject
* obj2
= 0 ;
15500 PyObject
* obj3
= 0 ;
15501 char * kwnames
[] = {
15502 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15507 if (!SWIG_IsOK(res1
)) {
15508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15510 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15512 if (!SWIG_IsOK(res2
)) {
15513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15518 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15521 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15523 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15524 if (!SWIG_IsOK(ecode4
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15527 arg4
= static_cast< size_t >(val4
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_Py_Void();
15541 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15545 return SWIG_Py_Void();
15548 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15549 return SWIG_Python_InitShadowInstance(args
);
15552 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
= 0;
15554 wxWindow
*arg1
= (wxWindow
*) 0 ;
15555 int arg2
= (int) wxID_ANY
;
15556 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15557 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15558 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15559 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15560 long arg5
= (long) 0 ;
15561 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15562 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15563 wxPyHtmlListBox
*result
= 0 ;
15572 bool temp6
= false ;
15573 PyObject
* obj0
= 0 ;
15574 PyObject
* obj1
= 0 ;
15575 PyObject
* obj2
= 0 ;
15576 PyObject
* obj3
= 0 ;
15577 PyObject
* obj4
= 0 ;
15578 PyObject
* obj5
= 0 ;
15579 char * kwnames
[] = {
15580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15585 if (!SWIG_IsOK(res1
)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15591 if (!SWIG_IsOK(ecode2
)) {
15592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15594 arg2
= static_cast< int >(val2
);
15599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15609 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15610 if (!SWIG_IsOK(ecode5
)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15613 arg5
= static_cast< long >(val5
);
15617 arg6
= wxString_in_helper(obj5
);
15618 if (arg6
== NULL
) SWIG_fail
;
15623 if (!wxPyCheckForApp()) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15644 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15645 PyObject
*resultobj
= 0;
15646 wxPyHtmlListBox
*result
= 0 ;
15648 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15650 if (!wxPyCheckForApp()) SWIG_fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15663 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
= 0;
15665 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15666 PyObject
*arg2
= (PyObject
*) 0 ;
15667 PyObject
*arg3
= (PyObject
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 PyObject
* obj2
= 0 ;
15673 char * kwnames
[] = {
15674 (char *) "self",(char *) "self",(char *) "_class", NULL
15677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_Py_Void();
15698 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
= 0;
15700 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15701 wxWindow
*arg2
= (wxWindow
*) 0 ;
15702 int arg3
= (int) wxID_ANY
;
15703 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15704 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15705 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15706 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15707 long arg6
= (long) 0 ;
15708 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15721 bool temp7
= false ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 PyObject
* obj2
= 0 ;
15725 PyObject
* obj3
= 0 ;
15726 PyObject
* obj4
= 0 ;
15727 PyObject
* obj5
= 0 ;
15728 PyObject
* obj6
= 0 ;
15729 char * kwnames
[] = {
15730 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15735 if (!SWIG_IsOK(res1
)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15738 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15740 if (!SWIG_IsOK(res2
)) {
15741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15746 if (!SWIG_IsOK(ecode3
)) {
15747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15749 arg3
= static_cast< int >(val3
);
15754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15764 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15765 if (!SWIG_IsOK(ecode6
)) {
15766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15768 arg6
= static_cast< long >(val6
);
15772 arg7
= wxString_in_helper(obj6
);
15773 if (arg7
== NULL
) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15800 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
= 0;
15802 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char * kwnames
[] = {
15811 (char *) "self",(char *) "count", NULL
15814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15816 if (!SWIG_IsOK(res1
)) {
15817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15819 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15821 if (!SWIG_IsOK(ecode2
)) {
15822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15824 arg2
= static_cast< size_t >(val2
);
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 (arg1
)->SetItemCount(arg2
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= SWIG_Py_Void();
15838 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15839 PyObject
*resultobj
= 0;
15840 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15841 wxFileSystem
*result
= 0 ;
15844 PyObject
*swig_obj
[1] ;
15846 if (!args
) SWIG_fail
;
15847 swig_obj
[0] = args
;
15848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15849 if (!SWIG_IsOK(res1
)) {
15850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15852 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15857 result
= (wxFileSystem
*) &_result_ref
;
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15869 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= 0;
15871 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15873 wxHtmlLinkInfo
*arg3
= 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 PyObject
* obj2
= 0 ;
15883 char * kwnames
[] = {
15884 (char *) "self",(char *) "n",(char *) "link", NULL
15887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15889 if (!SWIG_IsOK(res1
)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15892 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15893 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15894 if (!SWIG_IsOK(ecode2
)) {
15895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15897 arg2
= static_cast< size_t >(val2
);
15898 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15899 if (!SWIG_IsOK(res3
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15905 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_Py_Void();
15919 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15922 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15923 return SWIG_Py_Void();
15926 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15927 return SWIG_Python_InitShadowInstance(args
);
15930 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15931 PyObject
*resultobj
= 0;
15932 wxPyTaskBarIcon
*result
= 0 ;
15934 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15936 if (!wxPyCheckForApp()) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15949 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15950 PyObject
*resultobj
= 0;
15951 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15954 PyObject
*swig_obj
[1] ;
15956 if (!args
) SWIG_fail
;
15957 swig_obj
[0] = args
;
15958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15959 if (!SWIG_IsOK(res1
)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15962 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= SWIG_Py_Void();
15977 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
= 0;
15979 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15980 PyObject
*arg2
= (PyObject
*) 0 ;
15981 PyObject
*arg3
= (PyObject
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 PyObject
* obj2
= 0 ;
15990 PyObject
* obj3
= 0 ;
15991 char * kwnames
[] = {
15992 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15997 if (!SWIG_IsOK(res1
)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16000 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16004 if (!SWIG_IsOK(ecode4
)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16007 arg4
= static_cast< int >(val4
);
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_Py_Void();
16021 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 PyObject
*resultobj
= 0;
16023 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16026 PyObject
*swig_obj
[1] ;
16028 if (!args
) SWIG_fail
;
16029 swig_obj
[0] = args
;
16030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16031 if (!SWIG_IsOK(res1
)) {
16032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16034 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 wxPyTaskBarIcon_Destroy(arg1
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_Py_Void();
16048 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16049 PyObject
*resultobj
= 0;
16050 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16054 PyObject
*swig_obj
[1] ;
16056 if (!args
) SWIG_fail
;
16057 swig_obj
[0] = args
;
16058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16059 if (!SWIG_IsOK(res1
)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16062 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16078 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16079 PyObject
*resultobj
= 0;
16080 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16084 PyObject
*swig_obj
[1] ;
16086 if (!args
) SWIG_fail
;
16087 swig_obj
[0] = args
;
16088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16089 if (!SWIG_IsOK(res1
)) {
16090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16092 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16108 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
= 0;
16110 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16119 bool temp3
= false ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 PyObject
* obj2
= 0 ;
16123 char * kwnames
[] = {
16124 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16129 if (!SWIG_IsOK(res1
)) {
16130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16132 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16134 if (!SWIG_IsOK(res2
)) {
16135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16140 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16143 arg3
= wxString_in_helper(obj2
);
16144 if (arg3
== NULL
) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16172 PyObject
*resultobj
= 0;
16173 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16177 PyObject
*swig_obj
[1] ;
16179 if (!args
) SWIG_fail
;
16180 swig_obj
[0] = args
;
16181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16182 if (!SWIG_IsOK(res1
)) {
16183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16185 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (bool)(arg1
)->RemoveIcon();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16201 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
= 0;
16203 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16204 wxMenu
*arg2
= (wxMenu
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 char * kwnames
[] = {
16213 (char *) "self",(char *) "menu", NULL
16216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16218 if (!SWIG_IsOK(res1
)) {
16219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16221 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16223 if (!SWIG_IsOK(res2
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16226 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (bool)(arg1
)->PopupMenu(arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16242 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16246 return SWIG_Py_Void();
16249 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16250 return SWIG_Python_InitShadowInstance(args
);
16253 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
= 0;
16256 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16257 wxTaskBarIconEvent
*result
= 0 ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 char * kwnames
[] = {
16265 (char *) "evtType",(char *) "tbIcon", NULL
16268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16269 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16270 if (!SWIG_IsOK(ecode1
)) {
16271 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16273 arg1
= static_cast< wxEventType
>(val1
);
16274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16275 if (!SWIG_IsOK(res2
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16278 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16292 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16295 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16296 return SWIG_Py_Void();
16299 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16300 return SWIG_Python_InitShadowInstance(args
);
16303 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16304 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16309 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16310 PyObject
*pyobj
= 0;
16314 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16316 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16323 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16324 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16329 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16330 PyObject
*pyobj
= 0;
16334 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16336 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16343 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16344 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16349 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16350 PyObject
*pyobj
= 0;
16354 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16356 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16363 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16364 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16369 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16370 PyObject
*pyobj
= 0;
16374 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16376 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16383 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16384 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16389 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16390 PyObject
*pyobj
= 0;
16394 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16396 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16403 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16404 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16409 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16410 PyObject
*pyobj
= 0;
16414 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16416 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16423 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16424 PyObject
*resultobj
= 0;
16425 wxColourData
*result
= 0 ;
16427 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (wxColourData
*)new wxColourData();
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16441 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16442 PyObject
*resultobj
= 0;
16443 wxColourData
*arg1
= (wxColourData
*) 0 ;
16446 PyObject
*swig_obj
[1] ;
16448 if (!args
) SWIG_fail
;
16449 swig_obj
[0] = args
;
16450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16451 if (!SWIG_IsOK(res1
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16454 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_Py_Void();
16469 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16470 PyObject
*resultobj
= 0;
16471 wxColourData
*arg1
= (wxColourData
*) 0 ;
16475 PyObject
*swig_obj
[1] ;
16477 if (!args
) SWIG_fail
;
16478 swig_obj
[0] = args
;
16479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16480 if (!SWIG_IsOK(res1
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16483 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)(arg1
)->GetChooseFull();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16499 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16500 PyObject
*resultobj
= 0;
16501 wxColourData
*arg1
= (wxColourData
*) 0 ;
16505 PyObject
*swig_obj
[1] ;
16507 if (!args
) SWIG_fail
;
16508 swig_obj
[0] = args
;
16509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16510 if (!SWIG_IsOK(res1
)) {
16511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16513 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (arg1
)->GetColour();
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16527 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
= 0;
16529 wxColourData
*arg1
= (wxColourData
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 char * kwnames
[] = {
16539 (char *) "self",(char *) "i", NULL
16542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16544 if (!SWIG_IsOK(res1
)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16547 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16549 if (!SWIG_IsOK(ecode2
)) {
16550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16552 arg2
= static_cast< int >(val2
);
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (arg1
)->GetCustomColour(arg2
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16566 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
= 0;
16568 wxColourData
*arg1
= (wxColourData
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char * kwnames
[] = {
16577 (char *) "self",(char *) "flag", NULL
16580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16582 if (!SWIG_IsOK(res1
)) {
16583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16585 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16587 if (!SWIG_IsOK(ecode2
)) {
16588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16590 arg2
= static_cast< int >(val2
);
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 (arg1
)->SetChooseFull(arg2
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 resultobj
= SWIG_Py_Void();
16604 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
= 0;
16606 wxColourData
*arg1
= (wxColourData
*) 0 ;
16607 wxColour
*arg2
= 0 ;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 char * kwnames
[] = {
16614 (char *) "self",(char *) "colour", NULL
16617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16619 if (!SWIG_IsOK(res1
)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16622 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16625 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 (arg1
)->SetColour((wxColour
const &)*arg2
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_Py_Void();
16640 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
= 0;
16642 wxColourData
*arg1
= (wxColourData
*) 0 ;
16644 wxColour
*arg3
= 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 PyObject
* obj2
= 0 ;
16653 char * kwnames
[] = {
16654 (char *) "self",(char *) "i",(char *) "colour", NULL
16657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16659 if (!SWIG_IsOK(res1
)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16662 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16664 if (!SWIG_IsOK(ecode2
)) {
16665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16667 arg2
= static_cast< int >(val2
);
16670 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_Py_Void();
16685 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16688 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16689 return SWIG_Py_Void();
16692 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16693 return SWIG_Python_InitShadowInstance(args
);
16696 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
= 0;
16698 wxWindow
*arg1
= (wxWindow
*) 0 ;
16699 wxColourData
*arg2
= (wxColourData
*) NULL
;
16700 wxColourDialog
*result
= 0 ;
16705 PyObject
* obj0
= 0 ;
16706 PyObject
* obj1
= 0 ;
16707 char * kwnames
[] = {
16708 (char *) "parent",(char *) "data", NULL
16711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16713 if (!SWIG_IsOK(res1
)) {
16714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16719 if (!SWIG_IsOK(res2
)) {
16720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16722 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16725 if (!wxPyCheckForApp()) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16738 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16739 PyObject
*resultobj
= 0;
16740 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16741 wxColourData
*result
= 0 ;
16744 PyObject
*swig_obj
[1] ;
16746 if (!args
) SWIG_fail
;
16747 swig_obj
[0] = args
;
16748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16749 if (!SWIG_IsOK(res1
)) {
16750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16752 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16757 result
= (wxColourData
*) &_result_ref
;
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16769 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16772 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16773 return SWIG_Py_Void();
16776 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16777 return SWIG_Python_InitShadowInstance(args
);
16780 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
= 0;
16782 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16783 wxColour
const &arg2_defvalue
= wxNullColour
;
16784 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16791 bool temp3
= false ;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 PyObject
* obj2
= 0 ;
16795 char * kwnames
[] = {
16796 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16802 if (!SWIG_IsOK(res1
)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16815 arg3
= wxString_in_helper(obj2
);
16816 if (arg3
== NULL
) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16841 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxWindow
*arg1
= (wxWindow
*) 0 ;
16844 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16845 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16848 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16849 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16850 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16851 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16852 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16853 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16854 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16855 wxDirDialog
*result
= 0 ;
16858 bool temp2
= false ;
16859 bool temp3
= false ;
16864 bool temp7
= false ;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 PyObject
* obj2
= 0 ;
16868 PyObject
* obj3
= 0 ;
16869 PyObject
* obj4
= 0 ;
16870 PyObject
* obj5
= 0 ;
16871 PyObject
* obj6
= 0 ;
16872 char * kwnames
[] = {
16873 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16881 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16884 arg2
= wxString_in_helper(obj1
);
16885 if (arg2
== NULL
) SWIG_fail
;
16891 arg3
= wxString_in_helper(obj2
);
16892 if (arg3
== NULL
) SWIG_fail
;
16897 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16898 if (!SWIG_IsOK(ecode4
)) {
16899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16901 arg4
= static_cast< long >(val4
);
16906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16912 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16917 arg7
= wxString_in_helper(obj6
);
16918 if (arg7
== NULL
) SWIG_fail
;
16923 if (!wxPyCheckForApp()) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16960 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16961 PyObject
*resultobj
= 0;
16962 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16966 PyObject
*swig_obj
[1] ;
16968 if (!args
) SWIG_fail
;
16969 swig_obj
[0] = args
;
16970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16971 if (!SWIG_IsOK(res1
)) {
16972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16974 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (arg1
)->GetPath();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16994 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16995 PyObject
*resultobj
= 0;
16996 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17000 PyObject
*swig_obj
[1] ;
17002 if (!args
) SWIG_fail
;
17003 swig_obj
[0] = args
;
17004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17005 if (!SWIG_IsOK(res1
)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17008 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (arg1
)->GetMessage();
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17028 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17031 wxString
*arg2
= 0 ;
17034 bool temp2
= false ;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 char * kwnames
[] = {
17038 (char *) "self",(char *) "message", NULL
17041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17043 if (!SWIG_IsOK(res1
)) {
17044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17046 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17048 arg2
= wxString_in_helper(obj1
);
17049 if (arg2
== NULL
) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 (arg1
)->SetMessage((wxString
const &)*arg2
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_Py_Void();
17073 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
= 0;
17075 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17076 wxString
*arg2
= 0 ;
17079 bool temp2
= false ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char * kwnames
[] = {
17083 (char *) "self",(char *) "path", NULL
17086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17088 if (!SWIG_IsOK(res1
)) {
17089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17091 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17093 arg2
= wxString_in_helper(obj1
);
17094 if (arg2
== NULL
) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 (arg1
)->SetPath((wxString
const &)*arg2
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= SWIG_Py_Void();
17118 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17121 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17122 return SWIG_Py_Void();
17125 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17126 return SWIG_Python_InitShadowInstance(args
);
17129 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
= 0;
17131 wxWindow
*arg1
= (wxWindow
*) 0 ;
17132 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17133 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17134 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17136 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17137 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17138 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17139 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17140 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17141 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17142 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17143 wxFileDialog
*result
= 0 ;
17146 bool temp2
= false ;
17147 bool temp3
= false ;
17148 bool temp4
= false ;
17149 bool temp5
= false ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 PyObject
* obj2
= 0 ;
17156 PyObject
* obj3
= 0 ;
17157 PyObject
* obj4
= 0 ;
17158 PyObject
* obj5
= 0 ;
17159 PyObject
* obj6
= 0 ;
17160 char * kwnames
[] = {
17161 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17166 if (!SWIG_IsOK(res1
)) {
17167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17169 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17172 arg2
= wxString_in_helper(obj1
);
17173 if (arg2
== NULL
) SWIG_fail
;
17179 arg3
= wxString_in_helper(obj2
);
17180 if (arg3
== NULL
) SWIG_fail
;
17186 arg4
= wxString_in_helper(obj3
);
17187 if (arg4
== NULL
) SWIG_fail
;
17193 arg5
= wxString_in_helper(obj4
);
17194 if (arg5
== NULL
) SWIG_fail
;
17199 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17200 if (!SWIG_IsOK(ecode6
)) {
17201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17203 arg6
= static_cast< long >(val6
);
17208 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17212 if (!wxPyCheckForApp()) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17257 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17260 wxString
*arg2
= 0 ;
17263 bool temp2
= false ;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 char * kwnames
[] = {
17267 (char *) "self",(char *) "message", NULL
17270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17272 if (!SWIG_IsOK(res1
)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17275 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17277 arg2
= wxString_in_helper(obj1
);
17278 if (arg2
== NULL
) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 (arg1
)->SetMessage((wxString
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= SWIG_Py_Void();
17302 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17305 wxString
*arg2
= 0 ;
17308 bool temp2
= false ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 char * kwnames
[] = {
17312 (char *) "self",(char *) "path", NULL
17315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17317 if (!SWIG_IsOK(res1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17320 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17322 arg2
= wxString_in_helper(obj1
);
17323 if (arg2
== NULL
) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 (arg1
)->SetPath((wxString
const &)*arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= SWIG_Py_Void();
17347 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
= 0;
17349 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17350 wxString
*arg2
= 0 ;
17353 bool temp2
= false ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 char * kwnames
[] = {
17357 (char *) "self",(char *) "dir", NULL
17360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17362 if (!SWIG_IsOK(res1
)) {
17363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17365 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17367 arg2
= wxString_in_helper(obj1
);
17368 if (arg2
== NULL
) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= SWIG_Py_Void();
17392 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
= 0;
17394 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17395 wxString
*arg2
= 0 ;
17398 bool temp2
= false ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char * kwnames
[] = {
17402 (char *) "self",(char *) "name", NULL
17405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17407 if (!SWIG_IsOK(res1
)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17410 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17412 arg2
= wxString_in_helper(obj1
);
17413 if (arg2
== NULL
) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 (arg1
)->SetFilename((wxString
const &)*arg2
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= SWIG_Py_Void();
17437 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= 0;
17439 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17440 wxString
*arg2
= 0 ;
17443 bool temp2
= false ;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char * kwnames
[] = {
17447 (char *) "self",(char *) "wildCard", NULL
17450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17452 if (!SWIG_IsOK(res1
)) {
17453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17455 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17457 arg2
= wxString_in_helper(obj1
);
17458 if (arg2
== NULL
) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_Py_Void();
17482 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
= 0;
17484 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 PyObject
* obj1
= 0 ;
17492 char * kwnames
[] = {
17493 (char *) "self",(char *) "filterIndex", NULL
17496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17498 if (!SWIG_IsOK(res1
)) {
17499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17501 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17503 if (!SWIG_IsOK(ecode2
)) {
17504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17506 arg2
= static_cast< int >(val2
);
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 (arg1
)->SetFilterIndex(arg2
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_Py_Void();
17520 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17521 PyObject
*resultobj
= 0;
17522 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17526 PyObject
*swig_obj
[1] ;
17528 if (!args
) SWIG_fail
;
17529 swig_obj
[0] = args
;
17530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17531 if (!SWIG_IsOK(res1
)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17534 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17554 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17555 PyObject
*resultobj
= 0;
17556 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17560 PyObject
*swig_obj
[1] ;
17562 if (!args
) SWIG_fail
;
17563 swig_obj
[0] = args
;
17564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17565 if (!SWIG_IsOK(res1
)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17568 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17588 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17589 PyObject
*resultobj
= 0;
17590 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17594 PyObject
*swig_obj
[1] ;
17596 if (!args
) SWIG_fail
;
17597 swig_obj
[0] = args
;
17598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17599 if (!SWIG_IsOK(res1
)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17602 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17622 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17623 PyObject
*resultobj
= 0;
17624 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17628 PyObject
*swig_obj
[1] ;
17630 if (!args
) SWIG_fail
;
17631 swig_obj
[0] = args
;
17632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17633 if (!SWIG_IsOK(res1
)) {
17634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17636 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17656 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17657 PyObject
*resultobj
= 0;
17658 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17662 PyObject
*swig_obj
[1] ;
17664 if (!args
) SWIG_fail
;
17665 swig_obj
[0] = args
;
17666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17667 if (!SWIG_IsOK(res1
)) {
17668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17670 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17690 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17691 PyObject
*resultobj
= 0;
17692 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17696 PyObject
*swig_obj
[1] ;
17698 if (!args
) SWIG_fail
;
17699 swig_obj
[0] = args
;
17700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17701 if (!SWIG_IsOK(res1
)) {
17702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17704 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_From_int(static_cast< int >(result
));
17718 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17719 PyObject
*resultobj
= 0;
17720 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17721 PyObject
*result
= 0 ;
17724 PyObject
*swig_obj
[1] ;
17726 if (!args
) SWIG_fail
;
17727 swig_obj
[0] = args
;
17728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17732 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= result
;
17746 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17747 PyObject
*resultobj
= 0;
17748 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17749 PyObject
*result
= 0 ;
17752 PyObject
*swig_obj
[1] ;
17754 if (!args
) SWIG_fail
;
17755 swig_obj
[0] = args
;
17756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17757 if (!SWIG_IsOK(res1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17760 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= result
;
17774 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17777 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17778 return SWIG_Py_Void();
17781 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17782 return SWIG_Python_InitShadowInstance(args
);
17785 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
= 0;
17787 wxWindow
*arg1
= (wxWindow
*) 0 ;
17788 wxString
*arg2
= 0 ;
17789 wxString
*arg3
= 0 ;
17790 int arg4
= (int) 0 ;
17791 wxString
*arg5
= (wxString
*) NULL
;
17792 long arg6
= (long) wxCHOICEDLG_STYLE
;
17793 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17794 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17795 wxMultiChoiceDialog
*result
= 0 ;
17798 bool temp2
= false ;
17799 bool temp3
= false ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 PyObject
* obj2
= 0 ;
17806 PyObject
* obj3
= 0 ;
17807 PyObject
* obj4
= 0 ;
17808 PyObject
* obj5
= 0 ;
17809 char * kwnames
[] = {
17810 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17815 if (!SWIG_IsOK(res1
)) {
17816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17818 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17820 arg2
= wxString_in_helper(obj1
);
17821 if (arg2
== NULL
) SWIG_fail
;
17825 arg3
= wxString_in_helper(obj2
);
17826 if (arg3
== NULL
) SWIG_fail
;
17831 arg4
= PyList_Size(obj3
);
17832 arg5
= wxString_LIST_helper(obj3
);
17833 if (arg5
== NULL
) SWIG_fail
;
17837 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17838 if (!SWIG_IsOK(ecode6
)) {
17839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17841 arg6
= static_cast< long >(val6
);
17846 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17850 if (!wxPyCheckForApp()) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17866 if (arg5
) delete [] arg5
;
17879 if (arg5
) delete [] arg5
;
17885 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
= 0;
17887 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17888 wxArrayInt
*arg2
= 0 ;
17891 bool temp2
= false ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char * kwnames
[] = {
17895 (char *) "self",(char *) "selections", NULL
17898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17903 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17905 if (! PySequence_Check(obj1
)) {
17906 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17909 arg2
= new wxArrayInt
;
17911 int i
, len
=PySequence_Length(obj1
);
17912 for (i
=0; i
<len
; i
++) {
17913 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17914 PyObject
* number
= PyNumber_Int(item
);
17915 arg2
->Add(PyInt_AS_LONG(number
));
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_Py_Void();
17928 if (temp2
) delete arg2
;
17933 if (temp2
) delete arg2
;
17939 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17940 PyObject
*resultobj
= 0;
17941 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17942 PyObject
*result
= 0 ;
17945 PyObject
*swig_obj
[1] ;
17947 if (!args
) SWIG_fail
;
17948 swig_obj
[0] = args
;
17949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17950 if (!SWIG_IsOK(res1
)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17953 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= result
;
17967 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17970 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17971 return SWIG_Py_Void();
17974 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17975 return SWIG_Python_InitShadowInstance(args
);
17978 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= 0;
17980 wxWindow
*arg1
= (wxWindow
*) 0 ;
17981 wxString
*arg2
= 0 ;
17982 wxString
*arg3
= 0 ;
17984 wxString
*arg5
= (wxString
*) 0 ;
17985 long arg6
= (long) wxCHOICEDLG_STYLE
;
17986 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17987 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17988 wxSingleChoiceDialog
*result
= 0 ;
17991 bool temp2
= false ;
17992 bool temp3
= false ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 PyObject
* obj2
= 0 ;
17999 PyObject
* obj3
= 0 ;
18000 PyObject
* obj4
= 0 ;
18001 PyObject
* obj5
= 0 ;
18002 char * kwnames
[] = {
18003 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18008 if (!SWIG_IsOK(res1
)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18013 arg2
= wxString_in_helper(obj1
);
18014 if (arg2
== NULL
) SWIG_fail
;
18018 arg3
= wxString_in_helper(obj2
);
18019 if (arg3
== NULL
) SWIG_fail
;
18023 arg4
= PyList_Size(obj3
);
18024 arg5
= wxString_LIST_helper(obj3
);
18025 if (arg5
== NULL
) SWIG_fail
;
18028 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18029 if (!SWIG_IsOK(ecode6
)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18032 arg6
= static_cast< long >(val6
);
18037 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18041 if (!wxPyCheckForApp()) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18057 if (arg5
) delete [] arg5
;
18070 if (arg5
) delete [] arg5
;
18076 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18077 PyObject
*resultobj
= 0;
18078 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18082 PyObject
*swig_obj
[1] ;
18084 if (!args
) SWIG_fail
;
18085 swig_obj
[0] = args
;
18086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18087 if (!SWIG_IsOK(res1
)) {
18088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18090 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 result
= (int)(arg1
)->GetSelection();
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_From_int(static_cast< int >(result
));
18104 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18105 PyObject
*resultobj
= 0;
18106 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18110 PyObject
*swig_obj
[1] ;
18112 if (!args
) SWIG_fail
;
18113 swig_obj
[0] = args
;
18114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18115 if (!SWIG_IsOK(res1
)) {
18116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18118 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (arg1
)->GetStringSelection();
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18138 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
= 0;
18140 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 char * kwnames
[] = {
18149 (char *) "self",(char *) "sel", NULL
18152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18154 if (!SWIG_IsOK(res1
)) {
18155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18157 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18159 if (!SWIG_IsOK(ecode2
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18162 arg2
= static_cast< int >(val2
);
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->SetSelection(arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_Py_Void();
18176 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18179 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18180 return SWIG_Py_Void();
18183 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18184 return SWIG_Python_InitShadowInstance(args
);
18187 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
= 0;
18189 wxWindow
*arg1
= (wxWindow
*) 0 ;
18190 wxString
*arg2
= 0 ;
18191 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18192 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18195 long arg5
= (long) wxTextEntryDialogStyle
;
18196 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18197 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18198 wxTextEntryDialog
*result
= 0 ;
18201 bool temp2
= false ;
18202 bool temp3
= false ;
18203 bool temp4
= false ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 PyObject
* obj5
= 0 ;
18213 char * kwnames
[] = {
18214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18219 if (!SWIG_IsOK(res1
)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18224 arg2
= wxString_in_helper(obj1
);
18225 if (arg2
== NULL
) SWIG_fail
;
18230 arg3
= wxString_in_helper(obj2
);
18231 if (arg3
== NULL
) SWIG_fail
;
18237 arg4
= wxString_in_helper(obj3
);
18238 if (arg4
== NULL
) SWIG_fail
;
18243 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18244 if (!SWIG_IsOK(ecode5
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18247 arg5
= static_cast< long >(val5
);
18252 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18256 if (!wxPyCheckForApp()) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18293 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18294 PyObject
*resultobj
= 0;
18295 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18299 PyObject
*swig_obj
[1] ;
18301 if (!args
) SWIG_fail
;
18302 swig_obj
[0] = args
;
18303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18307 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (arg1
)->GetValue();
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18327 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
= 0;
18329 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18330 wxString
*arg2
= 0 ;
18333 bool temp2
= false ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char * kwnames
[] = {
18337 (char *) "self",(char *) "value", NULL
18340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18342 if (!SWIG_IsOK(res1
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18345 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18347 arg2
= wxString_in_helper(obj1
);
18348 if (arg2
== NULL
) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->SetValue((wxString
const &)*arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_Py_Void();
18372 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18375 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18376 return SWIG_Py_Void();
18379 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18380 return SWIG_Python_InitShadowInstance(args
);
18383 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18384 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18389 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18390 PyObject
*pyobj
= 0;
18394 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18396 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18403 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
= 0;
18405 wxWindow
*arg1
= (wxWindow
*) 0 ;
18406 wxString
*arg2
= 0 ;
18407 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18408 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18409 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18410 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18411 long arg5
= (long) wxTextEntryDialogStyle
;
18412 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18413 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18414 wxPasswordEntryDialog
*result
= 0 ;
18417 bool temp2
= false ;
18418 bool temp3
= false ;
18419 bool temp4
= false ;
18423 PyObject
* obj0
= 0 ;
18424 PyObject
* obj1
= 0 ;
18425 PyObject
* obj2
= 0 ;
18426 PyObject
* obj3
= 0 ;
18427 PyObject
* obj4
= 0 ;
18428 PyObject
* obj5
= 0 ;
18429 char * kwnames
[] = {
18430 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18435 if (!SWIG_IsOK(res1
)) {
18436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18440 arg2
= wxString_in_helper(obj1
);
18441 if (arg2
== NULL
) SWIG_fail
;
18446 arg3
= wxString_in_helper(obj2
);
18447 if (arg3
== NULL
) SWIG_fail
;
18453 arg4
= wxString_in_helper(obj3
);
18454 if (arg4
== NULL
) SWIG_fail
;
18459 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18460 if (!SWIG_IsOK(ecode5
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18463 arg5
= static_cast< long >(val5
);
18468 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18508 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18511 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18512 return SWIG_Py_Void();
18515 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18516 return SWIG_Python_InitShadowInstance(args
);
18519 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
= 0;
18521 wxWindow
*arg1
= (wxWindow
*) 0 ;
18522 wxString
*arg2
= 0 ;
18523 wxString
*arg3
= 0 ;
18524 wxString
*arg4
= 0 ;
18528 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18529 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18530 wxNumberEntryDialog
*result
= 0 ;
18533 bool temp2
= false ;
18534 bool temp3
= false ;
18535 bool temp4
= false ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 PyObject
* obj2
= 0 ;
18546 PyObject
* obj3
= 0 ;
18547 PyObject
* obj4
= 0 ;
18548 PyObject
* obj5
= 0 ;
18549 PyObject
* obj6
= 0 ;
18550 PyObject
* obj7
= 0 ;
18551 char * kwnames
[] = {
18552 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18557 if (!SWIG_IsOK(res1
)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18560 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18562 arg2
= wxString_in_helper(obj1
);
18563 if (arg2
== NULL
) SWIG_fail
;
18567 arg3
= wxString_in_helper(obj2
);
18568 if (arg3
== NULL
) SWIG_fail
;
18572 arg4
= wxString_in_helper(obj3
);
18573 if (arg4
== NULL
) SWIG_fail
;
18576 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18577 if (!SWIG_IsOK(ecode5
)) {
18578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18580 arg5
= static_cast< long >(val5
);
18581 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18582 if (!SWIG_IsOK(ecode6
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18585 arg6
= static_cast< long >(val6
);
18586 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18587 if (!SWIG_IsOK(ecode7
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18590 arg7
= static_cast< long >(val7
);
18594 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18598 if (!wxPyCheckForApp()) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18635 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18636 PyObject
*resultobj
= 0;
18637 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18641 PyObject
*swig_obj
[1] ;
18643 if (!args
) SWIG_fail
;
18644 swig_obj
[0] = args
;
18645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18649 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (long)(arg1
)->GetValue();
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_From_long(static_cast< long >(result
));
18663 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18666 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18667 return SWIG_Py_Void();
18670 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18671 return SWIG_Python_InitShadowInstance(args
);
18674 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18675 PyObject
*resultobj
= 0;
18676 wxFontData
*result
= 0 ;
18678 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (wxFontData
*)new wxFontData();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18692 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18693 PyObject
*resultobj
= 0;
18694 wxFontData
*arg1
= (wxFontData
*) 0 ;
18697 PyObject
*swig_obj
[1] ;
18699 if (!args
) SWIG_fail
;
18700 swig_obj
[0] = args
;
18701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18702 if (!SWIG_IsOK(res1
)) {
18703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18705 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_Py_Void();
18720 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
= 0;
18722 wxFontData
*arg1
= (wxFontData
*) 0 ;
18728 PyObject
* obj0
= 0 ;
18729 PyObject
* obj1
= 0 ;
18730 char * kwnames
[] = {
18731 (char *) "self",(char *) "enable", NULL
18734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18736 if (!SWIG_IsOK(res1
)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18739 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18740 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18741 if (!SWIG_IsOK(ecode2
)) {
18742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18744 arg2
= static_cast< bool >(val2
);
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 (arg1
)->EnableEffects(arg2
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_Py_Void();
18758 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18759 PyObject
*resultobj
= 0;
18760 wxFontData
*arg1
= (wxFontData
*) 0 ;
18764 PyObject
*swig_obj
[1] ;
18766 if (!args
) SWIG_fail
;
18767 swig_obj
[0] = args
;
18768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18769 if (!SWIG_IsOK(res1
)) {
18770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18772 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 result
= (bool)(arg1
)->GetAllowSymbols();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18788 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18789 PyObject
*resultobj
= 0;
18790 wxFontData
*arg1
= (wxFontData
*) 0 ;
18794 PyObject
*swig_obj
[1] ;
18796 if (!args
) SWIG_fail
;
18797 swig_obj
[0] = args
;
18798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18799 if (!SWIG_IsOK(res1
)) {
18800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18802 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (arg1
)->GetColour();
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18816 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18817 PyObject
*resultobj
= 0;
18818 wxFontData
*arg1
= (wxFontData
*) 0 ;
18822 PyObject
*swig_obj
[1] ;
18824 if (!args
) SWIG_fail
;
18825 swig_obj
[0] = args
;
18826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18827 if (!SWIG_IsOK(res1
)) {
18828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18830 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (arg1
)->GetChosenFont();
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18844 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18845 PyObject
*resultobj
= 0;
18846 wxFontData
*arg1
= (wxFontData
*) 0 ;
18850 PyObject
*swig_obj
[1] ;
18852 if (!args
) SWIG_fail
;
18853 swig_obj
[0] = args
;
18854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18855 if (!SWIG_IsOK(res1
)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18858 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (bool)(arg1
)->GetEnableEffects();
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18874 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18875 PyObject
*resultobj
= 0;
18876 wxFontData
*arg1
= (wxFontData
*) 0 ;
18880 PyObject
*swig_obj
[1] ;
18882 if (!args
) SWIG_fail
;
18883 swig_obj
[0] = args
;
18884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18885 if (!SWIG_IsOK(res1
)) {
18886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18888 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (arg1
)->GetInitialFont();
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18902 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18903 PyObject
*resultobj
= 0;
18904 wxFontData
*arg1
= (wxFontData
*) 0 ;
18908 PyObject
*swig_obj
[1] ;
18910 if (!args
) SWIG_fail
;
18911 swig_obj
[0] = args
;
18912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18913 if (!SWIG_IsOK(res1
)) {
18914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18916 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (bool)(arg1
)->GetShowHelp();
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18932 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
= 0;
18934 wxFontData
*arg1
= (wxFontData
*) 0 ;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj1
= 0 ;
18942 char * kwnames
[] = {
18943 (char *) "self",(char *) "allowSymbols", NULL
18946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18948 if (!SWIG_IsOK(res1
)) {
18949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18951 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18953 if (!SWIG_IsOK(ecode2
)) {
18954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18956 arg2
= static_cast< bool >(val2
);
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 (arg1
)->SetAllowSymbols(arg2
);
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_Py_Void();
18970 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
= 0;
18972 wxFontData
*arg1
= (wxFontData
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char * kwnames
[] = {
18981 (char *) "self",(char *) "font", NULL
18984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18986 if (!SWIG_IsOK(res1
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18989 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18991 if (!SWIG_IsOK(res2
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18997 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_Py_Void();
19011 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
= 0;
19013 wxFontData
*arg1
= (wxFontData
*) 0 ;
19014 wxColour
*arg2
= 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char * kwnames
[] = {
19021 (char *) "self",(char *) "colour", NULL
19024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19026 if (!SWIG_IsOK(res1
)) {
19027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19029 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->SetColour((wxColour
const &)*arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_Py_Void();
19047 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
= 0;
19049 wxFontData
*arg1
= (wxFontData
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 PyObject
* obj1
= 0 ;
19057 char * kwnames
[] = {
19058 (char *) "self",(char *) "font", NULL
19061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19066 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19068 if (!SWIG_IsOK(res2
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19074 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= SWIG_Py_Void();
19088 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
= 0;
19090 wxFontData
*arg1
= (wxFontData
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 PyObject
* obj2
= 0 ;
19102 char * kwnames
[] = {
19103 (char *) "self",(char *) "min",(char *) "max", NULL
19106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19111 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19113 if (!SWIG_IsOK(ecode2
)) {
19114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19116 arg2
= static_cast< int >(val2
);
19117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19118 if (!SWIG_IsOK(ecode3
)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19121 arg3
= static_cast< int >(val3
);
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetRange(arg2
,arg3
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19135 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxFontData
*arg1
= (wxFontData
*) 0 ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char * kwnames
[] = {
19146 (char *) "self",(char *) "showHelp", NULL
19149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19151 if (!SWIG_IsOK(res1
)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19154 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19155 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19156 if (!SWIG_IsOK(ecode2
)) {
19157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19159 arg2
= static_cast< bool >(val2
);
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 (arg1
)->SetShowHelp(arg2
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= SWIG_Py_Void();
19173 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19176 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19177 return SWIG_Py_Void();
19180 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19181 return SWIG_Python_InitShadowInstance(args
);
19184 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxWindow
*arg1
= (wxWindow
*) 0 ;
19187 wxFontData
*arg2
= 0 ;
19188 wxFontDialog
*result
= 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "parent",(char *) "data", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19206 if (!SWIG_IsOK(res2
)) {
19207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19212 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19214 if (!wxPyCheckForApp()) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19227 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19228 PyObject
*resultobj
= 0;
19229 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19230 wxFontData
*result
= 0 ;
19233 PyObject
*swig_obj
[1] ;
19235 if (!args
) SWIG_fail
;
19236 swig_obj
[0] = args
;
19237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19238 if (!SWIG_IsOK(res1
)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19241 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19246 result
= (wxFontData
*) &_result_ref
;
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19258 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19261 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19262 return SWIG_Py_Void();
19265 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19266 return SWIG_Python_InitShadowInstance(args
);
19269 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
= 0;
19271 wxWindow
*arg1
= (wxWindow
*) NULL
;
19272 wxFont
const &arg2_defvalue
= wxNullFont
;
19273 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19274 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19275 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19281 bool temp3
= false ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 PyObject
* obj2
= 0 ;
19285 char * kwnames
[] = {
19286 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19292 if (!SWIG_IsOK(res1
)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19295 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19299 if (!SWIG_IsOK(res2
)) {
19300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19305 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19309 arg3
= wxString_in_helper(obj2
);
19310 if (arg3
== NULL
) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19335 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
= 0;
19337 wxWindow
*arg1
= (wxWindow
*) 0 ;
19338 wxString
*arg2
= 0 ;
19339 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19341 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19342 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19343 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19344 wxMessageDialog
*result
= 0 ;
19347 bool temp2
= false ;
19348 bool temp3
= false ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 PyObject
* obj2
= 0 ;
19355 PyObject
* obj3
= 0 ;
19356 PyObject
* obj4
= 0 ;
19357 char * kwnames
[] = {
19358 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19363 if (!SWIG_IsOK(res1
)) {
19364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19368 arg2
= wxString_in_helper(obj1
);
19369 if (arg2
== NULL
) SWIG_fail
;
19374 arg3
= wxString_in_helper(obj2
);
19375 if (arg3
== NULL
) SWIG_fail
;
19380 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19381 if (!SWIG_IsOK(ecode4
)) {
19382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19384 arg4
= static_cast< long >(val4
);
19389 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19393 if (!wxPyCheckForApp()) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19422 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19425 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19426 return SWIG_Py_Void();
19429 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19430 return SWIG_Python_InitShadowInstance(args
);
19433 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= 0;
19435 wxString
*arg1
= 0 ;
19436 wxString
*arg2
= 0 ;
19437 int arg3
= (int) 100 ;
19438 wxWindow
*arg4
= (wxWindow
*) NULL
;
19439 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19440 wxProgressDialog
*result
= 0 ;
19441 bool temp1
= false ;
19442 bool temp2
= false ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 PyObject
* obj2
= 0 ;
19452 PyObject
* obj3
= 0 ;
19453 PyObject
* obj4
= 0 ;
19454 char * kwnames
[] = {
19455 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19460 arg1
= wxString_in_helper(obj0
);
19461 if (arg1
== NULL
) SWIG_fail
;
19465 arg2
= wxString_in_helper(obj1
);
19466 if (arg2
== NULL
) SWIG_fail
;
19470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19471 if (!SWIG_IsOK(ecode3
)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19474 arg3
= static_cast< int >(val3
);
19477 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19478 if (!SWIG_IsOK(res4
)) {
19479 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19481 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19484 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19485 if (!SWIG_IsOK(ecode5
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19488 arg5
= static_cast< int >(val5
);
19491 if (!wxPyCheckForApp()) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19520 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= 0;
19522 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19526 bool *arg4
= (bool *) 0 ;
19532 bool temp3
= false ;
19534 int res4
= SWIG_TMPOBJ
;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 PyObject
* obj2
= 0 ;
19538 char * kwnames
[] = {
19539 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19545 if (!SWIG_IsOK(res1
)) {
19546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19548 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19550 if (!SWIG_IsOK(ecode2
)) {
19551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19553 arg2
= static_cast< int >(val2
);
19556 arg3
= wxString_in_helper(obj2
);
19557 if (arg3
== NULL
) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19570 if (SWIG_IsTmpObj(res4
)) {
19571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19573 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19590 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
= 0;
19592 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19593 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19594 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19595 bool *arg3
= (bool *) 0 ;
19599 bool temp2
= false ;
19601 int res3
= SWIG_TMPOBJ
;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 char * kwnames
[] = {
19605 (char *) "self",(char *) "newmsg", NULL
19609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19611 if (!SWIG_IsOK(res1
)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19614 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19617 arg2
= wxString_in_helper(obj1
);
19618 if (arg2
== NULL
) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19631 if (SWIG_IsTmpObj(res3
)) {
19632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19634 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19651 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19652 PyObject
*resultobj
= 0;
19653 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19656 PyObject
*swig_obj
[1] ;
19658 if (!args
) SWIG_fail
;
19659 swig_obj
[0] = args
;
19660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19664 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_Py_Void();
19678 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19681 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19682 return SWIG_Py_Void();
19685 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19686 return SWIG_Python_InitShadowInstance(args
);
19689 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19692 int arg2
= (int) 0 ;
19693 wxFindDialogEvent
*result
= 0 ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char * kwnames
[] = {
19701 (char *) "commandType",(char *) "id", NULL
19704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19707 if (!SWIG_IsOK(ecode1
)) {
19708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19710 arg1
= static_cast< wxEventType
>(val1
);
19713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19714 if (!SWIG_IsOK(ecode2
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19717 arg2
= static_cast< int >(val2
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19732 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19733 PyObject
*resultobj
= 0;
19734 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19738 PyObject
*swig_obj
[1] ;
19740 if (!args
) SWIG_fail
;
19741 swig_obj
[0] = args
;
19742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19743 if (!SWIG_IsOK(res1
)) {
19744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19746 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 result
= (int)(arg1
)->GetFlags();
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= SWIG_From_int(static_cast< int >(result
));
19760 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19761 PyObject
*resultobj
= 0;
19762 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19763 wxString
*result
= 0 ;
19766 PyObject
*swig_obj
[1] ;
19768 if (!args
) SWIG_fail
;
19769 swig_obj
[0] = args
;
19770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19771 if (!SWIG_IsOK(res1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19774 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 wxString
const &_result_ref
= (arg1
)->GetFindString();
19779 result
= (wxString
*) &_result_ref
;
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19797 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19798 PyObject
*resultobj
= 0;
19799 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19800 wxString
*result
= 0 ;
19803 PyObject
*swig_obj
[1] ;
19805 if (!args
) SWIG_fail
;
19806 swig_obj
[0] = args
;
19807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19808 if (!SWIG_IsOK(res1
)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19811 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19816 result
= (wxString
*) &_result_ref
;
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19825 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19834 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19835 PyObject
*resultobj
= 0;
19836 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19837 wxFindReplaceDialog
*result
= 0 ;
19840 PyObject
*swig_obj
[1] ;
19842 if (!args
) SWIG_fail
;
19843 swig_obj
[0] = args
;
19844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19845 if (!SWIG_IsOK(res1
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19848 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19862 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
= 0;
19864 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 char * kwnames
[] = {
19873 (char *) "self",(char *) "flags", NULL
19876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19881 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19883 if (!SWIG_IsOK(ecode2
)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19886 arg2
= static_cast< int >(val2
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 (arg1
)->SetFlags(arg2
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_Py_Void();
19900 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
= 0;
19902 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19903 wxString
*arg2
= 0 ;
19906 bool temp2
= false ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char * kwnames
[] = {
19910 (char *) "self",(char *) "str", NULL
19913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19918 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19920 arg2
= wxString_in_helper(obj1
);
19921 if (arg2
== NULL
) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 (arg1
)->SetFindString((wxString
const &)*arg2
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_Py_Void();
19945 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
= 0;
19947 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19948 wxString
*arg2
= 0 ;
19951 bool temp2
= false ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 char * kwnames
[] = {
19955 (char *) "self",(char *) "str", NULL
19958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19960 if (!SWIG_IsOK(res1
)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19963 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19965 arg2
= wxString_in_helper(obj1
);
19966 if (arg2
== NULL
) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_Py_Void();
19990 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19993 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19994 return SWIG_Py_Void();
19997 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19998 return SWIG_Python_InitShadowInstance(args
);
20001 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
= 0;
20003 int arg1
= (int) 0 ;
20004 wxFindReplaceData
*result
= 0 ;
20007 PyObject
* obj0
= 0 ;
20008 char * kwnames
[] = {
20009 (char *) "flags", NULL
20012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20015 if (!SWIG_IsOK(ecode1
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20018 arg1
= static_cast< int >(val1
);
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20033 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20034 PyObject
*resultobj
= 0;
20035 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20038 PyObject
*swig_obj
[1] ;
20040 if (!args
) SWIG_fail
;
20041 swig_obj
[0] = args
;
20042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20046 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= SWIG_Py_Void();
20061 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20062 PyObject
*resultobj
= 0;
20063 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20064 wxString
*result
= 0 ;
20067 PyObject
*swig_obj
[1] ;
20069 if (!args
) SWIG_fail
;
20070 swig_obj
[0] = args
;
20071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20072 if (!SWIG_IsOK(res1
)) {
20073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20075 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 wxString
const &_result_ref
= (arg1
)->GetFindString();
20080 result
= (wxString
*) &_result_ref
;
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20089 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20098 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20099 PyObject
*resultobj
= 0;
20100 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20101 wxString
*result
= 0 ;
20104 PyObject
*swig_obj
[1] ;
20106 if (!args
) SWIG_fail
;
20107 swig_obj
[0] = args
;
20108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20112 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20117 result
= (wxString
*) &_result_ref
;
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20126 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20135 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20136 PyObject
*resultobj
= 0;
20137 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20141 PyObject
*swig_obj
[1] ;
20143 if (!args
) SWIG_fail
;
20144 swig_obj
[0] = args
;
20145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20146 if (!SWIG_IsOK(res1
)) {
20147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20149 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (int)(arg1
)->GetFlags();
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_From_int(static_cast< int >(result
));
20163 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
= 0;
20165 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 char * kwnames
[] = {
20174 (char *) "self",(char *) "flags", NULL
20177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20179 if (!SWIG_IsOK(res1
)) {
20180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20182 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20184 if (!SWIG_IsOK(ecode2
)) {
20185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20187 arg2
= static_cast< int >(val2
);
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 (arg1
)->SetFlags(arg2
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= SWIG_Py_Void();
20201 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
= 0;
20203 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20204 wxString
*arg2
= 0 ;
20207 bool temp2
= false ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 char * kwnames
[] = {
20211 (char *) "self",(char *) "str", NULL
20214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20216 if (!SWIG_IsOK(res1
)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20219 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20221 arg2
= wxString_in_helper(obj1
);
20222 if (arg2
== NULL
) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->SetFindString((wxString
const &)*arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_Py_Void();
20246 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20249 wxString
*arg2
= 0 ;
20252 bool temp2
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char * kwnames
[] = {
20256 (char *) "self",(char *) "str", NULL
20259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20261 if (!SWIG_IsOK(res1
)) {
20262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20264 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20266 arg2
= wxString_in_helper(obj1
);
20267 if (arg2
== NULL
) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_Py_Void();
20291 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20294 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20295 return SWIG_Py_Void();
20298 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20299 return SWIG_Python_InitShadowInstance(args
);
20302 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= 0;
20304 wxWindow
*arg1
= (wxWindow
*) 0 ;
20305 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20306 wxString
*arg3
= 0 ;
20307 int arg4
= (int) 0 ;
20308 wxFindReplaceDialog
*result
= 0 ;
20313 bool temp3
= false ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 PyObject
* obj2
= 0 ;
20319 PyObject
* obj3
= 0 ;
20320 char * kwnames
[] = {
20321 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20326 if (!SWIG_IsOK(res1
)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20329 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20331 if (!SWIG_IsOK(res2
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20334 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20336 arg3
= wxString_in_helper(obj2
);
20337 if (arg3
== NULL
) SWIG_fail
;
20341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20342 if (!SWIG_IsOK(ecode4
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20345 arg4
= static_cast< int >(val4
);
20348 if (!wxPyCheckForApp()) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20369 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20370 PyObject
*resultobj
= 0;
20371 wxFindReplaceDialog
*result
= 0 ;
20373 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20375 if (!wxPyCheckForApp()) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20388 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
= 0;
20390 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20391 wxWindow
*arg2
= (wxWindow
*) 0 ;
20392 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20393 wxString
*arg4
= 0 ;
20394 int arg5
= (int) 0 ;
20402 bool temp4
= false ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 PyObject
* obj2
= 0 ;
20408 PyObject
* obj3
= 0 ;
20409 PyObject
* obj4
= 0 ;
20410 char * kwnames
[] = {
20411 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20416 if (!SWIG_IsOK(res1
)) {
20417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20419 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20421 if (!SWIG_IsOK(res2
)) {
20422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20425 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20426 if (!SWIG_IsOK(res3
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20429 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20431 arg4
= wxString_in_helper(obj3
);
20432 if (arg4
== NULL
) SWIG_fail
;
20436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20437 if (!SWIG_IsOK(ecode5
)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20440 arg5
= static_cast< int >(val5
);
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20465 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20466 PyObject
*resultobj
= 0;
20467 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20468 wxFindReplaceData
*result
= 0 ;
20471 PyObject
*swig_obj
[1] ;
20473 if (!args
) SWIG_fail
;
20474 swig_obj
[0] = args
;
20475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20476 if (!SWIG_IsOK(res1
)) {
20477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20479 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20493 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
= 0;
20495 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20496 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char * kwnames
[] = {
20504 (char *) "self",(char *) "data", NULL
20507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20509 if (!SWIG_IsOK(res1
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20512 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20514 if (!SWIG_IsOK(res2
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20517 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 (arg1
)->SetData(arg2
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_Py_Void();
20531 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20534 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20535 return SWIG_Py_Void();
20538 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20539 return SWIG_Python_InitShadowInstance(args
);
20542 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
= 0;
20544 wxWindow
*arg1
= (wxWindow
*) 0 ;
20545 int arg2
= (int) (int)-1 ;
20546 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20547 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20552 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20553 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20554 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20555 wxMDIParentFrame
*result
= 0 ;
20560 bool temp3
= false ;
20565 bool temp7
= false ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 PyObject
* obj3
= 0 ;
20570 PyObject
* obj4
= 0 ;
20571 PyObject
* obj5
= 0 ;
20572 PyObject
* obj6
= 0 ;
20573 char * kwnames
[] = {
20574 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20579 if (!SWIG_IsOK(res1
)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20582 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20585 if (!SWIG_IsOK(ecode2
)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20588 arg2
= static_cast< int >(val2
);
20592 arg3
= wxString_in_helper(obj2
);
20593 if (arg3
== NULL
) SWIG_fail
;
20600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20610 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20611 if (!SWIG_IsOK(ecode6
)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20614 arg6
= static_cast< long >(val6
);
20618 arg7
= wxString_in_helper(obj6
);
20619 if (arg7
== NULL
) SWIG_fail
;
20624 if (!wxPyCheckForApp()) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20653 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20654 PyObject
*resultobj
= 0;
20655 wxMDIParentFrame
*result
= 0 ;
20657 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20659 if (!wxPyCheckForApp()) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20672 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
= 0;
20674 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20675 wxWindow
*arg2
= (wxWindow
*) 0 ;
20676 int arg3
= (int) (int)-1 ;
20677 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20679 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20680 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20681 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20682 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20683 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20684 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20685 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20693 bool temp4
= false ;
20698 bool temp8
= false ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 PyObject
* obj2
= 0 ;
20702 PyObject
* obj3
= 0 ;
20703 PyObject
* obj4
= 0 ;
20704 PyObject
* obj5
= 0 ;
20705 PyObject
* obj6
= 0 ;
20706 PyObject
* obj7
= 0 ;
20707 char * kwnames
[] = {
20708 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20713 if (!SWIG_IsOK(res1
)) {
20714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20716 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20718 if (!SWIG_IsOK(res2
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20721 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20724 if (!SWIG_IsOK(ecode3
)) {
20725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20727 arg3
= static_cast< int >(val3
);
20731 arg4
= wxString_in_helper(obj3
);
20732 if (arg4
== NULL
) SWIG_fail
;
20739 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20745 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20749 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20750 if (!SWIG_IsOK(ecode7
)) {
20751 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20753 arg7
= static_cast< long >(val7
);
20757 arg8
= wxString_in_helper(obj7
);
20758 if (arg8
== NULL
) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20793 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20794 PyObject
*resultobj
= 0;
20795 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20798 PyObject
*swig_obj
[1] ;
20800 if (!args
) SWIG_fail
;
20801 swig_obj
[0] = args
;
20802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20803 if (!SWIG_IsOK(res1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20806 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 (arg1
)->ActivateNext();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_Py_Void();
20820 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20821 PyObject
*resultobj
= 0;
20822 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20825 PyObject
*swig_obj
[1] ;
20827 if (!args
) SWIG_fail
;
20828 swig_obj
[0] = args
;
20829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20833 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 (arg1
)->ActivatePrevious();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_Py_Void();
20847 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20848 PyObject
*resultobj
= 0;
20849 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20852 PyObject
*swig_obj
[1] ;
20854 if (!args
) SWIG_fail
;
20855 swig_obj
[0] = args
;
20856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20857 if (!SWIG_IsOK(res1
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20860 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 (arg1
)->ArrangeIcons();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_Py_Void();
20874 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20875 PyObject
*resultobj
= 0;
20876 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20879 PyObject
*swig_obj
[1] ;
20881 if (!args
) SWIG_fail
;
20882 swig_obj
[0] = args
;
20883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20884 if (!SWIG_IsOK(res1
)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20887 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_Py_Void();
20901 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20902 PyObject
*resultobj
= 0;
20903 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20904 wxMDIChildFrame
*result
= 0 ;
20907 PyObject
*swig_obj
[1] ;
20909 if (!args
) SWIG_fail
;
20910 swig_obj
[0] = args
;
20911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20912 if (!SWIG_IsOK(res1
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20915 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20931 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20932 PyObject
*resultobj
= 0;
20933 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20934 wxMDIClientWindow
*result
= 0 ;
20937 PyObject
*swig_obj
[1] ;
20939 if (!args
) SWIG_fail
;
20940 swig_obj
[0] = args
;
20941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20942 if (!SWIG_IsOK(res1
)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20945 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20961 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
= 0;
20963 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20964 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char * kwnames
[] = {
20972 (char *) "self",(char *) "orient", NULL
20975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20980 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20983 if (!SWIG_IsOK(ecode2
)) {
20984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20986 arg2
= static_cast< wxOrientation
>(val2
);
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 (arg1
)->Tile(arg2
);
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= SWIG_Py_Void();
21001 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21004 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21005 return SWIG_Py_Void();
21008 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21009 return SWIG_Python_InitShadowInstance(args
);
21012 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
= 0;
21014 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21015 int arg2
= (int) (int)-1 ;
21016 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21017 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21022 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21023 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21024 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21025 wxMDIChildFrame
*result
= 0 ;
21030 bool temp3
= false ;
21035 bool temp7
= false ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 PyObject
* obj2
= 0 ;
21039 PyObject
* obj3
= 0 ;
21040 PyObject
* obj4
= 0 ;
21041 PyObject
* obj5
= 0 ;
21042 PyObject
* obj6
= 0 ;
21043 char * kwnames
[] = {
21044 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21052 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21055 if (!SWIG_IsOK(ecode2
)) {
21056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21058 arg2
= static_cast< int >(val2
);
21062 arg3
= wxString_in_helper(obj2
);
21063 if (arg3
== NULL
) SWIG_fail
;
21070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21080 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21081 if (!SWIG_IsOK(ecode6
)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21084 arg6
= static_cast< long >(val6
);
21088 arg7
= wxString_in_helper(obj6
);
21089 if (arg7
== NULL
) SWIG_fail
;
21094 if (!wxPyCheckForApp()) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21123 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21124 PyObject
*resultobj
= 0;
21125 wxMDIChildFrame
*result
= 0 ;
21127 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21129 if (!wxPyCheckForApp()) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21142 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
= 0;
21144 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21145 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21146 int arg3
= (int) (int)-1 ;
21147 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21149 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21150 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21151 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21152 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21153 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21154 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21155 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21163 bool temp4
= false ;
21168 bool temp8
= false ;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 PyObject
* obj2
= 0 ;
21172 PyObject
* obj3
= 0 ;
21173 PyObject
* obj4
= 0 ;
21174 PyObject
* obj5
= 0 ;
21175 PyObject
* obj6
= 0 ;
21176 PyObject
* obj7
= 0 ;
21177 char * kwnames
[] = {
21178 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21183 if (!SWIG_IsOK(res1
)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21186 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21188 if (!SWIG_IsOK(res2
)) {
21189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21191 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21194 if (!SWIG_IsOK(ecode3
)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21197 arg3
= static_cast< int >(val3
);
21201 arg4
= wxString_in_helper(obj3
);
21202 if (arg4
== NULL
) SWIG_fail
;
21209 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21215 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21219 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21220 if (!SWIG_IsOK(ecode7
)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21223 arg7
= static_cast< long >(val7
);
21227 arg8
= wxString_in_helper(obj7
);
21228 if (arg8
== NULL
) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21263 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21264 PyObject
*resultobj
= 0;
21265 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21268 PyObject
*swig_obj
[1] ;
21270 if (!args
) SWIG_fail
;
21271 swig_obj
[0] = args
;
21272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21273 if (!SWIG_IsOK(res1
)) {
21274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21276 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 (arg1
)->Activate();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_Py_Void();
21290 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21293 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21294 return SWIG_Py_Void();
21297 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21298 return SWIG_Python_InitShadowInstance(args
);
21301 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
= 0;
21303 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21304 long arg2
= (long) 0 ;
21305 wxMDIClientWindow
*result
= 0 ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 char * kwnames
[] = {
21313 (char *) "parent",(char *) "style", NULL
21316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21318 if (!SWIG_IsOK(res1
)) {
21319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21321 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21323 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21324 if (!SWIG_IsOK(ecode2
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21327 arg2
= static_cast< long >(val2
);
21330 if (!wxPyCheckForApp()) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21343 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21344 PyObject
*resultobj
= 0;
21345 wxMDIClientWindow
*result
= 0 ;
21347 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21349 if (!wxPyCheckForApp()) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21362 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
= 0;
21364 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21365 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21366 long arg3
= (long) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 PyObject
* obj2
= 0 ;
21377 char * kwnames
[] = {
21378 (char *) "self",(char *) "parent",(char *) "style", NULL
21381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21383 if (!SWIG_IsOK(res1
)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21386 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21388 if (!SWIG_IsOK(res2
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21391 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21393 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21394 if (!SWIG_IsOK(ecode3
)) {
21395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21397 arg3
= static_cast< long >(val3
);
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21414 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21417 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21418 return SWIG_Py_Void();
21421 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21422 return SWIG_Python_InitShadowInstance(args
);
21425 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
= 0;
21427 wxWindow
*arg1
= (wxWindow
*) 0 ;
21428 int arg2
= (int) (int)-1 ;
21429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21433 long arg5
= (long) 0 ;
21434 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21435 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21436 wxPyWindow
*result
= 0 ;
21445 bool temp6
= false ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 PyObject
* obj2
= 0 ;
21449 PyObject
* obj3
= 0 ;
21450 PyObject
* obj4
= 0 ;
21451 PyObject
* obj5
= 0 ;
21452 char * kwnames
[] = {
21453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21458 if (!SWIG_IsOK(res1
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21464 if (!SWIG_IsOK(ecode2
)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21467 arg2
= static_cast< int >(val2
);
21472 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21478 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21482 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21483 if (!SWIG_IsOK(ecode5
)) {
21484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21486 arg5
= static_cast< long >(val5
);
21490 arg6
= wxString_in_helper(obj5
);
21491 if (arg6
== NULL
) SWIG_fail
;
21496 if (!wxPyCheckForApp()) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21517 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21518 PyObject
*resultobj
= 0;
21519 wxPyWindow
*result
= 0 ;
21521 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21523 if (!wxPyCheckForApp()) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (wxPyWindow
*)new wxPyWindow();
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21536 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
= 0;
21538 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21539 PyObject
*arg2
= (PyObject
*) 0 ;
21540 PyObject
*arg3
= (PyObject
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 char * kwnames
[] = {
21547 (char *) "self",(char *) "self",(char *) "_class", NULL
21550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21552 if (!SWIG_IsOK(res1
)) {
21553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21555 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= SWIG_Py_Void();
21571 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
= 0;
21573 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char * kwnames
[] = {
21581 (char *) "self",(char *) "size", NULL
21584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21586 if (!SWIG_IsOK(res1
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21589 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21592 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_Py_Void();
21607 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
= 0;
21609 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21610 wxDC
*arg2
= (wxDC
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char * kwnames
[] = {
21619 (char *) "self",(char *) "dc", NULL
21622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21624 if (!SWIG_IsOK(res1
)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21627 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21629 if (!SWIG_IsOK(res2
)) {
21630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21632 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21648 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
= 0;
21650 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21665 PyObject
* obj0
= 0 ;
21666 PyObject
* obj1
= 0 ;
21667 PyObject
* obj2
= 0 ;
21668 PyObject
* obj3
= 0 ;
21669 PyObject
* obj4
= 0 ;
21670 char * kwnames
[] = {
21671 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21676 if (!SWIG_IsOK(res1
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21679 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21681 if (!SWIG_IsOK(ecode2
)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21684 arg2
= static_cast< int >(val2
);
21685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21686 if (!SWIG_IsOK(ecode3
)) {
21687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21689 arg3
= static_cast< int >(val3
);
21690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21691 if (!SWIG_IsOK(ecode4
)) {
21692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21694 arg4
= static_cast< int >(val4
);
21695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21696 if (!SWIG_IsOK(ecode5
)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21699 arg5
= static_cast< int >(val5
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_Py_Void();
21713 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
= 0;
21715 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21720 int arg6
= (int) wxSIZE_AUTO
;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 PyObject
* obj2
= 0 ;
21736 PyObject
* obj3
= 0 ;
21737 PyObject
* obj4
= 0 ;
21738 PyObject
* obj5
= 0 ;
21739 char * kwnames
[] = {
21740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21745 if (!SWIG_IsOK(res1
)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21748 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21750 if (!SWIG_IsOK(ecode2
)) {
21751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21753 arg2
= static_cast< int >(val2
);
21754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21755 if (!SWIG_IsOK(ecode3
)) {
21756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21758 arg3
= static_cast< int >(val3
);
21759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21760 if (!SWIG_IsOK(ecode4
)) {
21761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21763 arg4
= static_cast< int >(val4
);
21764 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21765 if (!SWIG_IsOK(ecode5
)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21768 arg5
= static_cast< int >(val5
);
21770 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21771 if (!SWIG_IsOK(ecode6
)) {
21772 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21774 arg6
= static_cast< int >(val6
);
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_Py_Void();
21789 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
= 0;
21791 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 PyObject
* obj2
= 0 ;
21803 char * kwnames
[] = {
21804 (char *) "self",(char *) "width",(char *) "height", NULL
21807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21812 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21814 if (!SWIG_IsOK(ecode2
)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21817 arg2
= static_cast< int >(val2
);
21818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21819 if (!SWIG_IsOK(ecode3
)) {
21820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21822 arg3
= static_cast< int >(val3
);
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->DoSetClientSize(arg2
,arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_Py_Void();
21836 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
= 0;
21838 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 PyObject
* obj1
= 0 ;
21849 PyObject
* obj2
= 0 ;
21850 char * kwnames
[] = {
21851 (char *) "self",(char *) "x",(char *) "y", NULL
21854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21856 if (!SWIG_IsOK(res1
)) {
21857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21859 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21861 if (!SWIG_IsOK(ecode2
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21864 arg2
= static_cast< int >(val2
);
21865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21866 if (!SWIG_IsOK(ecode3
)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21869 arg3
= static_cast< int >(val3
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_Py_Void();
21883 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21884 PyObject
*resultobj
= 0;
21885 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21886 int *arg2
= (int *) 0 ;
21887 int *arg3
= (int *) 0 ;
21891 int res2
= SWIG_TMPOBJ
;
21893 int res3
= SWIG_TMPOBJ
;
21894 PyObject
*swig_obj
[1] ;
21898 if (!args
) SWIG_fail
;
21899 swig_obj
[0] = args
;
21900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21901 if (!SWIG_IsOK(res1
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21904 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_Py_Void();
21912 if (SWIG_IsTmpObj(res2
)) {
21913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21915 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21918 if (SWIG_IsTmpObj(res3
)) {
21919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21921 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21930 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21931 PyObject
*resultobj
= 0;
21932 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21933 int *arg2
= (int *) 0 ;
21934 int *arg3
= (int *) 0 ;
21938 int res2
= SWIG_TMPOBJ
;
21940 int res3
= SWIG_TMPOBJ
;
21941 PyObject
*swig_obj
[1] ;
21945 if (!args
) SWIG_fail
;
21946 swig_obj
[0] = args
;
21947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21951 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= SWIG_Py_Void();
21959 if (SWIG_IsTmpObj(res2
)) {
21960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21962 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21965 if (SWIG_IsTmpObj(res3
)) {
21966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21977 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21978 PyObject
*resultobj
= 0;
21979 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21980 int *arg2
= (int *) 0 ;
21981 int *arg3
= (int *) 0 ;
21985 int res2
= SWIG_TMPOBJ
;
21987 int res3
= SWIG_TMPOBJ
;
21988 PyObject
*swig_obj
[1] ;
21992 if (!args
) SWIG_fail
;
21993 swig_obj
[0] = args
;
21994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21998 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_Py_Void();
22006 if (SWIG_IsTmpObj(res2
)) {
22007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22009 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22012 if (SWIG_IsTmpObj(res3
)) {
22013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22024 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22025 PyObject
*resultobj
= 0;
22026 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22030 PyObject
*swig_obj
[1] ;
22032 if (!args
) SWIG_fail
;
22033 swig_obj
[0] = args
;
22034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22035 if (!SWIG_IsOK(res1
)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22038 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22052 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22053 PyObject
*resultobj
= 0;
22054 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22058 PyObject
*swig_obj
[1] ;
22060 if (!args
) SWIG_fail
;
22061 swig_obj
[0] = args
;
22062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22063 if (!SWIG_IsOK(res1
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22066 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22080 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22081 PyObject
*resultobj
= 0;
22082 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22083 SwigValueWrapper
<wxVisualAttributes
> result
;
22086 PyObject
*swig_obj
[1] ;
22088 if (!args
) SWIG_fail
;
22089 swig_obj
[0] = args
;
22090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22091 if (!SWIG_IsOK(res1
)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22094 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (arg1
)->GetDefaultAttributes();
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22108 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22109 PyObject
*resultobj
= 0;
22110 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22113 PyObject
*swig_obj
[1] ;
22115 if (!args
) SWIG_fail
;
22116 swig_obj
[0] = args
;
22117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22121 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 (arg1
)->OnInternalIdle();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_Py_Void();
22135 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22138 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22139 return SWIG_Py_Void();
22142 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22143 return SWIG_Python_InitShadowInstance(args
);
22146 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
= 0;
22148 wxWindow
*arg1
= (wxWindow
*) 0 ;
22149 int arg2
= (int) (int)-1 ;
22150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22154 long arg5
= (long) 0 ;
22155 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22156 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22157 wxPyPanel
*result
= 0 ;
22166 bool temp6
= false ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 PyObject
* obj2
= 0 ;
22170 PyObject
* obj3
= 0 ;
22171 PyObject
* obj4
= 0 ;
22172 PyObject
* obj5
= 0 ;
22173 char * kwnames
[] = {
22174 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22179 if (!SWIG_IsOK(res1
)) {
22180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22182 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22185 if (!SWIG_IsOK(ecode2
)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22188 arg2
= static_cast< int >(val2
);
22193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22199 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22203 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22204 if (!SWIG_IsOK(ecode5
)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22207 arg5
= static_cast< long >(val5
);
22211 arg6
= wxString_in_helper(obj5
);
22212 if (arg6
== NULL
) SWIG_fail
;
22217 if (!wxPyCheckForApp()) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22238 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxPyPanel
*result
= 0 ;
22242 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22244 if (!wxPyCheckForApp()) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (wxPyPanel
*)new wxPyPanel();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22257 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
= 0;
22259 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22260 PyObject
*arg2
= (PyObject
*) 0 ;
22261 PyObject
*arg3
= (PyObject
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 char * kwnames
[] = {
22268 (char *) "self",(char *) "self",(char *) "_class", NULL
22271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22273 if (!SWIG_IsOK(res1
)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22276 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_Py_Void();
22292 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
= 0;
22294 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char * kwnames
[] = {
22302 (char *) "self",(char *) "size", NULL
22305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22310 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22313 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_Py_Void();
22328 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
= 0;
22330 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22331 wxDC
*arg2
= (wxDC
*) 0 ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 char * kwnames
[] = {
22340 (char *) "self",(char *) "dc", NULL
22343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22345 if (!SWIG_IsOK(res1
)) {
22346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22348 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22350 if (!SWIG_IsOK(res2
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22353 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22369 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
= 0;
22371 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22386 PyObject
* obj0
= 0 ;
22387 PyObject
* obj1
= 0 ;
22388 PyObject
* obj2
= 0 ;
22389 PyObject
* obj3
= 0 ;
22390 PyObject
* obj4
= 0 ;
22391 char * kwnames
[] = {
22392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22397 if (!SWIG_IsOK(res1
)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22400 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22402 if (!SWIG_IsOK(ecode2
)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22405 arg2
= static_cast< int >(val2
);
22406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22407 if (!SWIG_IsOK(ecode3
)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22410 arg3
= static_cast< int >(val3
);
22411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22412 if (!SWIG_IsOK(ecode4
)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22415 arg4
= static_cast< int >(val4
);
22416 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22417 if (!SWIG_IsOK(ecode5
)) {
22418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22420 arg5
= static_cast< int >(val5
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_Py_Void();
22434 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
= 0;
22436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22441 int arg6
= (int) wxSIZE_AUTO
;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 PyObject
* obj2
= 0 ;
22457 PyObject
* obj3
= 0 ;
22458 PyObject
* obj4
= 0 ;
22459 PyObject
* obj5
= 0 ;
22460 char * kwnames
[] = {
22461 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22466 if (!SWIG_IsOK(res1
)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22469 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22471 if (!SWIG_IsOK(ecode2
)) {
22472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22474 arg2
= static_cast< int >(val2
);
22475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22476 if (!SWIG_IsOK(ecode3
)) {
22477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22479 arg3
= static_cast< int >(val3
);
22480 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22481 if (!SWIG_IsOK(ecode4
)) {
22482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22484 arg4
= static_cast< int >(val4
);
22485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22486 if (!SWIG_IsOK(ecode5
)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22489 arg5
= static_cast< int >(val5
);
22491 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22492 if (!SWIG_IsOK(ecode6
)) {
22493 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22495 arg6
= static_cast< int >(val6
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_Py_Void();
22510 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
= 0;
22512 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 char * kwnames
[] = {
22525 (char *) "self",(char *) "width",(char *) "height", NULL
22528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22530 if (!SWIG_IsOK(res1
)) {
22531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22533 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22535 if (!SWIG_IsOK(ecode2
)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22538 arg2
= static_cast< int >(val2
);
22539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22540 if (!SWIG_IsOK(ecode3
)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22543 arg3
= static_cast< int >(val3
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 (arg1
)->DoSetClientSize(arg2
,arg3
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= SWIG_Py_Void();
22557 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
= 0;
22559 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 PyObject
* obj2
= 0 ;
22571 char * kwnames
[] = {
22572 (char *) "self",(char *) "x",(char *) "y", NULL
22575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22577 if (!SWIG_IsOK(res1
)) {
22578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22580 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22582 if (!SWIG_IsOK(ecode2
)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22585 arg2
= static_cast< int >(val2
);
22586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22587 if (!SWIG_IsOK(ecode3
)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22590 arg3
= static_cast< int >(val3
);
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= SWIG_Py_Void();
22604 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22605 PyObject
*resultobj
= 0;
22606 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22607 int *arg2
= (int *) 0 ;
22608 int *arg3
= (int *) 0 ;
22612 int res2
= SWIG_TMPOBJ
;
22614 int res3
= SWIG_TMPOBJ
;
22615 PyObject
*swig_obj
[1] ;
22619 if (!args
) SWIG_fail
;
22620 swig_obj
[0] = args
;
22621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22625 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_Py_Void();
22633 if (SWIG_IsTmpObj(res2
)) {
22634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22636 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22639 if (SWIG_IsTmpObj(res3
)) {
22640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22642 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22651 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22654 int *arg2
= (int *) 0 ;
22655 int *arg3
= (int *) 0 ;
22659 int res2
= SWIG_TMPOBJ
;
22661 int res3
= SWIG_TMPOBJ
;
22662 PyObject
*swig_obj
[1] ;
22666 if (!args
) SWIG_fail
;
22667 swig_obj
[0] = args
;
22668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22672 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_Py_Void();
22680 if (SWIG_IsTmpObj(res2
)) {
22681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22683 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22686 if (SWIG_IsTmpObj(res3
)) {
22687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22689 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22698 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22699 PyObject
*resultobj
= 0;
22700 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22701 int *arg2
= (int *) 0 ;
22702 int *arg3
= (int *) 0 ;
22706 int res2
= SWIG_TMPOBJ
;
22708 int res3
= SWIG_TMPOBJ
;
22709 PyObject
*swig_obj
[1] ;
22713 if (!args
) SWIG_fail
;
22714 swig_obj
[0] = args
;
22715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22716 if (!SWIG_IsOK(res1
)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22719 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= SWIG_Py_Void();
22727 if (SWIG_IsTmpObj(res2
)) {
22728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22730 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22733 if (SWIG_IsTmpObj(res3
)) {
22734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22736 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22745 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22746 PyObject
*resultobj
= 0;
22747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22751 PyObject
*swig_obj
[1] ;
22753 if (!args
) SWIG_fail
;
22754 swig_obj
[0] = args
;
22755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22759 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22773 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22774 PyObject
*resultobj
= 0;
22775 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22779 PyObject
*swig_obj
[1] ;
22781 if (!args
) SWIG_fail
;
22782 swig_obj
[0] = args
;
22783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22787 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22801 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 PyObject
*resultobj
= 0;
22803 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22804 SwigValueWrapper
<wxVisualAttributes
> result
;
22807 PyObject
*swig_obj
[1] ;
22809 if (!args
) SWIG_fail
;
22810 swig_obj
[0] = args
;
22811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22815 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (arg1
)->GetDefaultAttributes();
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22829 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 PyObject
*resultobj
= 0;
22831 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22834 PyObject
*swig_obj
[1] ;
22836 if (!args
) SWIG_fail
;
22837 swig_obj
[0] = args
;
22838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22839 if (!SWIG_IsOK(res1
)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22842 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 (arg1
)->OnInternalIdle();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_Py_Void();
22856 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22860 return SWIG_Py_Void();
22863 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22864 return SWIG_Python_InitShadowInstance(args
);
22867 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
= 0;
22869 wxWindow
*arg1
= (wxWindow
*) 0 ;
22870 int arg2
= (int) (int)-1 ;
22871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22873 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22874 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22875 long arg5
= (long) 0 ;
22876 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22877 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22878 wxPyScrolledWindow
*result
= 0 ;
22887 bool temp6
= false ;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 PyObject
* obj2
= 0 ;
22891 PyObject
* obj3
= 0 ;
22892 PyObject
* obj4
= 0 ;
22893 PyObject
* obj5
= 0 ;
22894 char * kwnames
[] = {
22895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22906 if (!SWIG_IsOK(ecode2
)) {
22907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22909 arg2
= static_cast< int >(val2
);
22914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22924 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22925 if (!SWIG_IsOK(ecode5
)) {
22926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22928 arg5
= static_cast< long >(val5
);
22932 arg6
= wxString_in_helper(obj5
);
22933 if (arg6
== NULL
) SWIG_fail
;
22938 if (!wxPyCheckForApp()) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22959 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22960 PyObject
*resultobj
= 0;
22961 wxPyScrolledWindow
*result
= 0 ;
22963 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22965 if (!wxPyCheckForApp()) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22978 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
= 0;
22980 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22981 PyObject
*arg2
= (PyObject
*) 0 ;
22982 PyObject
*arg3
= (PyObject
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 PyObject
* obj2
= 0 ;
22988 char * kwnames
[] = {
22989 (char *) "self",(char *) "self",(char *) "_class", NULL
22992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22997 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_Py_Void();
23013 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
= 0;
23015 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char * kwnames
[] = {
23023 (char *) "self",(char *) "size", NULL
23026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23031 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_Py_Void();
23049 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
= 0;
23051 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23052 wxDC
*arg2
= (wxDC
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 char * kwnames
[] = {
23061 (char *) "self",(char *) "dc", NULL
23064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23066 if (!SWIG_IsOK(res1
)) {
23067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23069 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23071 if (!SWIG_IsOK(res2
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23074 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23090 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
= 0;
23092 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 PyObject
* obj2
= 0 ;
23110 PyObject
* obj3
= 0 ;
23111 PyObject
* obj4
= 0 ;
23112 char * kwnames
[] = {
23113 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23121 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23123 if (!SWIG_IsOK(ecode2
)) {
23124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23126 arg2
= static_cast< int >(val2
);
23127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23128 if (!SWIG_IsOK(ecode3
)) {
23129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23131 arg3
= static_cast< int >(val3
);
23132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23133 if (!SWIG_IsOK(ecode4
)) {
23134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23136 arg4
= static_cast< int >(val4
);
23137 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23138 if (!SWIG_IsOK(ecode5
)) {
23139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23141 arg5
= static_cast< int >(val5
);
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_Py_Void();
23155 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
= 0;
23157 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23162 int arg6
= (int) wxSIZE_AUTO
;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 PyObject
* obj2
= 0 ;
23178 PyObject
* obj3
= 0 ;
23179 PyObject
* obj4
= 0 ;
23180 PyObject
* obj5
= 0 ;
23181 char * kwnames
[] = {
23182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23187 if (!SWIG_IsOK(res1
)) {
23188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23190 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23192 if (!SWIG_IsOK(ecode2
)) {
23193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23195 arg2
= static_cast< int >(val2
);
23196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23197 if (!SWIG_IsOK(ecode3
)) {
23198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23200 arg3
= static_cast< int >(val3
);
23201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23202 if (!SWIG_IsOK(ecode4
)) {
23203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23205 arg4
= static_cast< int >(val4
);
23206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23207 if (!SWIG_IsOK(ecode5
)) {
23208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23210 arg5
= static_cast< int >(val5
);
23212 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23213 if (!SWIG_IsOK(ecode6
)) {
23214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23216 arg6
= static_cast< int >(val6
);
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_Py_Void();
23231 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
= 0;
23233 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 PyObject
* obj2
= 0 ;
23245 char * kwnames
[] = {
23246 (char *) "self",(char *) "width",(char *) "height", NULL
23249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23251 if (!SWIG_IsOK(res1
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23254 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23256 if (!SWIG_IsOK(ecode2
)) {
23257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23259 arg2
= static_cast< int >(val2
);
23260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23261 if (!SWIG_IsOK(ecode3
)) {
23262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23264 arg3
= static_cast< int >(val3
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->DoSetClientSize(arg2
,arg3
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_Py_Void();
23278 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
= 0;
23280 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 PyObject
* obj2
= 0 ;
23292 char * kwnames
[] = {
23293 (char *) "self",(char *) "x",(char *) "y", NULL
23296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23298 if (!SWIG_IsOK(res1
)) {
23299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23301 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23303 if (!SWIG_IsOK(ecode2
)) {
23304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23306 arg2
= static_cast< int >(val2
);
23307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23308 if (!SWIG_IsOK(ecode3
)) {
23309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23311 arg3
= static_cast< int >(val3
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_Py_Void();
23325 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23326 PyObject
*resultobj
= 0;
23327 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23328 int *arg2
= (int *) 0 ;
23329 int *arg3
= (int *) 0 ;
23333 int res2
= SWIG_TMPOBJ
;
23335 int res3
= SWIG_TMPOBJ
;
23336 PyObject
*swig_obj
[1] ;
23340 if (!args
) SWIG_fail
;
23341 swig_obj
[0] = args
;
23342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23343 if (!SWIG_IsOK(res1
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23346 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_Py_Void();
23354 if (SWIG_IsTmpObj(res2
)) {
23355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23357 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23360 if (SWIG_IsTmpObj(res3
)) {
23361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23363 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23372 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23373 PyObject
*resultobj
= 0;
23374 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23375 int *arg2
= (int *) 0 ;
23376 int *arg3
= (int *) 0 ;
23380 int res2
= SWIG_TMPOBJ
;
23382 int res3
= SWIG_TMPOBJ
;
23383 PyObject
*swig_obj
[1] ;
23387 if (!args
) SWIG_fail
;
23388 swig_obj
[0] = args
;
23389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23393 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_Py_Void();
23401 if (SWIG_IsTmpObj(res2
)) {
23402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23404 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23407 if (SWIG_IsTmpObj(res3
)) {
23408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23410 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23419 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23420 PyObject
*resultobj
= 0;
23421 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23422 int *arg2
= (int *) 0 ;
23423 int *arg3
= (int *) 0 ;
23427 int res2
= SWIG_TMPOBJ
;
23429 int res3
= SWIG_TMPOBJ
;
23430 PyObject
*swig_obj
[1] ;
23434 if (!args
) SWIG_fail
;
23435 swig_obj
[0] = args
;
23436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23440 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_Py_Void();
23448 if (SWIG_IsTmpObj(res2
)) {
23449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23451 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23454 if (SWIG_IsTmpObj(res3
)) {
23455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23457 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23466 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23467 PyObject
*resultobj
= 0;
23468 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23472 PyObject
*swig_obj
[1] ;
23474 if (!args
) SWIG_fail
;
23475 swig_obj
[0] = args
;
23476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23477 if (!SWIG_IsOK(res1
)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23480 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23494 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23495 PyObject
*resultobj
= 0;
23496 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23500 PyObject
*swig_obj
[1] ;
23502 if (!args
) SWIG_fail
;
23503 swig_obj
[0] = args
;
23504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23505 if (!SWIG_IsOK(res1
)) {
23506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23508 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23522 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23523 PyObject
*resultobj
= 0;
23524 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23525 SwigValueWrapper
<wxVisualAttributes
> result
;
23528 PyObject
*swig_obj
[1] ;
23530 if (!args
) SWIG_fail
;
23531 swig_obj
[0] = args
;
23532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23533 if (!SWIG_IsOK(res1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23536 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= (arg1
)->GetDefaultAttributes();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23550 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23551 PyObject
*resultobj
= 0;
23552 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23555 PyObject
*swig_obj
[1] ;
23557 if (!args
) SWIG_fail
;
23558 swig_obj
[0] = args
;
23559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23560 if (!SWIG_IsOK(res1
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23563 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 (arg1
)->OnInternalIdle();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_Py_Void();
23577 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23581 return SWIG_Py_Void();
23584 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23585 return SWIG_Python_InitShadowInstance(args
);
23588 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23589 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23594 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23595 PyObject
*pyobj
= 0;
23599 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23601 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23608 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23609 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23614 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23615 PyObject
*pyobj
= 0;
23619 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23621 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23628 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23629 PyObject
*resultobj
= 0;
23630 wxPrintData
*result
= 0 ;
23632 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (wxPrintData
*)new wxPrintData();
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23646 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23647 PyObject
*resultobj
= 0;
23648 wxPrintData
*arg1
= 0 ;
23649 wxPrintData
*result
= 0 ;
23653 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23661 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23675 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23679 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23682 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23685 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23689 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23694 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23695 PyObject
*resultobj
= 0;
23696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23699 PyObject
*swig_obj
[1] ;
23701 if (!args
) SWIG_fail
;
23702 swig_obj
[0] = args
;
23703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23704 if (!SWIG_IsOK(res1
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23707 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_Py_Void();
23722 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23723 PyObject
*resultobj
= 0;
23724 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23728 PyObject
*swig_obj
[1] ;
23730 if (!args
) SWIG_fail
;
23731 swig_obj
[0] = args
;
23732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23733 if (!SWIG_IsOK(res1
)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23736 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (int)(arg1
)->GetNoCopies();
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= SWIG_From_int(static_cast< int >(result
));
23750 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23751 PyObject
*resultobj
= 0;
23752 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23756 PyObject
*swig_obj
[1] ;
23758 if (!args
) SWIG_fail
;
23759 swig_obj
[0] = args
;
23760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23761 if (!SWIG_IsOK(res1
)) {
23762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23764 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (bool)(arg1
)->GetCollate();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23780 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23781 PyObject
*resultobj
= 0;
23782 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23786 PyObject
*swig_obj
[1] ;
23788 if (!args
) SWIG_fail
;
23789 swig_obj
[0] = args
;
23790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23791 if (!SWIG_IsOK(res1
)) {
23792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23794 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (int)(arg1
)->GetOrientation();
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= SWIG_From_int(static_cast< int >(result
));
23808 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23809 PyObject
*resultobj
= 0;
23810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23814 PyObject
*swig_obj
[1] ;
23816 if (!args
) SWIG_fail
;
23817 swig_obj
[0] = args
;
23818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23819 if (!SWIG_IsOK(res1
)) {
23820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23822 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 result
= (bool)(arg1
)->IsOk();
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23838 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23839 PyObject
*resultobj
= 0;
23840 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23841 wxString
*result
= 0 ;
23844 PyObject
*swig_obj
[1] ;
23846 if (!args
) SWIG_fail
;
23847 swig_obj
[0] = args
;
23848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23849 if (!SWIG_IsOK(res1
)) {
23850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23852 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23857 result
= (wxString
*) &_result_ref
;
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23864 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23866 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23875 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23876 PyObject
*resultobj
= 0;
23877 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23881 PyObject
*swig_obj
[1] ;
23883 if (!args
) SWIG_fail
;
23884 swig_obj
[0] = args
;
23885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23886 if (!SWIG_IsOK(res1
)) {
23887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23889 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (bool)(arg1
)->GetColour();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23906 PyObject
*resultobj
= 0;
23907 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23908 wxDuplexMode result
;
23911 PyObject
*swig_obj
[1] ;
23913 if (!args
) SWIG_fail
;
23914 swig_obj
[0] = args
;
23915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23919 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_From_int(static_cast< int >(result
));
23933 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23934 PyObject
*resultobj
= 0;
23935 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23936 wxPaperSize result
;
23939 PyObject
*swig_obj
[1] ;
23941 if (!args
) SWIG_fail
;
23942 swig_obj
[0] = args
;
23943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23944 if (!SWIG_IsOK(res1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23947 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= SWIG_From_int(static_cast< int >(result
));
23961 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23962 PyObject
*resultobj
= 0;
23963 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23964 wxSize
*result
= 0 ;
23967 PyObject
*swig_obj
[1] ;
23969 if (!args
) SWIG_fail
;
23970 swig_obj
[0] = args
;
23971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23972 if (!SWIG_IsOK(res1
)) {
23973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23975 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23980 result
= (wxSize
*) &_result_ref
;
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23992 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23993 PyObject
*resultobj
= 0;
23994 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23998 PyObject
*swig_obj
[1] ;
24000 if (!args
) SWIG_fail
;
24001 swig_obj
[0] = args
;
24002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24006 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (int)(arg1
)->GetQuality();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= SWIG_From_int(static_cast< int >(result
));
24020 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24021 PyObject
*resultobj
= 0;
24022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24026 PyObject
*swig_obj
[1] ;
24028 if (!args
) SWIG_fail
;
24029 swig_obj
[0] = args
;
24030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24031 if (!SWIG_IsOK(res1
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24034 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= (wxPrintBin
)(arg1
)->GetBin();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= SWIG_From_int(static_cast< int >(result
));
24048 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24049 PyObject
*resultobj
= 0;
24050 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24051 wxPrintMode result
;
24054 PyObject
*swig_obj
[1] ;
24056 if (!args
) SWIG_fail
;
24057 swig_obj
[0] = args
;
24058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24059 if (!SWIG_IsOK(res1
)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24062 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_From_int(static_cast< int >(result
));
24076 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24077 PyObject
*resultobj
= 0;
24078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24082 PyObject
*swig_obj
[1] ;
24084 if (!args
) SWIG_fail
;
24085 swig_obj
[0] = args
;
24086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24090 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_From_int(static_cast< int >(result
));
24104 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= 0;
24106 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 char * kwnames
[] = {
24115 (char *) "self",(char *) "v", NULL
24118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24120 if (!SWIG_IsOK(res1
)) {
24121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24123 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24125 if (!SWIG_IsOK(ecode2
)) {
24126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24128 arg2
= static_cast< int >(val2
);
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 (arg1
)->SetNoCopies(arg2
);
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 resultobj
= SWIG_Py_Void();
24142 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
= 0;
24144 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 char * kwnames
[] = {
24153 (char *) "self",(char *) "flag", NULL
24156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24158 if (!SWIG_IsOK(res1
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24161 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24162 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24163 if (!SWIG_IsOK(ecode2
)) {
24164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24166 arg2
= static_cast< bool >(val2
);
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 (arg1
)->SetCollate(arg2
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_Py_Void();
24180 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
= 0;
24182 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj1
= 0 ;
24190 char * kwnames
[] = {
24191 (char *) "self",(char *) "orient", NULL
24194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24196 if (!SWIG_IsOK(res1
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24199 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24201 if (!SWIG_IsOK(ecode2
)) {
24202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24204 arg2
= static_cast< int >(val2
);
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 (arg1
)->SetOrientation(arg2
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_Py_Void();
24218 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
= 0;
24220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24221 wxString
*arg2
= 0 ;
24224 bool temp2
= false ;
24225 PyObject
* obj0
= 0 ;
24226 PyObject
* obj1
= 0 ;
24227 char * kwnames
[] = {
24228 (char *) "self",(char *) "name", NULL
24231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24236 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24238 arg2
= wxString_in_helper(obj1
);
24239 if (arg2
== NULL
) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= SWIG_Py_Void();
24263 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
= 0;
24265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 char * kwnames
[] = {
24274 (char *) "self",(char *) "colour", NULL
24277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24282 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24283 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24284 if (!SWIG_IsOK(ecode2
)) {
24285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24287 arg2
= static_cast< bool >(val2
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 (arg1
)->SetColour(arg2
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_Py_Void();
24301 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
= 0;
24303 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24304 wxDuplexMode arg2
;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char * kwnames
[] = {
24312 (char *) "self",(char *) "duplex", NULL
24315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24320 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24322 if (!SWIG_IsOK(ecode2
)) {
24323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24325 arg2
= static_cast< wxDuplexMode
>(val2
);
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->SetDuplex(arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= SWIG_Py_Void();
24339 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
= 0;
24341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char * kwnames
[] = {
24350 (char *) "self",(char *) "sizeId", NULL
24353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24355 if (!SWIG_IsOK(res1
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24358 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24360 if (!SWIG_IsOK(ecode2
)) {
24361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24363 arg2
= static_cast< wxPaperSize
>(val2
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->SetPaperId(arg2
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_Py_Void();
24377 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 char * kwnames
[] = {
24387 (char *) "self",(char *) "sz", NULL
24390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24392 if (!SWIG_IsOK(res1
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24395 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= SWIG_Py_Void();
24413 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
= 0;
24415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 char * kwnames
[] = {
24424 (char *) "self",(char *) "quality", NULL
24427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24429 if (!SWIG_IsOK(res1
)) {
24430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24432 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24434 if (!SWIG_IsOK(ecode2
)) {
24435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24437 arg2
= static_cast< int >(val2
);
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 (arg1
)->SetQuality(arg2
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= SWIG_Py_Void();
24451 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
= 0;
24453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 char * kwnames
[] = {
24462 (char *) "self",(char *) "bin", NULL
24465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24470 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24472 if (!SWIG_IsOK(ecode2
)) {
24473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24475 arg2
= static_cast< wxPrintBin
>(val2
);
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->SetBin(arg2
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_Py_Void();
24489 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char * kwnames
[] = {
24500 (char *) "self",(char *) "printMode", NULL
24503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24505 if (!SWIG_IsOK(res1
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24508 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24510 if (!SWIG_IsOK(ecode2
)) {
24511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24513 arg2
= static_cast< wxPrintMode
>(val2
);
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 (arg1
)->SetPrintMode(arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_Py_Void();
24527 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
= 0;
24529 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char * kwnames
[] = {
24538 (char *) "self",(char *) "media", NULL
24541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24546 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24548 if (!SWIG_IsOK(ecode2
)) {
24549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24551 arg2
= static_cast< int >(val2
);
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 (arg1
)->SetMedia(arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= SWIG_Py_Void();
24565 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24566 PyObject
*resultobj
= 0;
24567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24571 PyObject
*swig_obj
[1] ;
24573 if (!args
) SWIG_fail
;
24574 swig_obj
[0] = args
;
24575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24576 if (!SWIG_IsOK(res1
)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24579 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24599 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= 0;
24601 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24602 wxString
*arg2
= 0 ;
24605 bool temp2
= false ;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 char * kwnames
[] = {
24609 (char *) "self",(char *) "filename", NULL
24612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24614 if (!SWIG_IsOK(res1
)) {
24615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24617 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24619 arg2
= wxString_in_helper(obj1
);
24620 if (arg2
== NULL
) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 (arg1
)->SetFilename((wxString
const &)*arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= SWIG_Py_Void();
24644 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24645 PyObject
*resultobj
= 0;
24646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24647 PyObject
*result
= 0 ;
24650 PyObject
*swig_obj
[1] ;
24652 if (!args
) SWIG_fail
;
24653 swig_obj
[0] = args
;
24654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24658 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= result
;
24672 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
= 0;
24674 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24675 PyObject
*arg2
= (PyObject
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char * kwnames
[] = {
24681 (char *) "self",(char *) "data", NULL
24684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24686 if (!SWIG_IsOK(res1
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24689 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 wxPrintData_SetPrivData(arg1
,arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_Py_Void();
24704 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24708 return SWIG_Py_Void();
24711 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 return SWIG_Python_InitShadowInstance(args
);
24715 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24716 PyObject
*resultobj
= 0;
24717 wxPageSetupDialogData
*result
= 0 ;
24719 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24733 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24734 PyObject
*resultobj
= 0;
24735 wxPageSetupDialogData
*arg1
= 0 ;
24736 wxPageSetupDialogData
*result
= 0 ;
24740 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24748 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24762 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24763 PyObject
*resultobj
= 0;
24764 wxPrintData
*arg1
= 0 ;
24765 wxPageSetupDialogData
*result
= 0 ;
24769 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24771 if (!SWIG_IsOK(res1
)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24777 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24791 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24795 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24798 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24803 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24804 _v
= SWIG_CheckState(res
);
24806 if (!_v
) goto check_2
;
24807 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24812 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24816 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24821 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24822 PyObject
*resultobj
= 0;
24823 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24826 PyObject
*swig_obj
[1] ;
24828 if (!args
) SWIG_fail
;
24829 swig_obj
[0] = args
;
24830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24834 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_Py_Void();
24849 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
= 0;
24851 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 char * kwnames
[] = {
24860 (char *) "self",(char *) "flag", NULL
24863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24868 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24869 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24870 if (!SWIG_IsOK(ecode2
)) {
24871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24873 arg2
= static_cast< bool >(val2
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->EnableHelp(arg2
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_Py_Void();
24887 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
= 0;
24889 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char * kwnames
[] = {
24898 (char *) "self",(char *) "flag", NULL
24901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24906 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24907 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24908 if (!SWIG_IsOK(ecode2
)) {
24909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24911 arg2
= static_cast< bool >(val2
);
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->EnableMargins(arg2
);
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= SWIG_Py_Void();
24925 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
= 0;
24927 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "self",(char *) "flag", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24944 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24945 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24946 if (!SWIG_IsOK(ecode2
)) {
24947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24949 arg2
= static_cast< bool >(val2
);
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->EnableOrientation(arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_Py_Void();
24963 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
= 0;
24965 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 char * kwnames
[] = {
24974 (char *) "self",(char *) "flag", NULL
24977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24979 if (!SWIG_IsOK(res1
)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24982 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24983 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24984 if (!SWIG_IsOK(ecode2
)) {
24985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24987 arg2
= static_cast< bool >(val2
);
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->EnablePaper(arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_Py_Void();
25001 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
= 0;
25003 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 char * kwnames
[] = {
25012 (char *) "self",(char *) "flag", NULL
25015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25017 if (!SWIG_IsOK(res1
)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25020 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25021 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25022 if (!SWIG_IsOK(ecode2
)) {
25023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25025 arg2
= static_cast< bool >(val2
);
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 (arg1
)->EnablePrinter(arg2
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_Py_Void();
25039 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25040 PyObject
*resultobj
= 0;
25041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25045 PyObject
*swig_obj
[1] ;
25047 if (!args
) SWIG_fail
;
25048 swig_obj
[0] = args
;
25049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25050 if (!SWIG_IsOK(res1
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25053 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= (bool)(arg1
)->GetDefaultMinMargins();
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25069 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25070 PyObject
*resultobj
= 0;
25071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25075 PyObject
*swig_obj
[1] ;
25077 if (!args
) SWIG_fail
;
25078 swig_obj
[0] = args
;
25079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25080 if (!SWIG_IsOK(res1
)) {
25081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25083 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (bool)(arg1
)->GetEnableMargins();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25099 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25100 PyObject
*resultobj
= 0;
25101 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25105 PyObject
*swig_obj
[1] ;
25107 if (!args
) SWIG_fail
;
25108 swig_obj
[0] = args
;
25109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25113 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (bool)(arg1
)->GetEnableOrientation();
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25129 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25130 PyObject
*resultobj
= 0;
25131 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25135 PyObject
*swig_obj
[1] ;
25137 if (!args
) SWIG_fail
;
25138 swig_obj
[0] = args
;
25139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25140 if (!SWIG_IsOK(res1
)) {
25141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25143 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (bool)(arg1
)->GetEnablePaper();
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25159 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25160 PyObject
*resultobj
= 0;
25161 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25165 PyObject
*swig_obj
[1] ;
25167 if (!args
) SWIG_fail
;
25168 swig_obj
[0] = args
;
25169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25173 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (bool)(arg1
)->GetEnablePrinter();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25189 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25190 PyObject
*resultobj
= 0;
25191 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25195 PyObject
*swig_obj
[1] ;
25197 if (!args
) SWIG_fail
;
25198 swig_obj
[0] = args
;
25199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25200 if (!SWIG_IsOK(res1
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25203 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 result
= (bool)(arg1
)->GetEnableHelp();
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25219 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25220 PyObject
*resultobj
= 0;
25221 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25225 PyObject
*swig_obj
[1] ;
25227 if (!args
) SWIG_fail
;
25228 swig_obj
[0] = args
;
25229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25233 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (bool)(arg1
)->GetDefaultInfo();
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25249 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25250 PyObject
*resultobj
= 0;
25251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25255 PyObject
*swig_obj
[1] ;
25257 if (!args
) SWIG_fail
;
25258 swig_obj
[0] = args
;
25259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25260 if (!SWIG_IsOK(res1
)) {
25261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25263 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (arg1
)->GetMarginTopLeft();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25277 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25278 PyObject
*resultobj
= 0;
25279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25283 PyObject
*swig_obj
[1] ;
25285 if (!args
) SWIG_fail
;
25286 swig_obj
[0] = args
;
25287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25291 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (arg1
)->GetMarginBottomRight();
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25305 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25306 PyObject
*resultobj
= 0;
25307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25311 PyObject
*swig_obj
[1] ;
25313 if (!args
) SWIG_fail
;
25314 swig_obj
[0] = args
;
25315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25319 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (arg1
)->GetMinMarginTopLeft();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25333 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25334 PyObject
*resultobj
= 0;
25335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25339 PyObject
*swig_obj
[1] ;
25341 if (!args
) SWIG_fail
;
25342 swig_obj
[0] = args
;
25343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25344 if (!SWIG_IsOK(res1
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25347 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (arg1
)->GetMinMarginBottomRight();
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25361 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25362 PyObject
*resultobj
= 0;
25363 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25364 wxPaperSize result
;
25367 PyObject
*swig_obj
[1] ;
25369 if (!args
) SWIG_fail
;
25370 swig_obj
[0] = args
;
25371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25372 if (!SWIG_IsOK(res1
)) {
25373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25375 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_From_int(static_cast< int >(result
));
25389 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 PyObject
*resultobj
= 0;
25391 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25395 PyObject
*swig_obj
[1] ;
25397 if (!args
) SWIG_fail
;
25398 swig_obj
[0] = args
;
25399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25400 if (!SWIG_IsOK(res1
)) {
25401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25403 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 result
= (arg1
)->GetPaperSize();
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25417 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 PyObject
*resultobj
= 0;
25419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25420 wxPrintData
*result
= 0 ;
25423 PyObject
*swig_obj
[1] ;
25425 if (!args
) SWIG_fail
;
25426 swig_obj
[0] = args
;
25427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25428 if (!SWIG_IsOK(res1
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25436 result
= (wxPrintData
*) &_result_ref
;
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25448 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25449 PyObject
*resultobj
= 0;
25450 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25454 PyObject
*swig_obj
[1] ;
25456 if (!args
) SWIG_fail
;
25457 swig_obj
[0] = args
;
25458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (bool)(arg1
)->IsOk();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25478 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
= 0;
25480 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 PyObject
* obj1
= 0 ;
25488 char * kwnames
[] = {
25489 (char *) "self",(char *) "flag", NULL
25492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25494 if (!SWIG_IsOK(res1
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25497 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25498 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25499 if (!SWIG_IsOK(ecode2
)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25502 arg2
= static_cast< bool >(val2
);
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 (arg1
)->SetDefaultInfo(arg2
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_Py_Void();
25516 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
= 0;
25518 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 char * kwnames
[] = {
25527 (char *) "self",(char *) "flag", NULL
25530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25535 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25536 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25537 if (!SWIG_IsOK(ecode2
)) {
25538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25540 arg2
= static_cast< bool >(val2
);
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 (arg1
)->SetDefaultMinMargins(arg2
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_Py_Void();
25554 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
= 0;
25556 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25557 wxPoint
*arg2
= 0 ;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 char * kwnames
[] = {
25564 (char *) "self",(char *) "pt", NULL
25567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25569 if (!SWIG_IsOK(res1
)) {
25570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25572 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_Py_Void();
25590 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= 0;
25592 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25593 wxPoint
*arg2
= 0 ;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 char * kwnames
[] = {
25600 (char *) "self",(char *) "pt", NULL
25603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25608 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_Py_Void();
25626 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
= 0;
25628 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25629 wxPoint
*arg2
= 0 ;
25633 PyObject
* obj0
= 0 ;
25634 PyObject
* obj1
= 0 ;
25635 char * kwnames
[] = {
25636 (char *) "self",(char *) "pt", NULL
25639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25641 if (!SWIG_IsOK(res1
)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25644 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_Py_Void();
25662 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
= 0;
25664 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25665 wxPoint
*arg2
= 0 ;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 char * kwnames
[] = {
25672 (char *) "self",(char *) "pt", NULL
25675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25677 if (!SWIG_IsOK(res1
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25680 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_Py_Void();
25698 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
= 0;
25700 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 char * kwnames
[] = {
25709 (char *) "self",(char *) "id", NULL
25712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25714 if (!SWIG_IsOK(res1
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25717 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25719 if (!SWIG_IsOK(ecode2
)) {
25720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25722 arg2
= static_cast< wxPaperSize
>(val2
);
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 (arg1
)->SetPaperId(arg2
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_Py_Void();
25736 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
= 0;
25738 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 char * kwnames
[] = {
25746 (char *) "self",(char *) "size", NULL
25749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25754 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25757 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= SWIG_Py_Void();
25772 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
= 0;
25774 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25775 wxPrintData
*arg2
= 0 ;
25780 PyObject
* obj0
= 0 ;
25781 PyObject
* obj1
= 0 ;
25782 char * kwnames
[] = {
25783 (char *) "self",(char *) "printData", NULL
25786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25788 if (!SWIG_IsOK(res1
)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25791 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25793 if (!SWIG_IsOK(res2
)) {
25794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25799 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 PyObject
*resultobj
= 0;
25815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25818 PyObject
*swig_obj
[1] ;
25820 if (!args
) SWIG_fail
;
25821 swig_obj
[0] = args
;
25822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25826 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25829 (arg1
)->CalculateIdFromPaperSize();
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= SWIG_Py_Void();
25840 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25841 PyObject
*resultobj
= 0;
25842 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25845 PyObject
*swig_obj
[1] ;
25847 if (!args
) SWIG_fail
;
25848 swig_obj
[0] = args
;
25849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25850 if (!SWIG_IsOK(res1
)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25853 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 (arg1
)->CalculatePaperSizeFromId();
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_Py_Void();
25867 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25870 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25871 return SWIG_Py_Void();
25874 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 return SWIG_Python_InitShadowInstance(args
);
25878 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
= 0;
25880 wxWindow
*arg1
= (wxWindow
*) 0 ;
25881 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25882 wxPageSetupDialog
*result
= 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char * kwnames
[] = {
25890 (char *) "parent",(char *) "data", NULL
25893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25898 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25901 if (!SWIG_IsOK(res2
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25904 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25907 if (!wxPyCheckForApp()) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25920 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25921 PyObject
*resultobj
= 0;
25922 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25925 PyObject
*swig_obj
[1] ;
25927 if (!args
) SWIG_fail
;
25928 swig_obj
[0] = args
;
25929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25930 if (!SWIG_IsOK(res1
)) {
25931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25933 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 resultobj
= SWIG_Py_Void();
25948 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25949 PyObject
*resultobj
= 0;
25950 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25951 wxPageSetupDialogData
*result
= 0 ;
25954 PyObject
*swig_obj
[1] ;
25956 if (!args
) SWIG_fail
;
25957 swig_obj
[0] = args
;
25958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25959 if (!SWIG_IsOK(res1
)) {
25960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25962 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25967 result
= (wxPageSetupDialogData
*) &_result_ref
;
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25979 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25980 PyObject
*resultobj
= 0;
25981 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25982 wxPageSetupDialogData
*result
= 0 ;
25985 PyObject
*swig_obj
[1] ;
25987 if (!args
) SWIG_fail
;
25988 swig_obj
[0] = args
;
25989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25990 if (!SWIG_IsOK(res1
)) {
25991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25993 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25998 result
= (wxPageSetupDialogData
*) &_result_ref
;
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26010 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 PyObject
*resultobj
= 0;
26012 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26016 PyObject
*swig_obj
[1] ;
26018 if (!args
) SWIG_fail
;
26019 swig_obj
[0] = args
;
26020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26024 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (int)(arg1
)->ShowModal();
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= SWIG_From_int(static_cast< int >(result
));
26038 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26042 return SWIG_Py_Void();
26045 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 return SWIG_Python_InitShadowInstance(args
);
26049 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26050 PyObject
*resultobj
= 0;
26051 wxPrintDialogData
*result
= 0 ;
26053 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26067 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26068 PyObject
*resultobj
= 0;
26069 wxPrintData
*arg1
= 0 ;
26070 wxPrintDialogData
*result
= 0 ;
26074 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26076 if (!SWIG_IsOK(res1
)) {
26077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26082 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26096 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26097 PyObject
*resultobj
= 0;
26098 wxPrintDialogData
*arg1
= 0 ;
26099 wxPrintDialogData
*result
= 0 ;
26103 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26105 if (!SWIG_IsOK(res1
)) {
26106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26111 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26125 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26129 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26132 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26137 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26138 _v
= SWIG_CheckState(res
);
26140 if (!_v
) goto check_2
;
26141 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26146 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26150 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26155 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26156 PyObject
*resultobj
= 0;
26157 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26160 PyObject
*swig_obj
[1] ;
26162 if (!args
) SWIG_fail
;
26163 swig_obj
[0] = args
;
26164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26165 if (!SWIG_IsOK(res1
)) {
26166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26168 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_Py_Void();
26183 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26184 PyObject
*resultobj
= 0;
26185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26189 PyObject
*swig_obj
[1] ;
26191 if (!args
) SWIG_fail
;
26192 swig_obj
[0] = args
;
26193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26194 if (!SWIG_IsOK(res1
)) {
26195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26197 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 resultobj
= SWIG_From_int(static_cast< int >(result
));
26211 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26212 PyObject
*resultobj
= 0;
26213 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26217 PyObject
*swig_obj
[1] ;
26219 if (!args
) SWIG_fail
;
26220 swig_obj
[0] = args
;
26221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26222 if (!SWIG_IsOK(res1
)) {
26223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26225 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_From_int(static_cast< int >(result
));
26239 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26240 PyObject
*resultobj
= 0;
26241 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26245 PyObject
*swig_obj
[1] ;
26247 if (!args
) SWIG_fail
;
26248 swig_obj
[0] = args
;
26249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26250 if (!SWIG_IsOK(res1
)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26253 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= SWIG_From_int(static_cast< int >(result
));
26267 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26268 PyObject
*resultobj
= 0;
26269 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26273 PyObject
*swig_obj
[1] ;
26275 if (!args
) SWIG_fail
;
26276 swig_obj
[0] = args
;
26277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26278 if (!SWIG_IsOK(res1
)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26281 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= SWIG_From_int(static_cast< int >(result
));
26295 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26296 PyObject
*resultobj
= 0;
26297 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26301 PyObject
*swig_obj
[1] ;
26303 if (!args
) SWIG_fail
;
26304 swig_obj
[0] = args
;
26305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26309 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26316 resultobj
= SWIG_From_int(static_cast< int >(result
));
26323 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26324 PyObject
*resultobj
= 0;
26325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26329 PyObject
*swig_obj
[1] ;
26331 if (!args
) SWIG_fail
;
26332 swig_obj
[0] = args
;
26333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26334 if (!SWIG_IsOK(res1
)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26337 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26353 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26354 PyObject
*resultobj
= 0;
26355 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26359 PyObject
*swig_obj
[1] ;
26361 if (!args
) SWIG_fail
;
26362 swig_obj
[0] = args
;
26363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26364 if (!SWIG_IsOK(res1
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26367 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26383 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26384 PyObject
*resultobj
= 0;
26385 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26389 PyObject
*swig_obj
[1] ;
26391 if (!args
) SWIG_fail
;
26392 swig_obj
[0] = args
;
26393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26397 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26413 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26414 PyObject
*resultobj
= 0;
26415 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26419 PyObject
*swig_obj
[1] ;
26421 if (!args
) SWIG_fail
;
26422 swig_obj
[0] = args
;
26423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26427 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26443 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
= 0;
26445 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 char * kwnames
[] = {
26454 (char *) "self",(char *) "v", NULL
26457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26459 if (!SWIG_IsOK(res1
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26462 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26464 if (!SWIG_IsOK(ecode2
)) {
26465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26467 arg2
= static_cast< int >(val2
);
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 (arg1
)->SetFromPage(arg2
);
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_Py_Void();
26481 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
= 0;
26483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char * kwnames
[] = {
26492 (char *) "self",(char *) "v", NULL
26495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26497 if (!SWIG_IsOK(res1
)) {
26498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26500 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26502 if (!SWIG_IsOK(ecode2
)) {
26503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26505 arg2
= static_cast< int >(val2
);
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 (arg1
)->SetToPage(arg2
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= 0;
26521 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 char * kwnames
[] = {
26530 (char *) "self",(char *) "v", NULL
26533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26538 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26540 if (!SWIG_IsOK(ecode2
)) {
26541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26543 arg2
= static_cast< int >(val2
);
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->SetMinPage(arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= SWIG_Py_Void();
26557 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
= 0;
26559 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 char * kwnames
[] = {
26568 (char *) "self",(char *) "v", NULL
26571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26576 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26578 if (!SWIG_IsOK(ecode2
)) {
26579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26581 arg2
= static_cast< int >(val2
);
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->SetMaxPage(arg2
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "v", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26614 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26616 if (!SWIG_IsOK(ecode2
)) {
26617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26619 arg2
= static_cast< int >(val2
);
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetNoCopies(arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= 0;
26635 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char * kwnames
[] = {
26644 (char *) "self",(char *) "flag", NULL
26647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26652 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26653 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26654 if (!SWIG_IsOK(ecode2
)) {
26655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26657 arg2
= static_cast< bool >(val2
);
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->SetAllPages(arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_Py_Void();
26671 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
= 0;
26673 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char * kwnames
[] = {
26682 (char *) "self",(char *) "flag", NULL
26685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26690 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26691 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26692 if (!SWIG_IsOK(ecode2
)) {
26693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26695 arg2
= static_cast< bool >(val2
);
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 (arg1
)->SetSelection(arg2
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_Py_Void();
26709 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
= 0;
26711 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char * kwnames
[] = {
26720 (char *) "self",(char *) "flag", NULL
26723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26728 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26729 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26730 if (!SWIG_IsOK(ecode2
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26733 arg2
= static_cast< bool >(val2
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 (arg1
)->SetCollate(arg2
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_Py_Void();
26747 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "flag", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26766 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26771 arg2
= static_cast< bool >(val2
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->SetPrintToFile(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 char * kwnames
[] = {
26796 (char *) "self",(char *) "flag", NULL
26799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26804 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26806 if (!SWIG_IsOK(ecode2
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26809 arg2
= static_cast< bool >(val2
);
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 (arg1
)->EnablePrintToFile(arg2
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_Py_Void();
26823 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "flag", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26842 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26844 if (!SWIG_IsOK(ecode2
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26847 arg2
= static_cast< bool >(val2
);
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 (arg1
)->EnableSelection(arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_Py_Void();
26861 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= 0;
26863 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 char * kwnames
[] = {
26872 (char *) "self",(char *) "flag", NULL
26875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26877 if (!SWIG_IsOK(res1
)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26880 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26882 if (!SWIG_IsOK(ecode2
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26885 arg2
= static_cast< bool >(val2
);
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 (arg1
)->EnablePageNumbers(arg2
);
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= SWIG_Py_Void();
26899 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
= 0;
26901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char * kwnames
[] = {
26910 (char *) "self",(char *) "flag", NULL
26913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26915 if (!SWIG_IsOK(res1
)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26918 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26919 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26920 if (!SWIG_IsOK(ecode2
)) {
26921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26923 arg2
= static_cast< bool >(val2
);
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 (arg1
)->EnableHelp(arg2
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= SWIG_Py_Void();
26937 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26938 PyObject
*resultobj
= 0;
26939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26943 PyObject
*swig_obj
[1] ;
26945 if (!args
) SWIG_fail
;
26946 swig_obj
[0] = args
;
26947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26948 if (!SWIG_IsOK(res1
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26951 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26967 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26968 PyObject
*resultobj
= 0;
26969 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26973 PyObject
*swig_obj
[1] ;
26975 if (!args
) SWIG_fail
;
26976 swig_obj
[0] = args
;
26977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26978 if (!SWIG_IsOK(res1
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26981 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26997 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26998 PyObject
*resultobj
= 0;
26999 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27003 PyObject
*swig_obj
[1] ;
27005 if (!args
) SWIG_fail
;
27006 swig_obj
[0] = args
;
27007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27008 if (!SWIG_IsOK(res1
)) {
27009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27011 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27027 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27028 PyObject
*resultobj
= 0;
27029 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27033 PyObject
*swig_obj
[1] ;
27035 if (!args
) SWIG_fail
;
27036 swig_obj
[0] = args
;
27037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27038 if (!SWIG_IsOK(res1
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27041 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27057 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27058 PyObject
*resultobj
= 0;
27059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27063 PyObject
*swig_obj
[1] ;
27065 if (!args
) SWIG_fail
;
27066 swig_obj
[0] = args
;
27067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27068 if (!SWIG_IsOK(res1
)) {
27069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27071 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27087 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27088 PyObject
*resultobj
= 0;
27089 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27090 wxPrintData
*result
= 0 ;
27093 PyObject
*swig_obj
[1] ;
27095 if (!args
) SWIG_fail
;
27096 swig_obj
[0] = args
;
27097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27101 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27106 result
= (wxPrintData
*) &_result_ref
;
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27118 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
= 0;
27120 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27121 wxPrintData
*arg2
= 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 char * kwnames
[] = {
27129 (char *) "self",(char *) "printData", NULL
27132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27137 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27139 if (!SWIG_IsOK(res2
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27145 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_Py_Void();
27159 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27162 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27163 return SWIG_Py_Void();
27166 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27167 return SWIG_Python_InitShadowInstance(args
);
27170 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
= 0;
27172 wxWindow
*arg1
= (wxWindow
*) 0 ;
27173 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27174 wxPrintDialog
*result
= 0 ;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char * kwnames
[] = {
27182 (char *) "parent",(char *) "data", NULL
27185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27187 if (!SWIG_IsOK(res1
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27193 if (!SWIG_IsOK(res2
)) {
27194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27196 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27199 if (!wxPyCheckForApp()) SWIG_fail
;
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27212 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27213 PyObject
*resultobj
= 0;
27214 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27217 PyObject
*swig_obj
[1] ;
27219 if (!args
) SWIG_fail
;
27220 swig_obj
[0] = args
;
27221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27225 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_Py_Void();
27240 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27241 PyObject
*resultobj
= 0;
27242 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27246 PyObject
*swig_obj
[1] ;
27248 if (!args
) SWIG_fail
;
27249 swig_obj
[0] = args
;
27250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27254 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 result
= (int)(arg1
)->ShowModal();
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= SWIG_From_int(static_cast< int >(result
));
27268 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27269 PyObject
*resultobj
= 0;
27270 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27271 wxPrintDialogData
*result
= 0 ;
27274 PyObject
*swig_obj
[1] ;
27276 if (!args
) SWIG_fail
;
27277 swig_obj
[0] = args
;
27278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27279 if (!SWIG_IsOK(res1
)) {
27280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27282 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27287 result
= (wxPrintDialogData
*) &_result_ref
;
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27299 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27300 PyObject
*resultobj
= 0;
27301 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27302 wxPrintData
*result
= 0 ;
27305 PyObject
*swig_obj
[1] ;
27307 if (!args
) SWIG_fail
;
27308 swig_obj
[0] = args
;
27309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27310 if (!SWIG_IsOK(res1
)) {
27311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27313 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27318 result
= (wxPrintData
*) &_result_ref
;
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27330 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27331 PyObject
*resultobj
= 0;
27332 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27336 PyObject
*swig_obj
[1] ;
27338 if (!args
) SWIG_fail
;
27339 swig_obj
[0] = args
;
27340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27341 if (!SWIG_IsOK(res1
)) {
27342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27344 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (wxDC
*)(arg1
)->GetPrintDC();
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27360 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27363 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27364 return SWIG_Py_Void();
27367 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 return SWIG_Python_InitShadowInstance(args
);
27371 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
= 0;
27373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27374 wxPrinter
*result
= 0 ;
27377 PyObject
* obj0
= 0 ;
27378 char * kwnames
[] = {
27379 (char *) "data", NULL
27382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27385 if (!SWIG_IsOK(res1
)) {
27386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27388 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27391 if (!wxPyCheckForApp()) SWIG_fail
;
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= (wxPrinter
*)new wxPrinter(arg1
);
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27404 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27406 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27409 PyObject
*swig_obj
[1] ;
27411 if (!args
) SWIG_fail
;
27412 swig_obj
[0] = args
;
27413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27417 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_Py_Void();
27432 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
= 0;
27434 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27435 wxWindow
*arg2
= (wxWindow
*) 0 ;
27436 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27437 wxWindow
*result
= 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 PyObject
* obj2
= 0 ;
27447 char * kwnames
[] = {
27448 (char *) "self",(char *) "parent",(char *) "printout", NULL
27451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27456 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27458 if (!SWIG_IsOK(res2
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27461 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27462 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27463 if (!SWIG_IsOK(res3
)) {
27464 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27466 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= wxPyMake_wxObject(result
, 0);
27482 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
= 0;
27484 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27485 wxWindow
*arg2
= (wxWindow
*) 0 ;
27486 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27487 wxString
*arg4
= 0 ;
27494 bool temp4
= false ;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj1
= 0 ;
27497 PyObject
* obj2
= 0 ;
27498 PyObject
* obj3
= 0 ;
27499 char * kwnames
[] = {
27500 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27505 if (!SWIG_IsOK(res1
)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27508 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27510 if (!SWIG_IsOK(res2
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27513 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27514 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27515 if (!SWIG_IsOK(res3
)) {
27516 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27518 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27520 arg4
= wxString_in_helper(obj3
);
27521 if (arg4
== NULL
) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_Py_Void();
27545 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
= 0;
27547 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27548 wxWindow
*arg2
= (wxWindow
*) 0 ;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 char * kwnames
[] = {
27557 (char *) "self",(char *) "parent", NULL
27560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27562 if (!SWIG_IsOK(res1
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27565 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27567 if (!SWIG_IsOK(res2
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= (bool)(arg1
)->Setup(arg2
);
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27586 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
= 0;
27588 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27589 wxWindow
*arg2
= (wxWindow
*) 0 ;
27590 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27591 bool arg4
= (bool) true ;
27601 PyObject
* obj0
= 0 ;
27602 PyObject
* obj1
= 0 ;
27603 PyObject
* obj2
= 0 ;
27604 PyObject
* obj3
= 0 ;
27605 char * kwnames
[] = {
27606 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27611 if (!SWIG_IsOK(res1
)) {
27612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27614 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27616 if (!SWIG_IsOK(res2
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27619 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27620 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27621 if (!SWIG_IsOK(res3
)) {
27622 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27624 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27626 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27627 if (!SWIG_IsOK(ecode4
)) {
27628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27630 arg4
= static_cast< bool >(val4
);
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27647 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
= 0;
27649 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27650 wxWindow
*arg2
= (wxWindow
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 char * kwnames
[] = {
27659 (char *) "self",(char *) "parent", NULL
27662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27667 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27669 if (!SWIG_IsOK(res2
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27688 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27689 PyObject
*resultobj
= 0;
27690 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27691 wxPrintDialogData
*result
= 0 ;
27694 PyObject
*swig_obj
[1] ;
27696 if (!args
) SWIG_fail
;
27697 swig_obj
[0] = args
;
27698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27702 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27707 result
= (wxPrintDialogData
*) &_result_ref
;
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27719 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27720 PyObject
*resultobj
= 0;
27721 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27725 PyObject
*swig_obj
[1] ;
27727 if (!args
) SWIG_fail
;
27728 swig_obj
[0] = args
;
27729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27733 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 result
= (bool)(arg1
)->GetAbort();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27749 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27750 PyObject
*resultobj
= 0;
27751 wxPrinterError result
;
27753 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 result
= (wxPrinterError
)wxPrinter::GetLastError();
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_From_int(static_cast< int >(result
));
27767 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27771 return SWIG_Py_Void();
27774 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27775 return SWIG_Python_InitShadowInstance(args
);
27778 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
= 0;
27780 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27781 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27782 wxPyPrintout
*result
= 0 ;
27783 bool temp1
= false ;
27784 PyObject
* obj0
= 0 ;
27785 char * kwnames
[] = {
27786 (char *) "title", NULL
27789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27792 arg1
= wxString_in_helper(obj0
);
27793 if (arg1
== NULL
) SWIG_fail
;
27798 if (!wxPyCheckForApp()) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27819 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27820 PyObject
*resultobj
= 0;
27821 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27824 PyObject
*swig_obj
[1] ;
27826 if (!args
) SWIG_fail
;
27827 swig_obj
[0] = args
;
27828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27832 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_Py_Void();
27847 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
= 0;
27849 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27850 PyObject
*arg2
= (PyObject
*) 0 ;
27851 PyObject
*arg3
= (PyObject
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 PyObject
* obj1
= 0 ;
27856 PyObject
* obj2
= 0 ;
27857 char * kwnames
[] = {
27858 (char *) "self",(char *) "self",(char *) "_class", NULL
27861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27863 if (!SWIG_IsOK(res1
)) {
27864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27866 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= SWIG_Py_Void();
27882 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27883 PyObject
*resultobj
= 0;
27884 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27888 PyObject
*swig_obj
[1] ;
27890 if (!args
) SWIG_fail
;
27891 swig_obj
[0] = args
;
27892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27893 if (!SWIG_IsOK(res1
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27896 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27916 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27917 PyObject
*resultobj
= 0;
27918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27922 PyObject
*swig_obj
[1] ;
27924 if (!args
) SWIG_fail
;
27925 swig_obj
[0] = args
;
27926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27930 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (wxDC
*)(arg1
)->GetDC();
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27946 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
= 0;
27948 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27949 wxDC
*arg2
= (wxDC
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 PyObject
* obj1
= 0 ;
27956 char * kwnames
[] = {
27957 (char *) "self",(char *) "dc", NULL
27960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27962 if (!SWIG_IsOK(res1
)) {
27963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27965 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27967 if (!SWIG_IsOK(res2
)) {
27968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27970 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 (arg1
)->SetDC(arg2
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= SWIG_Py_Void();
27984 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
= 0;
27986 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27991 PyObject
* obj0
= 0 ;
27992 PyObject
* obj1
= 0 ;
27993 char * kwnames
[] = {
27994 (char *) "self",(char *) "imageSize", NULL
27997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27999 if (!SWIG_IsOK(res1
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28002 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28005 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= SWIG_Py_Void();
28020 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28021 PyObject
*resultobj
= 0;
28022 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28027 PyObject
* obj0
= 0 ;
28028 PyObject
* obj1
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "self",(char *) "imageSize", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28038 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_Py_Void();
28056 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
= 0;
28058 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28060 wxPageSetupDialogData
*arg3
= 0 ;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 PyObject
* obj2
= 0 ;
28069 char * kwnames
[] = {
28070 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28078 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28083 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28084 if (!SWIG_IsOK(res3
)) {
28085 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28090 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= SWIG_Py_Void();
28104 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28105 PyObject
*resultobj
= 0;
28106 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28109 PyObject
*swig_obj
[1] ;
28111 if (!args
) SWIG_fail
;
28112 swig_obj
[0] = args
;
28113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28117 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->MapScreenSizeToPaper();
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_Py_Void();
28131 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28132 PyObject
*resultobj
= 0;
28133 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28136 PyObject
*swig_obj
[1] ;
28138 if (!args
) SWIG_fail
;
28139 swig_obj
[0] = args
;
28140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28144 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 (arg1
)->MapScreenSizeToPage();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_Py_Void();
28158 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
= 0;
28160 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28161 wxPageSetupDialogData
*arg2
= 0 ;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 char * kwnames
[] = {
28169 (char *) "self",(char *) "pageSetupData", NULL
28172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28174 if (!SWIG_IsOK(res1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28177 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28179 if (!SWIG_IsOK(res2
)) {
28180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28185 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_Py_Void();
28199 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28200 PyObject
*resultobj
= 0;
28201 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28204 PyObject
*swig_obj
[1] ;
28206 if (!args
) SWIG_fail
;
28207 swig_obj
[0] = args
;
28208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28209 if (!SWIG_IsOK(res1
)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28212 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 (arg1
)->MapScreenSizeToDevice();
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= SWIG_Py_Void();
28226 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 PyObject
*resultobj
= 0;
28228 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28232 PyObject
*swig_obj
[1] ;
28234 if (!args
) SWIG_fail
;
28235 swig_obj
[0] = args
;
28236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28237 if (!SWIG_IsOK(res1
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28240 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28254 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 PyObject
*resultobj
= 0;
28256 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28260 PyObject
*swig_obj
[1] ;
28262 if (!args
) SWIG_fail
;
28263 swig_obj
[0] = args
;
28264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28268 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28271 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28282 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
= 0;
28284 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28285 wxPageSetupDialogData
*arg2
= 0 ;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 char * kwnames
[] = {
28294 (char *) "self",(char *) "pageSetupData", NULL
28297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28302 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28304 if (!SWIG_IsOK(res2
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28310 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28324 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= 0;
28326 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28335 PyObject
* obj0
= 0 ;
28336 PyObject
* obj1
= 0 ;
28337 PyObject
* obj2
= 0 ;
28338 char * kwnames
[] = {
28339 (char *) "self",(char *) "x",(char *) "y", NULL
28342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28344 if (!SWIG_IsOK(res1
)) {
28345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28347 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28349 if (!SWIG_IsOK(ecode2
)) {
28350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28352 arg2
= static_cast< int >(val2
);
28353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28354 if (!SWIG_IsOK(ecode3
)) {
28355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28357 arg3
= static_cast< int >(val3
);
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_Py_Void();
28371 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
= 0;
28373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 PyObject
* obj2
= 0 ;
28385 char * kwnames
[] = {
28386 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28391 if (!SWIG_IsOK(res1
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28394 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28396 if (!SWIG_IsOK(ecode2
)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28399 arg2
= static_cast< int >(val2
);
28400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28401 if (!SWIG_IsOK(ecode3
)) {
28402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28404 arg3
= static_cast< int >(val3
);
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 resultobj
= SWIG_Py_Void();
28418 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
= 0;
28420 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 PyObject
* obj2
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "w",(char *) "h", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28441 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28443 if (!SWIG_IsOK(ecode2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28446 arg2
= static_cast< int >(val2
);
28447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28448 if (!SWIG_IsOK(ecode3
)) {
28449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28451 arg3
= static_cast< int >(val3
);
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_Py_Void();
28465 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 PyObject
*resultobj
= 0;
28467 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28468 int *arg2
= (int *) 0 ;
28469 int *arg3
= (int *) 0 ;
28473 int res2
= SWIG_TMPOBJ
;
28475 int res3
= SWIG_TMPOBJ
;
28476 PyObject
*swig_obj
[1] ;
28480 if (!args
) SWIG_fail
;
28481 swig_obj
[0] = args
;
28482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28486 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_Py_Void();
28494 if (SWIG_IsTmpObj(res2
)) {
28495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28497 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28500 if (SWIG_IsTmpObj(res3
)) {
28501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28512 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
= 0;
28514 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28523 PyObject
* obj0
= 0 ;
28524 PyObject
* obj1
= 0 ;
28525 PyObject
* obj2
= 0 ;
28526 char * kwnames
[] = {
28527 (char *) "self",(char *) "w",(char *) "h", NULL
28530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28532 if (!SWIG_IsOK(res1
)) {
28533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28535 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28537 if (!SWIG_IsOK(ecode2
)) {
28538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28540 arg2
= static_cast< int >(val2
);
28541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28542 if (!SWIG_IsOK(ecode3
)) {
28543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28545 arg3
= static_cast< int >(val3
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= SWIG_Py_Void();
28559 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28560 PyObject
*resultobj
= 0;
28561 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28562 int *arg2
= (int *) 0 ;
28563 int *arg3
= (int *) 0 ;
28567 int res2
= SWIG_TMPOBJ
;
28569 int res3
= SWIG_TMPOBJ
;
28570 PyObject
*swig_obj
[1] ;
28574 if (!args
) SWIG_fail
;
28575 swig_obj
[0] = args
;
28576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28577 if (!SWIG_IsOK(res1
)) {
28578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28580 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_Py_Void();
28588 if (SWIG_IsTmpObj(res2
)) {
28589 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28591 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28594 if (SWIG_IsTmpObj(res3
)) {
28595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28597 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28606 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
= 0;
28608 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 PyObject
* obj2
= 0 ;
28620 char * kwnames
[] = {
28621 (char *) "self",(char *) "x",(char *) "y", NULL
28624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28629 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28631 if (!SWIG_IsOK(ecode2
)) {
28632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28634 arg2
= static_cast< int >(val2
);
28635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28636 if (!SWIG_IsOK(ecode3
)) {
28637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28639 arg3
= static_cast< int >(val3
);
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->SetPPIScreen(arg2
,arg3
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28653 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28654 PyObject
*resultobj
= 0;
28655 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28656 int *arg2
= (int *) 0 ;
28657 int *arg3
= (int *) 0 ;
28661 int res2
= SWIG_TMPOBJ
;
28663 int res3
= SWIG_TMPOBJ
;
28664 PyObject
*swig_obj
[1] ;
28668 if (!args
) SWIG_fail
;
28669 swig_obj
[0] = args
;
28670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28674 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 (arg1
)->GetPPIScreen(arg2
,arg3
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_Py_Void();
28682 if (SWIG_IsTmpObj(res2
)) {
28683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28685 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28688 if (SWIG_IsTmpObj(res3
)) {
28689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28691 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28700 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
= 0;
28702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 PyObject
* obj2
= 0 ;
28714 char * kwnames
[] = {
28715 (char *) "self",(char *) "x",(char *) "y", NULL
28718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28720 if (!SWIG_IsOK(res1
)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28723 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28725 if (!SWIG_IsOK(ecode2
)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28728 arg2
= static_cast< int >(val2
);
28729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28730 if (!SWIG_IsOK(ecode3
)) {
28731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28733 arg3
= static_cast< int >(val3
);
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_Py_Void();
28747 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28748 PyObject
*resultobj
= 0;
28749 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28750 int *arg2
= (int *) 0 ;
28751 int *arg3
= (int *) 0 ;
28755 int res2
= SWIG_TMPOBJ
;
28757 int res3
= SWIG_TMPOBJ
;
28758 PyObject
*swig_obj
[1] ;
28762 if (!args
) SWIG_fail
;
28763 swig_obj
[0] = args
;
28764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28765 if (!SWIG_IsOK(res1
)) {
28766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28768 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28771 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28775 resultobj
= SWIG_Py_Void();
28776 if (SWIG_IsTmpObj(res2
)) {
28777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28779 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28782 if (SWIG_IsTmpObj(res3
)) {
28783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28785 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28794 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
= 0;
28796 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28801 PyObject
* obj0
= 0 ;
28802 PyObject
* obj1
= 0 ;
28803 char * kwnames
[] = {
28804 (char *) "self",(char *) "paperRectPixels", NULL
28807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28809 if (!SWIG_IsOK(res1
)) {
28810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28812 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= SWIG_Py_Void();
28830 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28831 PyObject
*resultobj
= 0;
28832 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28836 PyObject
*swig_obj
[1] ;
28838 if (!args
) SWIG_fail
;
28839 swig_obj
[0] = args
;
28840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28841 if (!SWIG_IsOK(res1
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28844 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28858 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28859 PyObject
*resultobj
= 0;
28860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28864 PyObject
*swig_obj
[1] ;
28866 if (!args
) SWIG_fail
;
28867 swig_obj
[0] = args
;
28868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28869 if (!SWIG_IsOK(res1
)) {
28870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28872 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (bool)(arg1
)->IsPreview();
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28888 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 char * kwnames
[] = {
28899 (char *) "self",(char *) "p", NULL
28902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28907 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28908 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28909 if (!SWIG_IsOK(ecode2
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28912 arg2
= static_cast< bool >(val2
);
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 (arg1
)->SetIsPreview(arg2
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_Py_Void();
28926 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
= 0;
28928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 PyObject
* obj2
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28950 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28952 if (!SWIG_IsOK(ecode2
)) {
28953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28955 arg2
= static_cast< int >(val2
);
28956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28957 if (!SWIG_IsOK(ecode3
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28960 arg3
= static_cast< int >(val3
);
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28976 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28977 PyObject
*resultobj
= 0;
28978 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28981 PyObject
*swig_obj
[1] ;
28983 if (!args
) SWIG_fail
;
28984 swig_obj
[0] = args
;
28985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28986 if (!SWIG_IsOK(res1
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28989 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 (arg1
)->OnEndDocument();
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= SWIG_Py_Void();
29003 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29004 PyObject
*resultobj
= 0;
29005 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29008 PyObject
*swig_obj
[1] ;
29010 if (!args
) SWIG_fail
;
29011 swig_obj
[0] = args
;
29012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29013 if (!SWIG_IsOK(res1
)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29016 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 (arg1
)->OnBeginPrinting();
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= SWIG_Py_Void();
29030 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29031 PyObject
*resultobj
= 0;
29032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29035 PyObject
*swig_obj
[1] ;
29037 if (!args
) SWIG_fail
;
29038 swig_obj
[0] = args
;
29039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29040 if (!SWIG_IsOK(res1
)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29043 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 (arg1
)->OnEndPrinting();
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29050 resultobj
= SWIG_Py_Void();
29057 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29058 PyObject
*resultobj
= 0;
29059 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29062 PyObject
*swig_obj
[1] ;
29064 if (!args
) SWIG_fail
;
29065 swig_obj
[0] = args
;
29066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29067 if (!SWIG_IsOK(res1
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29070 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 (arg1
)->OnPreparePrinting();
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_Py_Void();
29084 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
= 0;
29086 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29093 PyObject
* obj0
= 0 ;
29094 PyObject
* obj1
= 0 ;
29095 char * kwnames
[] = {
29096 (char *) "self",(char *) "page", NULL
29099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29101 if (!SWIG_IsOK(res1
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29104 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29106 if (!SWIG_IsOK(ecode2
)) {
29107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29109 arg2
= static_cast< int >(val2
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (bool)(arg1
)->HasPage(arg2
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29125 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29126 PyObject
*resultobj
= 0;
29127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29128 int *arg2
= (int *) 0 ;
29129 int *arg3
= (int *) 0 ;
29130 int *arg4
= (int *) 0 ;
29131 int *arg5
= (int *) 0 ;
29135 int res2
= SWIG_TMPOBJ
;
29137 int res3
= SWIG_TMPOBJ
;
29139 int res4
= SWIG_TMPOBJ
;
29141 int res5
= SWIG_TMPOBJ
;
29142 PyObject
*swig_obj
[1] ;
29148 if (!args
) SWIG_fail
;
29149 swig_obj
[0] = args
;
29150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29151 if (!SWIG_IsOK(res1
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29154 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_Py_Void();
29162 if (SWIG_IsTmpObj(res2
)) {
29163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29165 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29168 if (SWIG_IsTmpObj(res3
)) {
29169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29171 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29174 if (SWIG_IsTmpObj(res4
)) {
29175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29177 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29180 if (SWIG_IsTmpObj(res5
)) {
29181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29183 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29192 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29195 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29196 return SWIG_Py_Void();
29199 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29200 return SWIG_Python_InitShadowInstance(args
);
29203 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29205 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29206 wxWindow
*arg2
= (wxWindow
*) 0 ;
29207 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29208 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29209 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29210 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29211 long arg5
= (long) 0 ;
29212 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29213 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29214 wxPreviewCanvas
*result
= 0 ;
29223 bool temp6
= false ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 PyObject
* obj2
= 0 ;
29227 PyObject
* obj3
= 0 ;
29228 PyObject
* obj4
= 0 ;
29229 PyObject
* obj5
= 0 ;
29230 char * kwnames
[] = {
29231 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29236 if (!SWIG_IsOK(res1
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29239 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29241 if (!SWIG_IsOK(res2
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29244 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29254 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29258 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29259 if (!SWIG_IsOK(ecode5
)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29262 arg5
= static_cast< long >(val5
);
29266 arg6
= wxString_in_helper(obj5
);
29267 if (arg6
== NULL
) SWIG_fail
;
29272 if (!wxPyCheckForApp()) SWIG_fail
;
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29293 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29296 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29297 return SWIG_Py_Void();
29300 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29301 return SWIG_Python_InitShadowInstance(args
);
29304 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29305 PyObject
*resultobj
= 0;
29306 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29307 wxFrame
*arg2
= (wxFrame
*) 0 ;
29308 wxString
*arg3
= 0 ;
29309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29313 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29314 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29316 wxPreviewFrame
*result
= 0 ;
29320 bool temp3
= false ;
29325 bool temp7
= false ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 PyObject
* obj3
= 0 ;
29330 PyObject
* obj4
= 0 ;
29331 PyObject
* obj5
= 0 ;
29332 PyObject
* obj6
= 0 ;
29333 char * kwnames
[] = {
29334 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29338 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29339 if (!SWIG_IsOK(res1
)) {
29340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29343 if (!SWIG_IsOK(res2
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29346 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29348 arg3
= wxString_in_helper(obj2
);
29349 if (arg3
== NULL
) SWIG_fail
;
29355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29365 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29366 if (!SWIG_IsOK(ecode6
)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29369 arg6
= static_cast< long >(val6
);
29373 arg7
= wxString_in_helper(obj6
);
29374 if (arg7
== NULL
) SWIG_fail
;
29379 if (!wxPyCheckForApp()) SWIG_fail
;
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29408 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29409 PyObject
*resultobj
= 0;
29410 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29413 PyObject
*swig_obj
[1] ;
29415 if (!args
) SWIG_fail
;
29416 swig_obj
[0] = args
;
29417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29418 if (!SWIG_IsOK(res1
)) {
29419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29421 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 (arg1
)->Initialize();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= SWIG_Py_Void();
29435 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29436 PyObject
*resultobj
= 0;
29437 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29440 PyObject
*swig_obj
[1] ;
29442 if (!args
) SWIG_fail
;
29443 swig_obj
[0] = args
;
29444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29448 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 (arg1
)->CreateControlBar();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_Py_Void();
29462 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29463 PyObject
*resultobj
= 0;
29464 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29467 PyObject
*swig_obj
[1] ;
29469 if (!args
) SWIG_fail
;
29470 swig_obj
[0] = args
;
29471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29472 if (!SWIG_IsOK(res1
)) {
29473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29475 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 (arg1
)->CreateCanvas();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_Py_Void();
29489 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29490 PyObject
*resultobj
= 0;
29491 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29492 wxPreviewControlBar
*result
= 0 ;
29495 PyObject
*swig_obj
[1] ;
29497 if (!args
) SWIG_fail
;
29498 swig_obj
[0] = args
;
29499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29503 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29517 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29521 return SWIG_Py_Void();
29524 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29525 return SWIG_Python_InitShadowInstance(args
);
29528 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
= 0;
29530 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29532 wxWindow
*arg3
= (wxWindow
*) 0 ;
29533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29537 long arg6
= (long) wxTAB_TRAVERSAL
;
29538 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29539 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29540 wxPreviewControlBar
*result
= 0 ;
29551 bool temp7
= false ;
29552 PyObject
* obj0
= 0 ;
29553 PyObject
* obj1
= 0 ;
29554 PyObject
* obj2
= 0 ;
29555 PyObject
* obj3
= 0 ;
29556 PyObject
* obj4
= 0 ;
29557 PyObject
* obj5
= 0 ;
29558 PyObject
* obj6
= 0 ;
29559 char * kwnames
[] = {
29560 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29565 if (!SWIG_IsOK(res1
)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29568 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29569 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29570 if (!SWIG_IsOK(ecode2
)) {
29571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29573 arg2
= static_cast< long >(val2
);
29574 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29575 if (!SWIG_IsOK(res3
)) {
29576 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29578 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29592 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29593 if (!SWIG_IsOK(ecode6
)) {
29594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29596 arg6
= static_cast< long >(val6
);
29600 arg7
= wxString_in_helper(obj6
);
29601 if (arg7
== NULL
) SWIG_fail
;
29606 if (!wxPyCheckForApp()) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29627 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29633 PyObject
*swig_obj
[1] ;
29635 if (!args
) SWIG_fail
;
29636 swig_obj
[0] = args
;
29637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29641 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (int)(arg1
)->GetZoomControl();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_From_int(static_cast< int >(result
));
29655 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
= 0;
29657 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 char * kwnames
[] = {
29666 (char *) "self",(char *) "zoom", NULL
29669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29674 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29676 if (!SWIG_IsOK(ecode2
)) {
29677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29679 arg2
= static_cast< int >(val2
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 (arg1
)->SetZoomControl(arg2
);
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_Py_Void();
29693 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29694 PyObject
*resultobj
= 0;
29695 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29696 wxPrintPreview
*result
= 0 ;
29699 PyObject
*swig_obj
[1] ;
29701 if (!args
) SWIG_fail
;
29702 swig_obj
[0] = args
;
29703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29707 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29721 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29722 PyObject
*resultobj
= 0;
29723 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29726 PyObject
*swig_obj
[1] ;
29728 if (!args
) SWIG_fail
;
29729 swig_obj
[0] = args
;
29730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29731 if (!SWIG_IsOK(res1
)) {
29732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29734 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= SWIG_Py_Void();
29748 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29749 PyObject
*resultobj
= 0;
29750 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29753 PyObject
*swig_obj
[1] ;
29755 if (!args
) SWIG_fail
;
29756 swig_obj
[0] = args
;
29757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29758 if (!SWIG_IsOK(res1
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29761 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 (arg1
)->OnPrevious();
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= SWIG_Py_Void();
29775 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29776 PyObject
*resultobj
= 0;
29777 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29780 PyObject
*swig_obj
[1] ;
29782 if (!args
) SWIG_fail
;
29783 swig_obj
[0] = args
;
29784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29788 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_Py_Void();
29802 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29803 PyObject
*resultobj
= 0;
29804 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29807 PyObject
*swig_obj
[1] ;
29809 if (!args
) SWIG_fail
;
29810 swig_obj
[0] = args
;
29811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29815 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= SWIG_Py_Void();
29829 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29830 PyObject
*resultobj
= 0;
29831 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29834 PyObject
*swig_obj
[1] ;
29836 if (!args
) SWIG_fail
;
29837 swig_obj
[0] = args
;
29838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29842 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= SWIG_Py_Void();
29856 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29860 return SWIG_Py_Void();
29863 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29864 return SWIG_Python_InitShadowInstance(args
);
29867 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29868 PyObject
*resultobj
= 0;
29869 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29870 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29871 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29872 wxPrintPreview
*result
= 0 ;
29878 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29879 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29880 if (!SWIG_IsOK(res1
)) {
29881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29883 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29884 if (!SWIG_IsOK(res2
)) {
29885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29888 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29889 if (!SWIG_IsOK(res3
)) {
29890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29892 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29895 if (!wxPyCheckForApp()) SWIG_fail
;
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29908 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29909 PyObject
*resultobj
= 0;
29910 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29911 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29912 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29913 wxPrintPreview
*result
= 0 ;
29919 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29920 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29921 if (!SWIG_IsOK(res1
)) {
29922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29924 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29925 if (!SWIG_IsOK(res2
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29928 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29929 if (!SWIG_IsOK(res3
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29932 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29934 if (!wxPyCheckForApp()) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29947 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29951 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29953 if ((argc
>= 2) && (argc
<= 3)) {
29958 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29959 _v
= SWIG_CheckState(res
);
29961 if (!_v
) goto check_1
;
29963 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29968 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29972 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29977 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29978 PyObject
*resultobj
= 0;
29979 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29982 PyObject
*swig_obj
[1] ;
29984 if (!args
) SWIG_fail
;
29985 swig_obj
[0] = args
;
29986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29987 if (!SWIG_IsOK(res1
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29990 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29998 resultobj
= SWIG_Py_Void();
30005 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
= 0;
30007 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "self",(char *) "pageNum", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30025 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30027 if (!SWIG_IsOK(ecode2
)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30030 arg2
= static_cast< int >(val2
);
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30046 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30047 PyObject
*resultobj
= 0;
30048 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30052 PyObject
*swig_obj
[1] ;
30054 if (!args
) SWIG_fail
;
30055 swig_obj
[0] = args
;
30056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30057 if (!SWIG_IsOK(res1
)) {
30058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30060 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 result
= (int)(arg1
)->GetCurrentPage();
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 resultobj
= SWIG_From_int(static_cast< int >(result
));
30074 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
= 0;
30076 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30077 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 char * kwnames
[] = {
30084 (char *) "self",(char *) "printout", NULL
30087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30092 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30093 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30094 if (!SWIG_IsOK(res2
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 (arg1
)->SetPrintout(arg2
);
30100 wxPyEndAllowThreads(__tstate
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= SWIG_Py_Void();
30110 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30111 PyObject
*resultobj
= 0;
30112 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30113 wxPyPrintout
*result
= 0 ;
30116 PyObject
*swig_obj
[1] ;
30118 if (!args
) SWIG_fail
;
30119 swig_obj
[0] = args
;
30120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30124 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= wxPyMake_wxObject(result
, 0);
30140 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30141 PyObject
*resultobj
= 0;
30142 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30143 wxPyPrintout
*result
= 0 ;
30146 PyObject
*swig_obj
[1] ;
30148 if (!args
) SWIG_fail
;
30149 swig_obj
[0] = args
;
30150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30151 if (!SWIG_IsOK(res1
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30154 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= wxPyMake_wxObject(result
, 0);
30170 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
= 0;
30172 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30173 wxFrame
*arg2
= (wxFrame
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "self",(char *) "frame", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30189 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30191 if (!SWIG_IsOK(res2
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30194 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 (arg1
)->SetFrame(arg2
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_Py_Void();
30208 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30211 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 char * kwnames
[] = {
30219 (char *) "self",(char *) "canvas", NULL
30222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30227 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30229 if (!SWIG_IsOK(res2
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30232 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 (arg1
)->SetCanvas(arg2
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_Py_Void();
30246 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30247 PyObject
*resultobj
= 0;
30248 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30249 wxFrame
*result
= 0 ;
30252 PyObject
*swig_obj
[1] ;
30254 if (!args
) SWIG_fail
;
30255 swig_obj
[0] = args
;
30256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30257 if (!SWIG_IsOK(res1
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30260 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (wxFrame
*)(arg1
)->GetFrame();
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= wxPyMake_wxObject(result
, 0);
30276 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30277 PyObject
*resultobj
= 0;
30278 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30279 wxPreviewCanvas
*result
= 0 ;
30282 PyObject
*swig_obj
[1] ;
30284 if (!args
) SWIG_fail
;
30285 swig_obj
[0] = args
;
30286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30287 if (!SWIG_IsOK(res1
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30290 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30304 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
= 0;
30306 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30307 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30316 PyObject
* obj0
= 0 ;
30317 PyObject
* obj1
= 0 ;
30318 PyObject
* obj2
= 0 ;
30319 char * kwnames
[] = {
30320 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30325 if (!SWIG_IsOK(res1
)) {
30326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30328 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30330 if (!SWIG_IsOK(res2
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30333 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30334 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30335 if (!SWIG_IsOK(res3
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30341 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30357 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
= 0;
30359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30360 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 PyObject
* obj2
= 0 ;
30372 char * kwnames
[] = {
30373 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30378 if (!SWIG_IsOK(res1
)) {
30379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30381 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30383 if (!SWIG_IsOK(res2
)) {
30384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30386 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30387 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30388 if (!SWIG_IsOK(res3
)) {
30389 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30394 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30410 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
= 0;
30412 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30419 PyObject
* obj0
= 0 ;
30420 PyObject
* obj1
= 0 ;
30421 char * kwnames
[] = {
30422 (char *) "self",(char *) "pageNum", NULL
30425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30427 if (!SWIG_IsOK(res1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30430 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30432 if (!SWIG_IsOK(ecode2
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30435 arg2
= static_cast< int >(val2
);
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 result
= (bool)(arg1
)->RenderPage(arg2
);
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30451 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30454 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 char * kwnames
[] = {
30462 (char *) "self",(char *) "canvas", NULL
30465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30467 if (!SWIG_IsOK(res1
)) {
30468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30470 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30472 if (!SWIG_IsOK(res2
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30475 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 (arg1
)->AdjustScrollbars(arg2
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= SWIG_Py_Void();
30489 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30490 PyObject
*resultobj
= 0;
30491 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30492 wxPrintDialogData
*result
= 0 ;
30495 PyObject
*swig_obj
[1] ;
30497 if (!args
) SWIG_fail
;
30498 swig_obj
[0] = args
;
30499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30500 if (!SWIG_IsOK(res1
)) {
30501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30503 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30508 result
= (wxPrintDialogData
*) &_result_ref
;
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30520 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
= 0;
30522 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30528 PyObject
* obj0
= 0 ;
30529 PyObject
* obj1
= 0 ;
30530 char * kwnames
[] = {
30531 (char *) "self",(char *) "percent", NULL
30534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30536 if (!SWIG_IsOK(res1
)) {
30537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30539 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30541 if (!SWIG_IsOK(ecode2
)) {
30542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30544 arg2
= static_cast< int >(val2
);
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 (arg1
)->SetZoom(arg2
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= SWIG_Py_Void();
30558 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30559 PyObject
*resultobj
= 0;
30560 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30564 PyObject
*swig_obj
[1] ;
30566 if (!args
) SWIG_fail
;
30567 swig_obj
[0] = args
;
30568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30572 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 result
= (int)(arg1
)->GetZoom();
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_From_int(static_cast< int >(result
));
30586 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30587 PyObject
*resultobj
= 0;
30588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30592 PyObject
*swig_obj
[1] ;
30594 if (!args
) SWIG_fail
;
30595 swig_obj
[0] = args
;
30596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30597 if (!SWIG_IsOK(res1
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30600 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 result
= (int)(arg1
)->GetMaxPage();
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30607 resultobj
= SWIG_From_int(static_cast< int >(result
));
30614 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30615 PyObject
*resultobj
= 0;
30616 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30620 PyObject
*swig_obj
[1] ;
30622 if (!args
) SWIG_fail
;
30623 swig_obj
[0] = args
;
30624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30625 if (!SWIG_IsOK(res1
)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30628 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 result
= (int)(arg1
)->GetMinPage();
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_From_int(static_cast< int >(result
));
30642 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30643 PyObject
*resultobj
= 0;
30644 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30648 PyObject
*swig_obj
[1] ;
30650 if (!args
) SWIG_fail
;
30651 swig_obj
[0] = args
;
30652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30656 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 result
= (bool)(arg1
)->IsOk();
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30672 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
= 0;
30674 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 PyObject
* obj1
= 0 ;
30682 char * kwnames
[] = {
30683 (char *) "self",(char *) "ok", NULL
30686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30688 if (!SWIG_IsOK(res1
)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30691 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30692 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30693 if (!SWIG_IsOK(ecode2
)) {
30694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30696 arg2
= static_cast< bool >(val2
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->SetOk(arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
= 0;
30712 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 char * kwnames
[] = {
30722 (char *) "self",(char *) "interactive", NULL
30725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30727 if (!SWIG_IsOK(res1
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30730 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30731 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30732 if (!SWIG_IsOK(ecode2
)) {
30733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30735 arg2
= static_cast< bool >(val2
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (bool)(arg1
)->Print(arg2
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30751 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30752 PyObject
*resultobj
= 0;
30753 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30756 PyObject
*swig_obj
[1] ;
30758 if (!args
) SWIG_fail
;
30759 swig_obj
[0] = args
;
30760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30761 if (!SWIG_IsOK(res1
)) {
30762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30764 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30767 (arg1
)->DetermineScaling();
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30771 resultobj
= SWIG_Py_Void();
30778 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30781 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30782 return SWIG_Py_Void();
30785 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30786 return SWIG_Python_InitShadowInstance(args
);
30789 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30790 PyObject
*resultobj
= 0;
30791 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30792 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30793 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30794 wxPyPrintPreview
*result
= 0 ;
30800 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30801 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30802 if (!SWIG_IsOK(res1
)) {
30803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30805 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30806 if (!SWIG_IsOK(res2
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30810 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30811 if (!SWIG_IsOK(res3
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30814 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30817 if (!wxPyCheckForApp()) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30830 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30831 PyObject
*resultobj
= 0;
30832 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30833 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30834 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30835 wxPyPrintPreview
*result
= 0 ;
30841 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30842 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30846 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30847 if (!SWIG_IsOK(res2
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30850 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30851 if (!SWIG_IsOK(res3
)) {
30852 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30854 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30856 if (!wxPyCheckForApp()) SWIG_fail
;
30857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30858 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30869 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30873 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30875 if ((argc
>= 2) && (argc
<= 3)) {
30880 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30881 _v
= SWIG_CheckState(res
);
30883 if (!_v
) goto check_1
;
30885 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30890 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30894 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30899 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
= 0;
30901 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30902 PyObject
*arg2
= (PyObject
*) 0 ;
30903 PyObject
*arg3
= (PyObject
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 PyObject
* obj2
= 0 ;
30909 char * kwnames
[] = {
30910 (char *) "self",(char *) "self",(char *) "_class", NULL
30913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30918 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 resultobj
= SWIG_Py_Void();
30934 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30937 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30938 return SWIG_Py_Void();
30941 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30942 return SWIG_Python_InitShadowInstance(args
);
30945 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
= 0;
30947 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30948 wxFrame
*arg2
= (wxFrame
*) 0 ;
30949 wxString
*arg3
= 0 ;
30950 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30951 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30952 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30953 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30954 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30955 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30956 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30957 wxPyPreviewFrame
*result
= 0 ;
30962 bool temp3
= false ;
30967 bool temp7
= false ;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 PyObject
* obj2
= 0 ;
30971 PyObject
* obj3
= 0 ;
30972 PyObject
* obj4
= 0 ;
30973 PyObject
* obj5
= 0 ;
30974 PyObject
* obj6
= 0 ;
30975 char * kwnames
[] = {
30976 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30981 if (!SWIG_IsOK(res1
)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30984 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30986 if (!SWIG_IsOK(res2
)) {
30987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30989 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30991 arg3
= wxString_in_helper(obj2
);
30992 if (arg3
== NULL
) SWIG_fail
;
30998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31008 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31009 if (!SWIG_IsOK(ecode6
)) {
31010 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31012 arg6
= static_cast< long >(val6
);
31016 arg7
= wxString_in_helper(obj6
);
31017 if (arg7
== NULL
) SWIG_fail
;
31022 if (!wxPyCheckForApp()) SWIG_fail
;
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31025 wxPyEndAllowThreads(__tstate
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31051 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
= 0;
31053 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31054 PyObject
*arg2
= (PyObject
*) 0 ;
31055 PyObject
*arg3
= (PyObject
*) 0 ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 char * kwnames
[] = {
31062 (char *) "self",(char *) "self",(char *) "_class", NULL
31065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31070 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_Py_Void();
31086 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
= 0;
31088 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31089 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 char * kwnames
[] = {
31097 (char *) "self",(char *) "canvas", NULL
31100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31102 if (!SWIG_IsOK(res1
)) {
31103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31105 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31107 if (!SWIG_IsOK(res2
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31110 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 (arg1
)->SetPreviewCanvas(arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31117 resultobj
= SWIG_Py_Void();
31124 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31125 PyObject
*resultobj
= 0;
31126 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31127 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 char * kwnames
[] = {
31135 (char *) "self",(char *) "bar", NULL
31138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31140 if (!SWIG_IsOK(res1
)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31143 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31145 if (!SWIG_IsOK(res2
)) {
31146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31148 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 (arg1
)->SetControlBar(arg2
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_Py_Void();
31162 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31163 PyObject
*resultobj
= 0;
31164 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31167 PyObject
*swig_obj
[1] ;
31169 if (!args
) SWIG_fail
;
31170 swig_obj
[0] = args
;
31171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31172 if (!SWIG_IsOK(res1
)) {
31173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31175 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 (arg1
)->Initialize();
31179 wxPyEndAllowThreads(__tstate
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31182 resultobj
= SWIG_Py_Void();
31189 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31190 PyObject
*resultobj
= 0;
31191 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31194 PyObject
*swig_obj
[1] ;
31196 if (!args
) SWIG_fail
;
31197 swig_obj
[0] = args
;
31198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31199 if (!SWIG_IsOK(res1
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31202 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 (arg1
)->CreateCanvas();
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= SWIG_Py_Void();
31216 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31217 PyObject
*resultobj
= 0;
31218 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31221 PyObject
*swig_obj
[1] ;
31223 if (!args
) SWIG_fail
;
31224 swig_obj
[0] = args
;
31225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31226 if (!SWIG_IsOK(res1
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31229 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 (arg1
)->CreateControlBar();
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= SWIG_Py_Void();
31243 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31247 return SWIG_Py_Void();
31250 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31251 return SWIG_Python_InitShadowInstance(args
);
31254 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31255 PyObject
*resultobj
= 0;
31256 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31258 wxWindow
*arg3
= (wxWindow
*) 0 ;
31259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31263 long arg6
= (long) 0 ;
31264 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31265 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31266 wxPyPreviewControlBar
*result
= 0 ;
31277 bool temp7
= false ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 PyObject
* obj2
= 0 ;
31281 PyObject
* obj3
= 0 ;
31282 PyObject
* obj4
= 0 ;
31283 PyObject
* obj5
= 0 ;
31284 PyObject
* obj6
= 0 ;
31285 char * kwnames
[] = {
31286 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31291 if (!SWIG_IsOK(res1
)) {
31292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31294 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31295 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31296 if (!SWIG_IsOK(ecode2
)) {
31297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31299 arg2
= static_cast< long >(val2
);
31300 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31301 if (!SWIG_IsOK(res3
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31304 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31318 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31319 if (!SWIG_IsOK(ecode6
)) {
31320 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31322 arg6
= static_cast< long >(val6
);
31326 arg7
= wxString_in_helper(obj6
);
31327 if (arg7
== NULL
) SWIG_fail
;
31332 if (!wxPyCheckForApp()) SWIG_fail
;
31333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31334 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31353 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
= 0;
31355 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31356 PyObject
*arg2
= (PyObject
*) 0 ;
31357 PyObject
*arg3
= (PyObject
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 PyObject
* obj1
= 0 ;
31362 PyObject
* obj2
= 0 ;
31363 char * kwnames
[] = {
31364 (char *) "self",(char *) "self",(char *) "_class", NULL
31367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31372 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31381 resultobj
= SWIG_Py_Void();
31388 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
= 0;
31390 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31391 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31396 PyObject
* obj0
= 0 ;
31397 PyObject
* obj1
= 0 ;
31398 char * kwnames
[] = {
31399 (char *) "self",(char *) "preview", NULL
31402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31404 if (!SWIG_IsOK(res1
)) {
31405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31407 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31409 if (!SWIG_IsOK(res2
)) {
31410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31412 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 (arg1
)->SetPrintPreview(arg2
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= SWIG_Py_Void();
31426 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31427 PyObject
*resultobj
= 0;
31428 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31431 PyObject
*swig_obj
[1] ;
31433 if (!args
) SWIG_fail
;
31434 swig_obj
[0] = args
;
31435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31436 if (!SWIG_IsOK(res1
)) {
31437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31439 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 (arg1
)->CreateButtons();
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= SWIG_Py_Void();
31453 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31454 PyObject
*resultobj
= 0;
31455 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 char * kwnames
[] = {
31464 (char *) "self",(char *) "zoom", NULL
31467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31469 if (!SWIG_IsOK(res1
)) {
31470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31472 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31474 if (!SWIG_IsOK(ecode2
)) {
31475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31477 arg2
= static_cast< int >(val2
);
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->SetZoomControl(arg2
);
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 resultobj
= SWIG_Py_Void();
31491 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31494 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31495 return SWIG_Py_Void();
31498 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31499 return SWIG_Python_InitShadowInstance(args
);
31502 static PyMethodDef SwigMethods
[] = {
31503 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31505 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31507 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31509 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31510 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31512 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31519 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31521 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31523 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31524 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31525 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31526 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31527 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31530 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31533 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31534 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31536 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31538 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31539 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31540 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31541 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31545 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31547 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31551 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31553 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31555 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31558 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31559 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31561 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31563 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31565 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31568 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31575 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31577 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31582 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31583 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31585 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31588 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31590 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31592 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31597 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31598 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31601 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31602 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31604 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31606 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31607 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31610 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31611 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31612 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31614 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31615 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31616 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31617 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31618 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31620 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31623 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31632 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31633 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31635 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31636 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31638 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31640 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31641 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31643 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31649 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31650 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31653 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31654 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31656 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31658 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31660 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31662 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31664 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31666 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31667 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31670 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31671 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31672 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31673 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31674 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31675 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31677 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31685 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31687 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31690 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31691 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31694 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31695 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31697 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31699 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31702 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31704 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31706 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31707 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31708 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31711 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31713 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31715 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31717 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31719 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31720 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31721 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31724 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31726 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31728 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31730 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31732 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31733 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31737 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31738 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31739 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31740 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31744 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31745 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31747 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31750 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31751 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31753 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31756 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31757 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31758 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31761 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31762 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31763 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31765 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31774 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31775 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31776 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31777 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31779 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31780 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31783 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31784 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31786 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31789 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31790 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31791 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31794 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31795 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31797 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31798 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31800 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31805 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31806 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31812 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31813 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31815 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31819 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31821 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31822 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31823 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31824 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31826 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31827 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31828 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31830 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31832 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31833 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31835 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31836 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31837 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31838 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31839 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31840 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31845 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31846 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31848 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31849 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31850 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31853 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31854 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31857 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31858 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31866 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31867 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31868 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31869 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31870 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31871 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31872 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31873 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31874 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31875 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31878 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31879 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31880 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31882 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31883 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31885 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31886 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31888 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31890 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31891 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31893 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31894 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31896 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31897 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31898 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31899 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31900 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31902 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31903 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31904 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31905 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31906 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31907 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31914 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31915 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31917 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31918 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31919 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31922 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31923 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31927 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31928 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31929 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31931 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31932 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31933 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31934 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31938 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31939 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31941 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31942 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31943 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31944 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31948 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31949 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31951 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31953 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31955 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31956 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31958 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31960 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31961 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31962 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31963 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31964 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31965 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31968 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31970 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31972 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31973 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31974 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31976 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31978 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31979 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31981 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31989 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31990 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31991 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31992 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31993 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31994 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31995 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31996 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31997 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31999 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32007 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32008 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32009 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32010 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32011 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32012 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32013 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32014 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32015 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32017 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32025 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32026 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32027 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32028 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32029 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32030 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32031 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32032 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32033 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32034 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32035 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32036 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32037 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32038 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32039 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32040 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32041 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32042 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32043 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32044 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32045 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32046 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32047 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32048 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32061 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32063 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32065 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32066 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32067 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32068 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32074 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32075 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32076 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32077 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32078 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32079 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32080 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32081 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32082 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32083 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32084 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32085 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32086 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32087 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32088 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32098 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32099 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32100 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32101 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32103 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32104 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32105 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32106 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32107 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32108 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32109 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32110 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32111 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32112 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32113 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32114 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32115 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32116 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32117 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32118 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32119 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32133 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32134 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32135 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32136 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32137 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32138 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32140 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32141 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32143 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32144 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32145 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32146 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32147 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32148 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32149 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32151 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32157 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32158 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32159 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32160 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32161 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32163 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32165 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32166 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32171 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32172 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32174 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32175 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32176 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32181 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32183 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32185 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32187 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32189 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32190 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32193 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32194 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32195 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32196 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32198 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32199 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32200 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32202 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32203 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32205 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32206 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32207 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32208 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32209 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32210 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32212 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32214 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32215 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32216 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32217 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32218 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32219 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32220 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32221 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32222 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32223 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32225 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32227 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32228 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32231 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32232 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32237 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32239 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32240 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32241 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32242 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32245 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32246 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32247 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32248 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32250 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32251 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32256 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32257 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32258 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32259 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32260 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32264 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32266 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32267 { NULL
, NULL
, 0, NULL
}
32271 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32273 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32274 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32276 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32277 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32279 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32280 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32282 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32283 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32285 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32286 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32288 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32289 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32291 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32292 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32294 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32295 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32297 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32298 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32300 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32303 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32304 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32306 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32307 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32309 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32310 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32312 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32313 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32315 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32316 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32318 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32319 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32321 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32324 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32325 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32327 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32328 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32330 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32331 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32333 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32334 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32336 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32337 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32339 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32340 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32342 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32345 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32346 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32348 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32349 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32351 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32354 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32355 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32357 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32358 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32360 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32361 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32363 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32364 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32366 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32367 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32369 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32370 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32372 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32373 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32375 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32376 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32378 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32381 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32382 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32384 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32385 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32387 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32388 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32390 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32393 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32396 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32397 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32399 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32400 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32402 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32403 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32405 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32406 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32408 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32409 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32411 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32412 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32414 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32417 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32420 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32423 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32424 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32426 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32427 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32429 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32430 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32432 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32433 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32435 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32438 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32441 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32444 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32447 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32450 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32453 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32456 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32459 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32462 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32463 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32465 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32466 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32468 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32471 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32474 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32477 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32478 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32480 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32483 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32484 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32486 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32487 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32489 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32490 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32492 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32493 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32495 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32498 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32499 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32501 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32502 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32504 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32507 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32510 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32513 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32516 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32519 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32520 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32522 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32525 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32526 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32528 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32531 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32534 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32537 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32540 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32543 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32544 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32546 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32549 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32552 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32555 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32558 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32561 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32564 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32565 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32567 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32568 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32570 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32571 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32573 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32574 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32576 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32577 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32579 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32580 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32582 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32583 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32585 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32586 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32588 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32591 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32594 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32597 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32600 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32603 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32606 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32609 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32612 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32615 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32618 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) ((wxSizer
*) x
));
32621 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32624 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32627 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32630 static void *_p_wxEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) ((wxEvent
*) x
));
32633 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) ((wxFontData
*) x
));
32636 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32639 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32642 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32645 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32648 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32651 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32654 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32657 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32660 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32663 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32666 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32669 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32672 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32675 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32678 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32681 static void *_p_wxControlTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32684 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32687 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32690 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32693 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32696 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32699 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32702 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) ((wxColourData
*) x
));
32705 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32708 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32711 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32714 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32717 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32720 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32723 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32726 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32729 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32732 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32735 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32738 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32741 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32744 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32747 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32750 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32753 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32756 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32759 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32762 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32765 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32768 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32771 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32774 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32777 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32780 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32783 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32786 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32789 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32792 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32795 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32798 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32801 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32804 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32807 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32810 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32813 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32816 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32819 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32822 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32825 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32828 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32831 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32834 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32837 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32840 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32843 static void *_p_wxImageTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) ((wxImage
*) x
));
32846 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32849 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32852 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32855 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32858 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32861 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32864 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32867 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32868 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32870 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32871 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32873 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32876 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32877 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32879 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32882 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32885 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32888 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32891 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32894 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32897 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32900 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32903 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32906 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32909 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32912 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32915 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32918 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32921 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32922 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32924 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32925 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32927 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32930 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32933 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32936 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32939 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32942 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32943 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32945 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32946 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32948 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32949 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32951 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32954 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32955 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32957 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32958 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32960 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32961 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32963 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32964 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32966 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32967 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32969 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32972 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32973 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32975 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32978 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32981 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32982 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32984 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32985 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32987 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32990 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32993 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32994 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32996 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32997 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32999 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33002 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33003 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33005 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33006 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33008 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33009 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33011 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33012 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33014 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33015 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33017 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33018 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33020 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33021 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33023 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33024 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33026 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33027 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33029 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33030 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33032 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33033 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33035 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33036 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33038 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33039 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33041 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33042 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33044 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33045 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33047 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33048 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33050 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33051 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33053 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33054 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33056 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33057 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33059 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33060 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33062 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33063 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33065 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33066 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33068 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33069 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33071 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33072 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33074 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33075 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33077 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33078 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33080 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33081 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33083 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33084 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33086 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33087 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33089 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33090 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33092 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33093 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33095 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33096 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33098 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33099 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33101 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33102 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33104 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33105 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33107 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33108 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33110 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33111 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33113 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33116 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33117 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33119 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33120 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33122 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33123 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33125 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33126 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33128 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33129 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33131 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33132 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33134 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33135 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33137 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33138 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33140 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33141 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33143 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33144 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33146 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33147 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33149 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33150 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33152 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33153 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33155 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33156 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33158 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33159 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33161 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33162 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33164 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33165 return (void *)((wxWindow
*) ((wxControl
*) x
));
33167 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33168 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33170 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33171 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33173 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33174 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33176 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33177 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33179 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33180 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33182 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33183 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33185 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33186 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33188 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33189 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33191 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33192 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33194 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33195 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33197 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33198 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33200 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33201 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33203 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33204 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33206 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33207 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33209 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33210 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33212 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33213 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33215 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33216 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33218 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33219 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33221 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33222 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33224 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33225 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33227 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33228 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33230 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33231 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33233 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33234 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33236 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33237 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33239 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33240 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33242 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33243 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33245 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33246 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33248 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33249 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33251 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33252 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33254 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33255 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33257 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33258 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33260 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33261 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33263 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33264 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33266 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33267 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33269 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33270 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33272 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33273 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33275 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33276 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33278 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33279 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33281 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33282 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33284 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33285 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33287 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33288 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33290 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33291 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33293 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33294 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33296 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33297 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33299 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33300 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33302 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33303 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33305 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33306 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33308 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33309 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33311 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33312 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33314 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33315 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33317 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33318 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33320 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33321 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33323 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33324 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33326 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33327 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33328 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};
33329 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33330 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33331 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33332 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33341 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33342 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33343 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33344 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33345 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33346 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33347 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33348 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33349 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33355 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33356 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33357 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33358 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33359 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33360 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33361 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33362 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33363 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33364 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33365 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33366 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33367 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33368 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33369 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33370 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33371 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33372 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33373 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33374 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33375 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33376 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33377 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33378 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33379 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33380 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33382 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33383 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33384 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33385 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33386 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33387 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33388 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33389 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33390 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33391 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33392 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33393 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33394 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33395 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33396 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33397 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33398 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33399 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33400 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33401 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33402 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33403 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33404 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33405 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33406 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33407 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33408 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33409 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33410 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33411 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33412 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33413 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33414 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33415 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33416 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33417 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33418 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33419 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33420 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33421 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33422 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33423 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33424 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33425 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33426 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33427 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33428 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33429 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33430 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33431 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33432 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33433 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33434 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33435 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33436 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33437 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33438 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33439 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33440 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33441 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33442 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33443 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33444 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33445 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33446 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33447 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33448 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33449 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33450 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33451 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33452 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33453 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33454 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33455 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33456 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33457 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33458 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33459 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33460 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33461 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33462 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33463 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33464 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33465 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33477 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33479 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33480 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33481 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33482 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33483 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33484 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33485 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33486 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33487 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33488 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33489 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33490 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33492 static swig_type_info
*swig_type_initial
[] = {
33495 &_swigt__p_form_ops_t
,
33497 &_swigt__p_unsigned_char
,
33498 &_swigt__p_unsigned_int
,
33499 &_swigt__p_unsigned_long
,
33500 &_swigt__p_wxANIHandler
,
33501 &_swigt__p_wxAcceleratorTable
,
33502 &_swigt__p_wxActivateEvent
,
33503 &_swigt__p_wxArrayInt
,
33504 &_swigt__p_wxBMPHandler
,
33505 &_swigt__p_wxBitmap
,
33506 &_swigt__p_wxBoxSizer
,
33507 &_swigt__p_wxCURHandler
,
33508 &_swigt__p_wxCalculateLayoutEvent
,
33509 &_swigt__p_wxChildFocusEvent
,
33510 &_swigt__p_wxClipboardTextEvent
,
33511 &_swigt__p_wxCloseEvent
,
33512 &_swigt__p_wxColour
,
33513 &_swigt__p_wxColourData
,
33514 &_swigt__p_wxColourDialog
,
33515 &_swigt__p_wxCommandEvent
,
33516 &_swigt__p_wxContextMenuEvent
,
33517 &_swigt__p_wxControl
,
33518 &_swigt__p_wxControlWithItems
,
33520 &_swigt__p_wxDateEvent
,
33521 &_swigt__p_wxDialog
,
33522 &_swigt__p_wxDirDialog
,
33523 &_swigt__p_wxDisplayChangedEvent
,
33524 &_swigt__p_wxDropFilesEvent
,
33525 &_swigt__p_wxDuplexMode
,
33526 &_swigt__p_wxEraseEvent
,
33527 &_swigt__p_wxEvent
,
33528 &_swigt__p_wxEvtHandler
,
33529 &_swigt__p_wxFSFile
,
33530 &_swigt__p_wxFileDialog
,
33531 &_swigt__p_wxFileSystem
,
33532 &_swigt__p_wxFindDialogEvent
,
33533 &_swigt__p_wxFindReplaceData
,
33534 &_swigt__p_wxFindReplaceDialog
,
33535 &_swigt__p_wxFlexGridSizer
,
33536 &_swigt__p_wxFocusEvent
,
33538 &_swigt__p_wxFontData
,
33539 &_swigt__p_wxFontDialog
,
33540 &_swigt__p_wxFrame
,
33541 &_swigt__p_wxGBSizerItem
,
33542 &_swigt__p_wxGIFHandler
,
33543 &_swigt__p_wxGridBagSizer
,
33544 &_swigt__p_wxGridSizer
,
33545 &_swigt__p_wxHtmlLinkInfo
,
33546 &_swigt__p_wxICOHandler
,
33548 &_swigt__p_wxIconBundle
,
33549 &_swigt__p_wxIconizeEvent
,
33550 &_swigt__p_wxIdleEvent
,
33551 &_swigt__p_wxImage
,
33552 &_swigt__p_wxImageHandler
,
33553 &_swigt__p_wxIndividualLayoutConstraint
,
33554 &_swigt__p_wxInitDialogEvent
,
33555 &_swigt__p_wxJPEGHandler
,
33556 &_swigt__p_wxKeyEvent
,
33557 &_swigt__p_wxLayoutAlgorithm
,
33558 &_swigt__p_wxLayoutConstraints
,
33559 &_swigt__p_wxMDIChildFrame
,
33560 &_swigt__p_wxMDIClientWindow
,
33561 &_swigt__p_wxMDIParentFrame
,
33562 &_swigt__p_wxMaximizeEvent
,
33564 &_swigt__p_wxMenuBar
,
33565 &_swigt__p_wxMenuEvent
,
33566 &_swigt__p_wxMenuItem
,
33567 &_swigt__p_wxMessageDialog
,
33568 &_swigt__p_wxMiniFrame
,
33569 &_swigt__p_wxMouseCaptureChangedEvent
,
33570 &_swigt__p_wxMouseCaptureLostEvent
,
33571 &_swigt__p_wxMouseEvent
,
33572 &_swigt__p_wxMoveEvent
,
33573 &_swigt__p_wxMultiChoiceDialog
,
33574 &_swigt__p_wxNavigationKeyEvent
,
33575 &_swigt__p_wxNcPaintEvent
,
33576 &_swigt__p_wxNotifyEvent
,
33577 &_swigt__p_wxNumberEntryDialog
,
33578 &_swigt__p_wxObject
,
33579 &_swigt__p_wxPCXHandler
,
33580 &_swigt__p_wxPNGHandler
,
33581 &_swigt__p_wxPNMHandler
,
33582 &_swigt__p_wxPageSetupDialog
,
33583 &_swigt__p_wxPageSetupDialogData
,
33584 &_swigt__p_wxPaintEvent
,
33585 &_swigt__p_wxPaletteChangedEvent
,
33586 &_swigt__p_wxPanel
,
33587 &_swigt__p_wxPaperSize
,
33588 &_swigt__p_wxPasswordEntryDialog
,
33589 &_swigt__p_wxPoint
,
33590 &_swigt__p_wxPopupWindow
,
33591 &_swigt__p_wxPreviewCanvas
,
33592 &_swigt__p_wxPreviewControlBar
,
33593 &_swigt__p_wxPreviewFrame
,
33594 &_swigt__p_wxPrintData
,
33595 &_swigt__p_wxPrintDialog
,
33596 &_swigt__p_wxPrintDialogData
,
33597 &_swigt__p_wxPrintPreview
,
33598 &_swigt__p_wxPrinter
,
33599 &_swigt__p_wxProgressDialog
,
33600 &_swigt__p_wxPyApp
,
33601 &_swigt__p_wxPyCommandEvent
,
33602 &_swigt__p_wxPyEvent
,
33603 &_swigt__p_wxPyHtmlListBox
,
33604 &_swigt__p_wxPyImageHandler
,
33605 &_swigt__p_wxPyPanel
,
33606 &_swigt__p_wxPyPopupTransientWindow
,
33607 &_swigt__p_wxPyPreviewControlBar
,
33608 &_swigt__p_wxPyPreviewFrame
,
33609 &_swigt__p_wxPyPrintPreview
,
33610 &_swigt__p_wxPyPrintout
,
33611 &_swigt__p_wxPyScrolledWindow
,
33612 &_swigt__p_wxPySizer
,
33613 &_swigt__p_wxPyTaskBarIcon
,
33614 &_swigt__p_wxPyVListBox
,
33615 &_swigt__p_wxPyVScrolledWindow
,
33616 &_swigt__p_wxPyValidator
,
33617 &_swigt__p_wxPyWindow
,
33618 &_swigt__p_wxQueryLayoutInfoEvent
,
33619 &_swigt__p_wxQueryNewPaletteEvent
,
33621 &_swigt__p_wxRegion
,
33622 &_swigt__p_wxSashEvent
,
33623 &_swigt__p_wxSashLayoutWindow
,
33624 &_swigt__p_wxSashWindow
,
33625 &_swigt__p_wxScrollEvent
,
33626 &_swigt__p_wxScrollWinEvent
,
33627 &_swigt__p_wxScrolledWindow
,
33628 &_swigt__p_wxSetCursorEvent
,
33629 &_swigt__p_wxShowEvent
,
33630 &_swigt__p_wxSingleChoiceDialog
,
33632 &_swigt__p_wxSizeEvent
,
33633 &_swigt__p_wxSizer
,
33634 &_swigt__p_wxSizerItem
,
33635 &_swigt__p_wxSplashScreen
,
33636 &_swigt__p_wxSplashScreenWindow
,
33637 &_swigt__p_wxSplitterEvent
,
33638 &_swigt__p_wxSplitterWindow
,
33639 &_swigt__p_wxStaticBoxSizer
,
33640 &_swigt__p_wxStatusBar
,
33641 &_swigt__p_wxStdDialogButtonSizer
,
33642 &_swigt__p_wxString
,
33643 &_swigt__p_wxSysColourChangedEvent
,
33644 &_swigt__p_wxTIFFHandler
,
33645 &_swigt__p_wxTaskBarIcon
,
33646 &_swigt__p_wxTaskBarIconEvent
,
33647 &_swigt__p_wxTextEntryDialog
,
33648 &_swigt__p_wxTipWindow
,
33649 &_swigt__p_wxToolBar
,
33650 &_swigt__p_wxTopLevelWindow
,
33651 &_swigt__p_wxUpdateUIEvent
,
33652 &_swigt__p_wxValidator
,
33653 &_swigt__p_wxVisualAttributes
,
33654 &_swigt__p_wxWindow
,
33655 &_swigt__p_wxWindowCreateEvent
,
33656 &_swigt__p_wxWindowDestroyEvent
,
33657 &_swigt__p_wxXPMHandler
,
33660 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33667 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33668 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33673 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33674 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33675 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33676 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33677 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33678 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33679 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33682 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}};
33683 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33684 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}};
33685 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33701 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33713 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}};
33714 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33716 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33717 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33719 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}};
33720 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33721 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33722 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33723 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33724 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33725 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33726 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33727 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33728 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}};
33729 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33738 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33739 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33741 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}};
33742 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33743 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33745 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33746 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33747 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33748 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33749 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33750 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33751 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33752 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33753 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33754 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33755 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33756 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33757 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33758 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33759 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33761 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33762 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33763 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33768 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33769 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33770 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33771 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_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
33772 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33774 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}};
33775 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33778 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}};
33779 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33780 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}};
33781 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}};
33782 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33783 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33784 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33785 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}};
33786 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33787 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33788 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33789 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33790 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}};
33791 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33792 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33793 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33794 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33795 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33796 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33797 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}};
33798 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}};
33799 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33803 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33804 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33805 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}};
33806 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33807 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}};
33808 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33809 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33810 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33811 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33812 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33813 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33814 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33815 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33818 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33819 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}};
33820 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33822 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}};
33823 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33824 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}};
33826 static swig_cast_info
*swig_cast_initial
[] = {
33829 _swigc__p_form_ops_t
,
33831 _swigc__p_unsigned_char
,
33832 _swigc__p_unsigned_int
,
33833 _swigc__p_unsigned_long
,
33834 _swigc__p_wxANIHandler
,
33835 _swigc__p_wxAcceleratorTable
,
33836 _swigc__p_wxActivateEvent
,
33837 _swigc__p_wxArrayInt
,
33838 _swigc__p_wxBMPHandler
,
33839 _swigc__p_wxBitmap
,
33840 _swigc__p_wxBoxSizer
,
33841 _swigc__p_wxCURHandler
,
33842 _swigc__p_wxCalculateLayoutEvent
,
33843 _swigc__p_wxChildFocusEvent
,
33844 _swigc__p_wxClipboardTextEvent
,
33845 _swigc__p_wxCloseEvent
,
33846 _swigc__p_wxColour
,
33847 _swigc__p_wxColourData
,
33848 _swigc__p_wxColourDialog
,
33849 _swigc__p_wxCommandEvent
,
33850 _swigc__p_wxContextMenuEvent
,
33851 _swigc__p_wxControl
,
33852 _swigc__p_wxControlWithItems
,
33854 _swigc__p_wxDateEvent
,
33855 _swigc__p_wxDialog
,
33856 _swigc__p_wxDirDialog
,
33857 _swigc__p_wxDisplayChangedEvent
,
33858 _swigc__p_wxDropFilesEvent
,
33859 _swigc__p_wxDuplexMode
,
33860 _swigc__p_wxEraseEvent
,
33862 _swigc__p_wxEvtHandler
,
33863 _swigc__p_wxFSFile
,
33864 _swigc__p_wxFileDialog
,
33865 _swigc__p_wxFileSystem
,
33866 _swigc__p_wxFindDialogEvent
,
33867 _swigc__p_wxFindReplaceData
,
33868 _swigc__p_wxFindReplaceDialog
,
33869 _swigc__p_wxFlexGridSizer
,
33870 _swigc__p_wxFocusEvent
,
33872 _swigc__p_wxFontData
,
33873 _swigc__p_wxFontDialog
,
33875 _swigc__p_wxGBSizerItem
,
33876 _swigc__p_wxGIFHandler
,
33877 _swigc__p_wxGridBagSizer
,
33878 _swigc__p_wxGridSizer
,
33879 _swigc__p_wxHtmlLinkInfo
,
33880 _swigc__p_wxICOHandler
,
33882 _swigc__p_wxIconBundle
,
33883 _swigc__p_wxIconizeEvent
,
33884 _swigc__p_wxIdleEvent
,
33886 _swigc__p_wxImageHandler
,
33887 _swigc__p_wxIndividualLayoutConstraint
,
33888 _swigc__p_wxInitDialogEvent
,
33889 _swigc__p_wxJPEGHandler
,
33890 _swigc__p_wxKeyEvent
,
33891 _swigc__p_wxLayoutAlgorithm
,
33892 _swigc__p_wxLayoutConstraints
,
33893 _swigc__p_wxMDIChildFrame
,
33894 _swigc__p_wxMDIClientWindow
,
33895 _swigc__p_wxMDIParentFrame
,
33896 _swigc__p_wxMaximizeEvent
,
33898 _swigc__p_wxMenuBar
,
33899 _swigc__p_wxMenuEvent
,
33900 _swigc__p_wxMenuItem
,
33901 _swigc__p_wxMessageDialog
,
33902 _swigc__p_wxMiniFrame
,
33903 _swigc__p_wxMouseCaptureChangedEvent
,
33904 _swigc__p_wxMouseCaptureLostEvent
,
33905 _swigc__p_wxMouseEvent
,
33906 _swigc__p_wxMoveEvent
,
33907 _swigc__p_wxMultiChoiceDialog
,
33908 _swigc__p_wxNavigationKeyEvent
,
33909 _swigc__p_wxNcPaintEvent
,
33910 _swigc__p_wxNotifyEvent
,
33911 _swigc__p_wxNumberEntryDialog
,
33912 _swigc__p_wxObject
,
33913 _swigc__p_wxPCXHandler
,
33914 _swigc__p_wxPNGHandler
,
33915 _swigc__p_wxPNMHandler
,
33916 _swigc__p_wxPageSetupDialog
,
33917 _swigc__p_wxPageSetupDialogData
,
33918 _swigc__p_wxPaintEvent
,
33919 _swigc__p_wxPaletteChangedEvent
,
33921 _swigc__p_wxPaperSize
,
33922 _swigc__p_wxPasswordEntryDialog
,
33924 _swigc__p_wxPopupWindow
,
33925 _swigc__p_wxPreviewCanvas
,
33926 _swigc__p_wxPreviewControlBar
,
33927 _swigc__p_wxPreviewFrame
,
33928 _swigc__p_wxPrintData
,
33929 _swigc__p_wxPrintDialog
,
33930 _swigc__p_wxPrintDialogData
,
33931 _swigc__p_wxPrintPreview
,
33932 _swigc__p_wxPrinter
,
33933 _swigc__p_wxProgressDialog
,
33935 _swigc__p_wxPyCommandEvent
,
33936 _swigc__p_wxPyEvent
,
33937 _swigc__p_wxPyHtmlListBox
,
33938 _swigc__p_wxPyImageHandler
,
33939 _swigc__p_wxPyPanel
,
33940 _swigc__p_wxPyPopupTransientWindow
,
33941 _swigc__p_wxPyPreviewControlBar
,
33942 _swigc__p_wxPyPreviewFrame
,
33943 _swigc__p_wxPyPrintPreview
,
33944 _swigc__p_wxPyPrintout
,
33945 _swigc__p_wxPyScrolledWindow
,
33946 _swigc__p_wxPySizer
,
33947 _swigc__p_wxPyTaskBarIcon
,
33948 _swigc__p_wxPyVListBox
,
33949 _swigc__p_wxPyVScrolledWindow
,
33950 _swigc__p_wxPyValidator
,
33951 _swigc__p_wxPyWindow
,
33952 _swigc__p_wxQueryLayoutInfoEvent
,
33953 _swigc__p_wxQueryNewPaletteEvent
,
33955 _swigc__p_wxRegion
,
33956 _swigc__p_wxSashEvent
,
33957 _swigc__p_wxSashLayoutWindow
,
33958 _swigc__p_wxSashWindow
,
33959 _swigc__p_wxScrollEvent
,
33960 _swigc__p_wxScrollWinEvent
,
33961 _swigc__p_wxScrolledWindow
,
33962 _swigc__p_wxSetCursorEvent
,
33963 _swigc__p_wxShowEvent
,
33964 _swigc__p_wxSingleChoiceDialog
,
33966 _swigc__p_wxSizeEvent
,
33968 _swigc__p_wxSizerItem
,
33969 _swigc__p_wxSplashScreen
,
33970 _swigc__p_wxSplashScreenWindow
,
33971 _swigc__p_wxSplitterEvent
,
33972 _swigc__p_wxSplitterWindow
,
33973 _swigc__p_wxStaticBoxSizer
,
33974 _swigc__p_wxStatusBar
,
33975 _swigc__p_wxStdDialogButtonSizer
,
33976 _swigc__p_wxString
,
33977 _swigc__p_wxSysColourChangedEvent
,
33978 _swigc__p_wxTIFFHandler
,
33979 _swigc__p_wxTaskBarIcon
,
33980 _swigc__p_wxTaskBarIconEvent
,
33981 _swigc__p_wxTextEntryDialog
,
33982 _swigc__p_wxTipWindow
,
33983 _swigc__p_wxToolBar
,
33984 _swigc__p_wxTopLevelWindow
,
33985 _swigc__p_wxUpdateUIEvent
,
33986 _swigc__p_wxValidator
,
33987 _swigc__p_wxVisualAttributes
,
33988 _swigc__p_wxWindow
,
33989 _swigc__p_wxWindowCreateEvent
,
33990 _swigc__p_wxWindowDestroyEvent
,
33991 _swigc__p_wxXPMHandler
,
33995 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33997 static swig_const_info swig_const_table
[] = {
33998 {0, 0, 0, 0.0, 0, 0}};
34003 /* -----------------------------------------------------------------------------
34004 * Type initialization:
34005 * This problem is tough by the requirement that no dynamic
34006 * memory is used. Also, since swig_type_info structures store pointers to
34007 * swig_cast_info structures and swig_cast_info structures store pointers back
34008 * to swig_type_info structures, we need some lookup code at initialization.
34009 * The idea is that swig generates all the structures that are needed.
34010 * The runtime then collects these partially filled structures.
34011 * The SWIG_InitializeModule function takes these initial arrays out of
34012 * swig_module, and does all the lookup, filling in the swig_module.types
34013 * array with the correct data and linking the correct swig_cast_info
34014 * structures together.
34016 * The generated swig_type_info structures are assigned staticly to an initial
34017 * array. We just loop though that array, and handle each type individually.
34018 * First we lookup if this type has been already loaded, and if so, use the
34019 * loaded structure instead of the generated one. Then we have to fill in the
34020 * cast linked list. The cast data is initially stored in something like a
34021 * two-dimensional array. Each row corresponds to a type (there are the same
34022 * number of rows as there are in the swig_type_initial array). Each entry in
34023 * a column is one of the swig_cast_info structures for that type.
34024 * The cast_initial array is actually an array of arrays, because each row has
34025 * a variable number of columns. So to actually build the cast linked list,
34026 * we find the array of casts associated with the type, and loop through it
34027 * adding the casts to the list. The one last trick we need to do is making
34028 * sure the type pointer in the swig_cast_info struct is correct.
34030 * First off, we lookup the cast->type name to see if it is already loaded.
34031 * There are three cases to handle:
34032 * 1) If the cast->type has already been loaded AND the type we are adding
34033 * casting info to has not been loaded (it is in this module), THEN we
34034 * replace the cast->type pointer with the type pointer that has already
34036 * 2) If BOTH types (the one we are adding casting info to, and the
34037 * cast->type) are loaded, THEN the cast info has already been loaded by
34038 * the previous module so we just ignore it.
34039 * 3) Finally, if cast->type has not already been loaded, then we add that
34040 * swig_cast_info to the linked list (because the cast->type) pointer will
34042 * ----------------------------------------------------------------------------- */
34052 #define SWIGRUNTIME_DEBUG
34056 SWIG_InitializeModule(void *clientdata
) {
34058 swig_module_info
*module_head
;
34059 static int init_run
= 0;
34061 clientdata
= clientdata
;
34063 if (init_run
) return;
34066 /* Initialize the swig_module */
34067 swig_module
.type_initial
= swig_type_initial
;
34068 swig_module
.cast_initial
= swig_cast_initial
;
34070 /* Try and load any already created modules */
34071 module_head
= SWIG_GetModule(clientdata
);
34073 swig_module
.next
= module_head
->next
;
34074 module_head
->next
= &swig_module
;
34076 /* This is the first module loaded */
34077 swig_module
.next
= &swig_module
;
34078 SWIG_SetModule(clientdata
, &swig_module
);
34081 /* Now work on filling in swig_module.types */
34082 #ifdef SWIGRUNTIME_DEBUG
34083 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34085 for (i
= 0; i
< swig_module
.size
; ++i
) {
34086 swig_type_info
*type
= 0;
34087 swig_type_info
*ret
;
34088 swig_cast_info
*cast
;
34090 #ifdef SWIGRUNTIME_DEBUG
34091 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34094 /* if there is another module already loaded */
34095 if (swig_module
.next
!= &swig_module
) {
34096 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34099 /* Overwrite clientdata field */
34100 #ifdef SWIGRUNTIME_DEBUG
34101 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34103 if (swig_module
.type_initial
[i
]->clientdata
) {
34104 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34105 #ifdef SWIGRUNTIME_DEBUG
34106 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34110 type
= swig_module
.type_initial
[i
];
34113 /* Insert casting types */
34114 cast
= swig_module
.cast_initial
[i
];
34115 while (cast
->type
) {
34116 /* Don't need to add information already in the list */
34118 #ifdef SWIGRUNTIME_DEBUG
34119 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34121 if (swig_module
.next
!= &swig_module
) {
34122 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34123 #ifdef SWIGRUNTIME_DEBUG
34124 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34128 if (type
== swig_module
.type_initial
[i
]) {
34129 #ifdef SWIGRUNTIME_DEBUG
34130 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34135 /* Check for casting already in the list */
34136 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34137 #ifdef SWIGRUNTIME_DEBUG
34138 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34140 if (!ocast
) ret
= 0;
34145 #ifdef SWIGRUNTIME_DEBUG
34146 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34149 type
->cast
->prev
= cast
;
34150 cast
->next
= type
->cast
;
34156 /* Set entry in modules->types array equal to the type */
34157 swig_module
.types
[i
] = type
;
34159 swig_module
.types
[i
] = 0;
34161 #ifdef SWIGRUNTIME_DEBUG
34162 printf("**** SWIG_InitializeModule: Cast List ******\n");
34163 for (i
= 0; i
< swig_module
.size
; ++i
) {
34165 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34166 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34167 while (cast
->type
) {
34168 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34172 printf("---- Total casts: %d\n",j
);
34174 printf("**** SWIG_InitializeModule: Cast List ******\n");
34178 /* This function will propagate the clientdata field of type to
34179 * any new swig_type_info structures that have been added into the list
34180 * of equivalent types. It is like calling
34181 * SWIG_TypeClientData(type, clientdata) a second time.
34184 SWIG_PropagateClientData(void) {
34186 swig_cast_info
*equiv
;
34187 static int init_run
= 0;
34189 if (init_run
) return;
34192 for (i
= 0; i
< swig_module
.size
; i
++) {
34193 if (swig_module
.types
[i
]->clientdata
) {
34194 equiv
= swig_module
.types
[i
]->cast
;
34196 if (!equiv
->converter
) {
34197 if (equiv
->type
&& !equiv
->type
->clientdata
)
34198 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34200 equiv
= equiv
->next
;
34220 /* Python-specific SWIG API */
34221 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34222 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34223 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34225 /* -----------------------------------------------------------------------------
34226 * global variable support code.
34227 * ----------------------------------------------------------------------------- */
34229 typedef struct swig_globalvar
{
34230 char *name
; /* Name of global variable */
34231 PyObject
*(*get_attr
)(void); /* Return the current value */
34232 int (*set_attr
)(PyObject
*); /* Set the value */
34233 struct swig_globalvar
*next
;
34236 typedef struct swig_varlinkobject
{
34238 swig_globalvar
*vars
;
34239 } swig_varlinkobject
;
34241 SWIGINTERN PyObject
*
34242 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34243 return PyString_FromString("<Swig global variables>");
34246 SWIGINTERN PyObject
*
34247 swig_varlink_str(swig_varlinkobject
*v
) {
34248 PyObject
*str
= PyString_FromString("(");
34249 swig_globalvar
*var
;
34250 for (var
= v
->vars
; var
; var
=var
->next
) {
34251 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34252 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34254 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34259 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34260 PyObject
*str
= swig_varlink_str(v
);
34261 fprintf(fp
,"Swig global variables ");
34262 fprintf(fp
,"%s\n", PyString_AsString(str
));
34268 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34269 swig_globalvar
*var
= v
->vars
;
34271 swig_globalvar
*n
= var
->next
;
34278 SWIGINTERN PyObject
*
34279 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34280 PyObject
*res
= NULL
;
34281 swig_globalvar
*var
= v
->vars
;
34283 if (strcmp(var
->name
,n
) == 0) {
34284 res
= (*var
->get_attr
)();
34289 if (res
== NULL
&& !PyErr_Occurred()) {
34290 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34296 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34298 swig_globalvar
*var
= v
->vars
;
34300 if (strcmp(var
->name
,n
) == 0) {
34301 res
= (*var
->set_attr
)(p
);
34306 if (res
== 1 && !PyErr_Occurred()) {
34307 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34312 SWIGINTERN PyTypeObject
*
34313 swig_varlink_type(void) {
34314 static char varlink__doc__
[] = "Swig var link object";
34315 static PyTypeObject varlink_type
;
34316 static int type_init
= 0;
34318 const PyTypeObject tmp
34320 PyObject_HEAD_INIT(NULL
)
34321 0, /* Number of items in variable part (ob_size) */
34322 (char *)"swigvarlink", /* Type name (tp_name) */
34323 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34324 0, /* Itemsize (tp_itemsize) */
34325 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34326 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34327 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34328 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34329 0, /* tp_compare */
34330 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34331 0, /* tp_as_number */
34332 0, /* tp_as_sequence */
34333 0, /* tp_as_mapping */
34336 (reprfunc
)swig_varlink_str
, /* tp_str */
34337 0, /* tp_getattro */
34338 0, /* tp_setattro */
34339 0, /* tp_as_buffer */
34341 varlink__doc__
, /* tp_doc */
34342 0, /* tp_traverse */
34344 0, /* tp_richcompare */
34345 0, /* tp_weaklistoffset */
34346 #if PY_VERSION_HEX >= 0x02020000
34347 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34349 #if PY_VERSION_HEX >= 0x02030000
34352 #ifdef COUNT_ALLOCS
34353 0,0,0,0 /* tp_alloc -> tp_next */
34356 varlink_type
= tmp
;
34357 varlink_type
.ob_type
= &PyType_Type
;
34360 return &varlink_type
;
34363 /* Create a variable linking object for use later */
34364 SWIGINTERN PyObject
*
34365 SWIG_Python_newvarlink(void) {
34366 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34370 return ((PyObject
*) result
);
34374 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34375 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34376 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34378 size_t size
= strlen(name
)+1;
34379 gv
->name
= (char *)malloc(size
);
34381 strncpy(gv
->name
,name
,size
);
34382 gv
->get_attr
= get_attr
;
34383 gv
->set_attr
= set_attr
;
34384 gv
->next
= v
->vars
;
34390 SWIGINTERN PyObject
*
34392 static PyObject
*_SWIG_globals
= 0;
34393 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34394 return _SWIG_globals
;
34397 /* -----------------------------------------------------------------------------
34398 * constants/methods manipulation
34399 * ----------------------------------------------------------------------------- */
34401 /* Install Constants */
34403 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34406 for (i
= 0; constants
[i
].type
; ++i
) {
34407 switch(constants
[i
].type
) {
34408 case SWIG_PY_POINTER
:
34409 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34411 case SWIG_PY_BINARY
:
34412 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34419 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34425 /* -----------------------------------------------------------------------------*/
34426 /* Fix SwigMethods to carry the callback ptrs when needed */
34427 /* -----------------------------------------------------------------------------*/
34430 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34431 swig_const_info
*const_table
,
34432 swig_type_info
**types
,
34433 swig_type_info
**types_initial
) {
34435 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34436 const char *c
= methods
[i
].ml_doc
;
34437 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34439 swig_const_info
*ci
= 0;
34440 const char *name
= c
+ 10;
34441 for (j
= 0; const_table
[j
].type
; ++j
) {
34442 if (strncmp(const_table
[j
].name
, name
,
34443 strlen(const_table
[j
].name
)) == 0) {
34444 ci
= &(const_table
[j
]);
34449 size_t shift
= (ci
->ptype
) - types
;
34450 swig_type_info
*ty
= types_initial
[shift
];
34451 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34452 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34453 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34456 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34458 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34460 strncpy(buff
, "swig_ptr: ", 10);
34462 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34463 methods
[i
].ml_doc
= ndoc
;
34475 /* -----------------------------------------------------------------------------*
34476 * Partial Init method
34477 * -----------------------------------------------------------------------------*/
34482 SWIGEXPORT
void SWIG_init(void) {
34485 /* Fix SwigMethods to carry the callback ptrs when needed */
34486 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34488 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34489 d
= PyModule_GetDict(m
);
34491 SWIG_InitializeModule(0);
34492 SWIG_InstallConstants(d
,swig_const_table
);
34495 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34496 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34497 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34498 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34499 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34500 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34501 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34502 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34503 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34504 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34505 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34506 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34507 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34508 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34509 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34510 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34511 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34512 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34513 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34514 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34515 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34516 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34517 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34518 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34519 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34520 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34521 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34522 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34523 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34524 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34525 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34526 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34527 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34528 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34529 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34530 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34531 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34532 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34533 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34534 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34535 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34536 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34537 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34538 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34539 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34540 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34541 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34542 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34543 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34544 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34545 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34546 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34547 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34548 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34549 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34550 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34551 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34552 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34553 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34554 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34555 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34556 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34557 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34558 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34559 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34560 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34561 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34562 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34563 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34564 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34565 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34566 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34567 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34568 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34569 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34570 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34571 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34572 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34573 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34574 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34575 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34576 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34577 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34578 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34579 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34580 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34581 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34582 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34583 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34584 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34585 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34586 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34587 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34588 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34589 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34590 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34591 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34592 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34593 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34594 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34595 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34596 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34597 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34598 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34599 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34601 // Map renamed classes back to their common name for OOR
34602 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34603 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34604 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34606 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34607 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34608 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34609 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34610 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34611 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34612 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34613 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34614 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34615 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34616 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34617 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34618 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34619 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34620 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34621 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34622 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34623 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34624 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34625 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34626 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34627 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34628 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34629 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34630 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34631 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34632 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34633 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34634 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34635 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34636 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34637 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34638 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34639 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34640 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34641 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34642 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34643 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34644 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34645 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34646 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34647 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34648 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34649 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34650 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34651 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34652 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34653 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34654 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34655 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34656 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34657 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34658 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34659 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34660 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34661 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34662 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34663 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34664 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34665 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34666 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34667 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34668 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34669 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34670 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34671 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34672 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34673 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34674 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34675 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34676 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34677 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34678 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34679 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34680 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34681 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34682 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34683 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34684 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34685 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34686 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34687 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34688 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34689 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34690 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34691 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34692 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34693 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34694 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34695 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34696 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34697 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34698 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34699 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34700 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34701 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34702 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34703 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34704 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34705 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34706 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34707 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34708 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34709 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34711 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");