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_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
2503 #define SWIGTYPE_p_wxFSFile swig_types[37]
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFontData swig_types[46]
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIcon swig_types[55]
2522 #define SWIGTYPE_p_wxIconBundle swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529 #define SWIGTYPE_p_wxItemContainer swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPanel swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569 #define SWIGTYPE_p_wxPrintData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573 #define SWIGTYPE_p_wxPrinter swig_types[107]
2574 #define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575 #define SWIGTYPE_p_wxPyApp swig_types[109]
2576 #define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579 #define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPyPanel swig_types[114]
2581 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584 #define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPySizer swig_types[121]
2588 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589 #define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxPyWindow swig_types[126]
2593 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613 #define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStatusBar swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxToolBar swig_types[160]
2627 #define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_windows_
2662 #define SWIG_name "_windows_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2745 # define LLONG_MIN LONG_LONG_MIN
2748 # define LLONG_MAX LONG_LONG_MAX
2751 # define ULLONG_MAX ULONG_LONG_MAX
2756 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2758 if (PyNumber_Check(obj
)) {
2759 if (val
) *val
= PyInt_AsLong(obj
);
2762 return SWIG_TypeError
;
2767 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2770 int res
= SWIG_AsVal_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< int >(v
);
2783 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2785 if (obj
== Py_True
) {
2786 if (val
) *val
= true;
2788 } else if (obj
== Py_False
) {
2789 if (val
) *val
= false;
2793 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2794 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2800 #define SWIG_From_long PyInt_FromLong
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_int (int value
)
2806 return SWIG_From_long (value
);
2811 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2813 if (PyNumber_Check(obj
)) {
2814 if (val
) *val
= PyFloat_AsDouble(obj
);
2817 return SWIG_TypeError
;
2821 #define SWIG_From_double PyFloat_FromDouble
2823 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2824 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2825 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2826 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2827 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2828 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2830 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2834 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2836 self
->GetFieldRect(i
, r
);
2839 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2843 #include <wx/popupwin.h>
2846 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2849 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2850 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2851 : wxPopupTransientWindow(parent
, style
) {}
2853 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2854 DEC_PYCALLBACK__(OnDismiss
);
2855 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2860 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2861 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2862 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2865 #include <wx/tipwin.h>
2867 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2868 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2871 #include <wx/tipwin.h>
2874 #include <wx/vscroll.h>
2877 class wxPyVScrolledWindow
: public wxVScrolledWindow
2879 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2881 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883 wxPyVScrolledWindow(wxWindow
*parent
,
2884 wxWindowID id
= wxID_ANY
,
2885 const wxPoint
& pos
= wxDefaultPosition
,
2886 const wxSize
& size
= wxDefaultSize
,
2888 const wxString
& name
= wxPyPanelNameStr
)
2889 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2892 // Overridable virtuals
2894 // this function must be overridden in the derived class and it should
2895 // return the height of the given line in pixels
2896 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2899 // this function doesn't have to be overridden but it may be useful to do
2900 // it if calculating the lines heights is a relatively expensive operation
2901 // as it gives the user code a possibility to calculate several of them at
2904 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2905 // shouldn't rely on the latter being called for all lines in the interval
2906 // specified here. It is also possible that OnGetLineHeight() will be
2907 // called for the lines outside of this interval, so this is really just a
2908 // hint, not a promise.
2910 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2915 // when the number of lines changes, we try to estimate the total height
2916 // of all lines which is a rather expensive operation in terms of lines
2917 // access, so if the user code may estimate the average height
2918 // better/faster than we do, it should override this function to implement
2921 // this function should return the best guess for the total height it may
2923 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2926 // Also expose some other interesting protected methods
2929 // find the index of the line we need to show at the top of the window such
2930 // that the last (fully or partially) visible line is the given one
2931 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2932 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2934 // get the total height of the lines between lineMin (inclusive) and
2935 // lineMax (exclusive)
2936 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2937 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2939 // update the thumb size shown by the scrollbar
2940 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942 // remove the scrollbar completely because we don't need it
2943 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2948 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2950 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2951 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2952 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2956 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2959 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2960 return SWIG_TypeError
;
2963 *val
= (unsigned long)v
;
2968 SWIGINTERNINLINE
int
2969 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2972 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2973 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2978 SWIGINTERNINLINE PyObject
*
2979 SWIG_From_unsigned_SS_long (unsigned long value
)
2981 return (value
> LONG_MAX
) ?
2982 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2986 SWIGINTERNINLINE PyObject
*
2987 SWIG_From_size_t (size_t value
)
2989 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2993 #include <wx/vlbox.h>
2995 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2997 class wxPyVListBox
: public wxVListBox
2999 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3001 wxPyVListBox() : wxVListBox() {}
3003 wxPyVListBox(wxWindow
*parent
,
3004 wxWindowID id
= wxID_ANY
,
3005 const wxPoint
& pos
= wxDefaultPosition
,
3006 const wxSize
& size
= wxDefaultSize
,
3008 const wxString
& name
= wxPyVListBoxNameStr
)
3009 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3012 // Overridable virtuals
3014 // the derived class must implement this function to actually draw the item
3015 // with the given index on the provided DC
3016 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3017 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3020 // the derived class must implement this method to return the height of the
3022 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3023 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3026 // this method may be used to draw separators between the lines; note that
3027 // the rectangle may be modified, typically to deflate it a bit before
3028 // passing to OnDrawItem()
3030 // the base class version doesn't do anything
3031 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3032 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3035 // this method is used to draw the items background and, maybe, a border
3038 // the base class version implements a reasonable default behaviour which
3039 // consists in drawing the selected item with the standard background
3040 // colour and drawing a border around the item if it is either selected or
3042 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3051 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3052 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3053 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3054 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3057 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3058 unsigned long cookie
= 0;
3059 int selected
= self
->GetFirstSelected(cookie
);
3060 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3061 PyObject
* tup
= PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3063 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3064 wxPyEndBlockThreads(blocked
);
3067 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3068 int selected
= self
->GetNextSelected(cookie
);
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 PyObject
* tup
= PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3072 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3073 wxPyEndBlockThreads(blocked
);
3077 #include <wx/htmllbox.h>
3080 class wxPyHtmlListBox
: public wxHtmlListBox
3082 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3084 wxPyHtmlListBox() : wxHtmlListBox() {}
3086 wxPyHtmlListBox(wxWindow
*parent
,
3087 wxWindowID id
= wxID_ANY
,
3088 const wxPoint
& pos
= wxDefaultPosition
,
3089 const wxSize
& size
= wxDefaultSize
,
3091 const wxString
& name
= wxPyVListBoxNameStr
)
3092 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3095 // Overridable virtuals
3097 // this method must be implemented in the derived class and should return
3098 // the body (i.e. without <html>) of the HTML for the given item
3099 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3101 // this function may be overridden to decorate HTML returned by OnGetItem()
3102 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3104 // These are from wxVListBox
3105 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3106 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3109 // // this method allows to customize the selection appearance: it may be used
3110 // // to specify the colour of the text which normally has the given colour
3111 // // colFg when it is inside the selection
3113 // // by default, the original colour is not used at all and all text has the
3114 // // same (default for this system) colour inside selection
3115 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117 // // this is the same as GetSelectedTextColour() but allows to customize the
3118 // // background colour -- this is even more rarely used as you can change it
3119 // // globally using SetSelectionBackground()
3120 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3123 // This method may be overriden to handle clicking on a link in
3124 // the listbox. By default, clicking links is ignored.
3125 virtual void OnLinkClicked(size_t n
,
3126 const wxHtmlLinkInfo
& link
);
3132 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3134 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3135 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3136 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3137 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3140 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3141 const wxHtmlLinkInfo
& link
) {
3143 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3144 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3145 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3146 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3149 wxPyEndBlockThreads(blocked
);
3151 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3156 const wxArrayString wxPyEmptyStringArray
;
3158 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3162 #ifndef wxHAS_TASK_BAR_ICON
3163 // implement dummy classes for platforms that don't have it
3165 class wxTaskBarIcon
: public wxEvtHandler
3168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3172 class wxTaskBarIconEvent
: public wxEvent
3175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3176 { wxPyRaiseNotImplemented(); }
3177 virtual wxEvent
* Clone() const { return NULL
; }
3178 bool IsOk() const { return false; }
3179 bool IsIconInstalled() const { return false; }
3180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3181 bool RemoveIcon() { return false; }
3182 bool PopupMenu(wxMenu
*menu
) { return false; }
3186 wxEVT_TASKBAR_MOVE
= 0,
3187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3188 wxEVT_TASKBAR_LEFT_UP
= 0,
3189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3190 wxEVT_TASKBAR_RIGHT_UP
= 0,
3191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3197 // Otherwise make a class that can virtualize CreatePopupMenu
3198 class wxPyTaskBarIcon
: public wxTaskBarIcon
3200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3202 wxPyTaskBarIcon() : wxTaskBarIcon()
3205 wxMenu
* CreatePopupMenu() {
3206 wxMenu
*rval
= NULL
;
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3219 wxPyEndBlockThreads(blocked
);
3221 rval
= wxTaskBarIcon::CreatePopupMenu();
3228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3232 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3243 // for compatibility only
3244 #define wxHIDE_READONLY 0
3246 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3248 self
->GetFilenames(arr
);
3249 return wxArrayString2PyList_helper(arr
);
3251 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3253 self
->GetPaths(arr
);
3254 return wxArrayString2PyList_helper(arr
);
3256 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3257 return wxArrayInt2PyList_helper(self
->GetSelections());
3259 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
){
3260 return new wxSingleChoiceDialog(parent
, message
, caption
,
3261 choices
, choices_array
, NULL
, style
, pos
);
3263 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3265 SWIGINTERNINLINE PyObject
*
3266 SWIG_From_bool (bool value
)
3268 return PyBool_FromLong(value
? 1 : 0);
3274 // C++ version of Python aware wxWindow
3275 class wxPyWindow
: public wxWindow
3277 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3279 wxPyWindow() : wxWindow() {}
3280 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3281 const wxPoint
& pos
= wxDefaultPosition
,
3282 const wxSize
& size
= wxDefaultSize
,
3284 const wxString
& name
= wxPyPanelNameStr
)
3285 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3288 bool DoEraseBackground(wxDC
* dc
) {
3290 return wxWindow::DoEraseBackground(dc
->GetHDC());
3292 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3298 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3299 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3300 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3303 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3307 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3308 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3310 DEC_PYCALLBACK__(InitDialog
);
3311 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3312 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3313 DEC_PYCALLBACK_BOOL_(Validate
);
3315 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3317 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3319 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3322 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3323 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3325 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3327 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3332 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3334 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3335 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3336 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3339 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3346 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3347 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3353 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3355 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3359 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3361 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3363 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3365 // C++ version of Python aware wxPanel
3366 class wxPyPanel
: public wxPanel
3368 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3370 wxPyPanel() : wxPanel() {}
3371 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3372 const wxPoint
& pos
= wxDefaultPosition
,
3373 const wxSize
& size
= wxDefaultSize
,
3375 const wxString
& name
= wxPyPanelNameStr
)
3376 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3378 bool DoEraseBackground(wxDC
* dc
) {
3380 return wxWindow::DoEraseBackground(dc
->GetHDC());
3382 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3389 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3390 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3391 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3394 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3398 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3399 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3401 DEC_PYCALLBACK__(InitDialog
);
3402 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3403 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3404 DEC_PYCALLBACK_BOOL_(Validate
);
3406 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3408 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3410 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3413 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3414 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3416 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3418 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3423 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3425 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3426 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3427 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3430 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3437 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3438 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3444 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3446 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3450 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3452 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3454 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3456 // C++ version of Python aware wxScrolledWindow
3457 class wxPyScrolledWindow
: public wxScrolledWindow
3459 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3461 wxPyScrolledWindow() : wxScrolledWindow() {}
3462 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3463 const wxPoint
& pos
= wxDefaultPosition
,
3464 const wxSize
& size
= wxDefaultSize
,
3466 const wxString
& name
= wxPyPanelNameStr
)
3467 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3469 bool DoEraseBackground(wxDC
* dc
) {
3471 return wxWindow::DoEraseBackground(dc
->GetHDC());
3473 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3479 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3480 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3481 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3484 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3488 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3489 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3491 DEC_PYCALLBACK__(InitDialog
);
3492 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3493 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3494 DEC_PYCALLBACK_BOOL_(Validate
);
3496 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3498 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3500 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3503 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3504 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3506 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3508 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3513 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3515 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3516 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3517 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3520 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3527 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3536 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3540 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3542 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3544 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3547 #include "wx/wxPython/printfw.h"
3550 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3551 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3552 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3554 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3555 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3556 self
->GetPrivDataLen());
3557 wxPyEndBlockThreads(blocked
);
3560 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3561 if (! PyString_Check(data
)) {
3562 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3563 "Expected string object"));
3567 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3568 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3569 wxPyEndBlockThreads(blocked
);
3573 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3575 // Since this one would be tough and ugly to do with the Macros...
3576 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3577 bool hadErr
= false;
3580 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3581 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3582 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3583 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3586 val
= PyTuple_GetItem(result
, 0);
3587 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 1);
3591 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3594 val
= PyTuple_GetItem(result
, 2);
3595 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3598 val
= PyTuple_GetItem(result
, 3);
3599 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3606 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3611 wxPyEndBlockThreads(blocked
);
3613 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3618 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3619 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3620 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3623 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3624 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3630 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3631 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3634 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3635 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3638 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3639 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3640 PyObject* win = wxPyMake_wxObject(a,false); \
3641 PyObject* dc = wxPyMake_wxObject(&b,false); \
3642 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3646 wxPyEndBlockThreads(blocked); \
3648 rval = PCLASS::CBNAME(a, b); \
3655 class wxPyPrintPreview
: public wxPrintPreview
3657 DECLARE_CLASS(wxPyPrintPreview
)
3659 wxPyPrintPreview(wxPyPrintout
* printout
,
3660 wxPyPrintout
* printoutForPrinting
,
3661 wxPrintDialogData
* data
=NULL
)
3662 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 wxPyPrintPreview(wxPyPrintout
* printout
,
3665 wxPyPrintout
* printoutForPrinting
,
3667 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3670 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3671 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3673 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3674 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3675 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3676 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3681 // Stupid renamed classes... Fix this in 2.5...
3682 #if defined(__WXMSW__)
3683 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3684 #elif defined(__WXMAC__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3687 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3690 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3693 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3694 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3695 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3696 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3699 class wxPyPreviewFrame
: public wxPreviewFrame
3701 DECLARE_CLASS(wxPyPreviewFrame
)
3703 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3704 const wxString
& title
,
3705 const wxPoint
& pos
= wxDefaultPosition
,
3706 const wxSize
& size
= wxDefaultSize
,
3707 long style
= wxDEFAULT_FRAME_STYLE
,
3708 const wxString
& name
= wxPyFrameNameStr
)
3709 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3712 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3713 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3715 DEC_PYCALLBACK_VOID_(Initialize
);
3716 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3717 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3722 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3729 class wxPyPreviewControlBar
: public wxPreviewControlBar
3731 DECLARE_CLASS(wxPyPreviewControlBar
)
3733 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3736 const wxPoint
& pos
= wxDefaultPosition
,
3737 const wxSize
& size
= wxDefaultSize
,
3739 const wxString
& name
= wxPyPanelNameStr
)
3740 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3743 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3745 DEC_PYCALLBACK_VOID_(CreateButtons
);
3746 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3751 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3752 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3753 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3758 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
= 0;
3760 wxWindow
*arg1
= (wxWindow
*) 0 ;
3761 int arg2
= (int) (int)-1 ;
3762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3766 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3767 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3769 wxPanel
*result
= 0 ;
3778 bool temp6
= false ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3781 PyObject
* obj2
= 0 ;
3782 PyObject
* obj3
= 0 ;
3783 PyObject
* obj4
= 0 ;
3784 PyObject
* obj5
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3797 if (!SWIG_IsOK(ecode2
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 arg2
= static_cast< int >(val2
);
3805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3815 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3816 if (!SWIG_IsOK(ecode5
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 arg5
= static_cast< long >(val5
);
3823 arg6
= wxString_in_helper(obj5
);
3824 if (arg6
== NULL
) SWIG_fail
;
3829 if (!wxPyCheckForApp()) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3850 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3851 PyObject
*resultobj
= 0;
3852 wxPanel
*result
= 0 ;
3854 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3856 if (!wxPyCheckForApp()) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (wxPanel
*)new wxPanel();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3869 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
= 0;
3871 wxPanel
*arg1
= (wxPanel
*) 0 ;
3872 wxWindow
*arg2
= (wxWindow
*) 0 ;
3873 int arg3
= (int) (int)-1 ;
3874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3878 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3879 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3892 bool temp7
= false ;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3895 PyObject
* obj2
= 0 ;
3896 PyObject
* obj3
= 0 ;
3897 PyObject
* obj4
= 0 ;
3898 PyObject
* obj5
= 0 ;
3899 PyObject
* obj6
= 0 ;
3900 char * kwnames
[] = {
3901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3906 if (!SWIG_IsOK(res1
)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3911 if (!SWIG_IsOK(res2
)) {
3912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3917 if (!SWIG_IsOK(ecode3
)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 arg3
= static_cast< int >(val3
);
3925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3936 if (!SWIG_IsOK(ecode6
)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 arg6
= static_cast< long >(val6
);
3943 arg7
= wxString_in_helper(obj6
);
3944 if (arg7
== NULL
) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3971 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3972 PyObject
*resultobj
= 0;
3973 wxPanel
*arg1
= (wxPanel
*) 0 ;
3976 PyObject
*swig_obj
[1] ;
3978 if (!args
) SWIG_fail
;
3980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3981 if (!SWIG_IsOK(res1
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetFocusIgnoringChildren();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_Py_Void();
3998 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
= 0;
4000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4001 SwigValueWrapper
<wxVisualAttributes
> result
;
4004 PyObject
* obj0
= 0 ;
4005 char * kwnames
[] = {
4006 (char *) "variant", NULL
4009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4012 if (!SWIG_IsOK(ecode1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 arg1
= static_cast< wxWindowVariant
>(val1
);
4018 if (!wxPyCheckForApp()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4031 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4035 return SWIG_Py_Void();
4038 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 return SWIG_Python_InitShadowInstance(args
);
4042 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
= 0;
4044 wxWindow
*arg1
= (wxWindow
*) 0 ;
4045 int arg2
= (int) (int)-1 ;
4046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4050 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4051 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4053 wxScrolledWindow
*result
= 0 ;
4062 bool temp6
= false ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4065 PyObject
* obj2
= 0 ;
4066 PyObject
* obj3
= 0 ;
4067 PyObject
* obj4
= 0 ;
4068 PyObject
* obj5
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4081 if (!SWIG_IsOK(ecode2
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 arg2
= static_cast< int >(val2
);
4089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4095 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4099 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4100 if (!SWIG_IsOK(ecode5
)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 arg5
= static_cast< long >(val5
);
4107 arg6
= wxString_in_helper(obj5
);
4108 if (arg6
== NULL
) SWIG_fail
;
4113 if (!wxPyCheckForApp()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4134 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4135 PyObject
*resultobj
= 0;
4136 wxScrolledWindow
*result
= 0 ;
4138 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4140 if (!wxPyCheckForApp()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
= 0;
4155 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4156 wxWindow
*arg2
= (wxWindow
*) 0 ;
4157 int arg3
= (int) (int)-1 ;
4158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4162 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4163 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4176 bool temp7
= false ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4180 PyObject
* obj3
= 0 ;
4181 PyObject
* obj4
= 0 ;
4182 PyObject
* obj5
= 0 ;
4183 PyObject
* obj6
= 0 ;
4184 char * kwnames
[] = {
4185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4190 if (!SWIG_IsOK(res1
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4195 if (!SWIG_IsOK(res2
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4201 if (!SWIG_IsOK(ecode3
)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 arg3
= static_cast< int >(val3
);
4209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4219 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4220 if (!SWIG_IsOK(ecode6
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 arg6
= static_cast< long >(val6
);
4227 arg7
= wxString_in_helper(obj6
);
4228 if (arg7
== NULL
) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4255 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
= 0;
4257 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4262 int arg6
= (int) 0 ;
4263 int arg7
= (int) 0 ;
4264 bool arg8
= (bool) false ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 PyObject
* obj2
= 0 ;
4284 PyObject
* obj3
= 0 ;
4285 PyObject
* obj4
= 0 ;
4286 PyObject
* obj5
= 0 ;
4287 PyObject
* obj6
= 0 ;
4288 PyObject
* obj7
= 0 ;
4289 char * kwnames
[] = {
4290 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4295 if (!SWIG_IsOK(res1
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4300 if (!SWIG_IsOK(ecode2
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 arg2
= static_cast< int >(val2
);
4304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4305 if (!SWIG_IsOK(ecode3
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 arg3
= static_cast< int >(val3
);
4309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4310 if (!SWIG_IsOK(ecode4
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 arg4
= static_cast< int >(val4
);
4314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4315 if (!SWIG_IsOK(ecode5
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 arg5
= static_cast< int >(val5
);
4320 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4321 if (!SWIG_IsOK(ecode6
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 arg6
= static_cast< int >(val6
);
4327 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4328 if (!SWIG_IsOK(ecode7
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 arg7
= static_cast< int >(val7
);
4334 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4335 if (!SWIG_IsOK(ecode8
)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 arg8
= static_cast< bool >(val8
);
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_Py_Void();
4353 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
= 0;
4355 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 PyObject
* obj2
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "x",(char *) "y", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4378 if (!SWIG_IsOK(ecode2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 arg2
= static_cast< int >(val2
);
4382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4383 if (!SWIG_IsOK(ecode3
)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 arg3
= static_cast< int >(val3
);
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 (arg1
)->Scroll(arg2
,arg3
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_Py_Void();
4400 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
= 0;
4402 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "orient", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4422 if (!SWIG_IsOK(ecode2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 arg2
= static_cast< int >(val2
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_From_int(static_cast< int >(result
));
4439 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4452 PyObject
* obj2
= 0 ;
4453 char * kwnames
[] = {
4454 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4464 if (!SWIG_IsOK(ecode2
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 arg2
= static_cast< int >(val2
);
4468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4469 if (!SWIG_IsOK(ecode3
)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 arg3
= static_cast< int >(val3
);
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_Py_Void();
4486 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
= 0;
4488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4499 PyObject
* obj2
= 0 ;
4500 char * kwnames
[] = {
4501 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4506 if (!SWIG_IsOK(res1
)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4511 if (!SWIG_IsOK(ecode2
)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 arg2
= static_cast< int >(val2
);
4515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4516 if (!SWIG_IsOK(ecode3
)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 arg3
= static_cast< int >(val3
);
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->SetScrollRate(arg2
,arg3
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_Py_Void();
4533 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4534 PyObject
*resultobj
= 0;
4535 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4536 int *arg2
= (int *) 0 ;
4537 int *arg3
= (int *) 0 ;
4541 int res2
= SWIG_TMPOBJ
;
4543 int res3
= SWIG_TMPOBJ
;
4544 PyObject
*swig_obj
[1] ;
4548 if (!args
) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_Py_Void();
4562 if (SWIG_IsTmpObj(res2
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4565 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4568 if (SWIG_IsTmpObj(res3
)) {
4569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4571 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4580 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 char * kwnames
[] = {
4595 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4600 if (!SWIG_IsOK(res1
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4605 if (!SWIG_IsOK(ecode2
)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 arg2
= static_cast< bool >(val2
);
4609 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4610 if (!SWIG_IsOK(ecode3
)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 arg3
= static_cast< bool >(val3
);
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 (arg1
)->EnableScrolling(arg2
,arg3
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= SWIG_Py_Void();
4627 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4628 PyObject
*resultobj
= 0;
4629 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4630 int *arg2
= (int *) 0 ;
4631 int *arg3
= (int *) 0 ;
4635 int res2
= SWIG_TMPOBJ
;
4637 int res3
= SWIG_TMPOBJ
;
4638 PyObject
*swig_obj
[1] ;
4642 if (!args
) SWIG_fail
;
4644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4645 if (!SWIG_IsOK(res1
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4656 if (SWIG_IsTmpObj(res2
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4659 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4662 if (SWIG_IsTmpObj(res3
)) {
4663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4665 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4674 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 char * kwnames
[] = {
4689 (char *) "self",(char *) "xs",(char *) "ys", NULL
4692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4694 if (!SWIG_IsOK(res1
)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4698 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4699 if (!SWIG_IsOK(ecode2
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 arg2
= static_cast< double >(val2
);
4703 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4704 if (!SWIG_IsOK(ecode3
)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 arg3
= static_cast< double >(val3
);
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetScale(arg2
,arg3
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_Py_Void();
4721 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4722 PyObject
*resultobj
= 0;
4723 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4727 PyObject
*swig_obj
[1] ;
4729 if (!args
) SWIG_fail
;
4731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4732 if (!SWIG_IsOK(res1
)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= SWIG_From_double(static_cast< double >(result
));
4749 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4750 PyObject
*resultobj
= 0;
4751 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4755 PyObject
*swig_obj
[1] ;
4757 if (!args
) SWIG_fail
;
4759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4760 if (!SWIG_IsOK(res1
)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= SWIG_From_double(static_cast< double >(result
));
4777 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4778 PyObject
*resultobj
= 0;
4779 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4786 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4788 if (!SWIG_IsOK(res1
)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4794 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4809 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4810 PyObject
*resultobj
= 0;
4811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4814 int *arg4
= (int *) 0 ;
4815 int *arg5
= (int *) 0 ;
4823 int res4
= SWIG_TMPOBJ
;
4825 int res5
= SWIG_TMPOBJ
;
4829 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4835 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4836 if (!SWIG_IsOK(ecode2
)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 arg2
= static_cast< int >(val2
);
4840 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4841 if (!SWIG_IsOK(ecode3
)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 arg3
= static_cast< int >(val3
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_Py_Void();
4852 if (SWIG_IsTmpObj(res4
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4855 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4858 if (SWIG_IsTmpObj(res5
)) {
4859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4861 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4870 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4874 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4877 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4880 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4884 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4889 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4890 PyObject
*resultobj
= 0;
4891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4898 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4906 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4921 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4922 PyObject
*resultobj
= 0;
4923 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4926 int *arg4
= (int *) 0 ;
4927 int *arg5
= (int *) 0 ;
4935 int res4
= SWIG_TMPOBJ
;
4937 int res5
= SWIG_TMPOBJ
;
4941 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 arg2
= static_cast< int >(val2
);
4952 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4953 if (!SWIG_IsOK(ecode3
)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 arg3
= static_cast< int >(val3
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_Py_Void();
4964 if (SWIG_IsTmpObj(res4
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4967 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4970 if (SWIG_IsTmpObj(res5
)) {
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4973 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4982 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4986 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4989 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4992 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4996 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5001 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5002 PyObject
*resultobj
= 0;
5003 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5006 PyObject
*swig_obj
[1] ;
5008 if (!args
) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->AdjustScrollbars();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_Py_Void();
5028 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5031 wxScrollWinEvent
*arg2
= 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 char * kwnames
[] = {
5040 (char *) "self",(char *) "event", NULL
5043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5045 if (!SWIG_IsOK(res1
)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5050 if (!SWIG_IsOK(res2
)) {
5051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_From_int(static_cast< int >(result
));
5070 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
= 0;
5072 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5073 wxWindow
*arg2
= (wxWindow
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "self",(char *) "target", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5086 if (!SWIG_IsOK(res1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5091 if (!SWIG_IsOK(res2
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetTargetWindow(arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_Py_Void();
5108 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5111 wxWindow
*result
= 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= wxPyMake_wxObject(result
, 0);
5138 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= 0;
5140 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5147 char * kwnames
[] = {
5148 (char *) "self",(char *) "rect", NULL
5151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5153 if (!SWIG_IsOK(res1
)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5156 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5159 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_Py_Void();
5174 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5175 PyObject
*resultobj
= 0;
5176 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5180 PyObject
*swig_obj
[1] ;
5182 if (!args
) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5188 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5202 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
= 0;
5204 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5212 char * kwnames
[] = {
5213 (char *) "self",(char *) "dc", NULL
5216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5218 if (!SWIG_IsOK(res1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5221 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5223 if (!SWIG_IsOK(res2
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5229 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 (arg1
)->DoPrepareDC(*arg2
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_Py_Void();
5243 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5246 SwigValueWrapper
<wxVisualAttributes
> result
;
5249 PyObject
* obj0
= 0 ;
5250 char * kwnames
[] = {
5251 (char *) "variant", NULL
5254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5256 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5257 if (!SWIG_IsOK(ecode1
)) {
5258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5260 arg1
= static_cast< wxWindowVariant
>(val1
);
5263 if (!wxPyCheckForApp()) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5276 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5279 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5280 return SWIG_Py_Void();
5283 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5284 return SWIG_Python_InitShadowInstance(args
);
5287 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5288 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5293 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5294 PyObject
*pyobj
= 0;
5298 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5300 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5307 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5308 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5313 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5314 PyObject
*pyobj
= 0;
5318 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5320 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5327 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5328 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5333 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5334 PyObject
*pyobj
= 0;
5338 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5340 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5347 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5348 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5353 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5354 PyObject
*pyobj
= 0;
5358 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5360 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5367 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
= 0;
5369 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5370 bool arg2
= (bool) true ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5377 char * kwnames
[] = {
5378 (char *) "self",(char *) "maximize", NULL
5381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5383 if (!SWIG_IsOK(res1
)) {
5384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5386 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5388 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5389 if (!SWIG_IsOK(ecode2
)) {
5390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5392 arg2
= static_cast< bool >(val2
);
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 (arg1
)->Maximize(arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= SWIG_Py_Void();
5407 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5408 PyObject
*resultobj
= 0;
5409 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5412 PyObject
*swig_obj
[1] ;
5414 if (!args
) SWIG_fail
;
5416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5417 if (!SWIG_IsOK(res1
)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5420 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= SWIG_Py_Void();
5434 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
= 0;
5436 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5437 bool arg2
= (bool) true ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "self",(char *) "iconize", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5450 if (!SWIG_IsOK(res1
)) {
5451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5453 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5455 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5456 if (!SWIG_IsOK(ecode2
)) {
5457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5459 arg2
= static_cast< bool >(val2
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 (arg1
)->Iconize(arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_Py_Void();
5474 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5475 PyObject
*resultobj
= 0;
5476 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5480 PyObject
*swig_obj
[1] ;
5482 if (!args
) SWIG_fail
;
5484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5485 if (!SWIG_IsOK(res1
)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5488 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5504 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 PyObject
*resultobj
= 0;
5506 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5510 PyObject
*swig_obj
[1] ;
5512 if (!args
) SWIG_fail
;
5514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5515 if (!SWIG_IsOK(res1
)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5518 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5534 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5535 PyObject
*resultobj
= 0;
5536 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5540 PyObject
*swig_obj
[1] ;
5542 if (!args
) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5548 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5564 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5565 PyObject
*resultobj
= 0;
5566 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5570 PyObject
*swig_obj
[1] ;
5572 if (!args
) SWIG_fail
;
5574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5575 if (!SWIG_IsOK(res1
)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5578 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5592 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
= 0;
5594 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5602 char * kwnames
[] = {
5603 (char *) "self",(char *) "icon", NULL
5606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5608 if (!SWIG_IsOK(res1
)) {
5609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5611 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5613 if (!SWIG_IsOK(res2
)) {
5614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5619 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= SWIG_Py_Void();
5633 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
= 0;
5635 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5636 wxIconBundle
*arg2
= 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5643 char * kwnames
[] = {
5644 (char *) "self",(char *) "icons", NULL
5647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5649 if (!SWIG_IsOK(res1
)) {
5650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5652 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5654 if (!SWIG_IsOK(res2
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5660 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= SWIG_Py_Void();
5674 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
= 0;
5676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5678 long arg3
= (long) wxFULLSCREEN_ALL
;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5689 char * kwnames
[] = {
5690 (char *) "self",(char *) "show",(char *) "style", NULL
5693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5695 if (!SWIG_IsOK(res1
)) {
5696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5698 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5700 if (!SWIG_IsOK(ecode2
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5703 arg2
= static_cast< bool >(val2
);
5705 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5706 if (!SWIG_IsOK(ecode3
)) {
5707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5709 arg3
= static_cast< long >(val3
);
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5726 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5727 PyObject
*resultobj
= 0;
5728 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5732 PyObject
*swig_obj
[1] ;
5734 if (!args
) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5740 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5756 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
= 0;
5758 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5759 wxString
*arg2
= 0 ;
5762 bool temp2
= false ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5765 char * kwnames
[] = {
5766 (char *) "self",(char *) "title", NULL
5769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5771 if (!SWIG_IsOK(res1
)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5774 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5776 arg2
= wxString_in_helper(obj1
);
5777 if (arg2
== NULL
) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 (arg1
)->SetTitle((wxString
const &)*arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= SWIG_Py_Void();
5801 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5802 PyObject
*resultobj
= 0;
5803 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5807 PyObject
*swig_obj
[1] ;
5809 if (!args
) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5815 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5835 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 char * kwnames
[] = {
5847 (char *) "self",(char *) "enable", NULL
5850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5852 if (!SWIG_IsOK(res1
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5855 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5856 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5857 if (!SWIG_IsOK(ecode2
)) {
5858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5860 arg2
= static_cast< bool >(val2
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5876 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= 0;
5878 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5879 wxRegion
*arg2
= 0 ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5887 char * kwnames
[] = {
5888 (char *) "self",(char *) "region", NULL
5891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5893 if (!SWIG_IsOK(res1
)) {
5894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5896 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5898 if (!SWIG_IsOK(res2
)) {
5899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5904 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5920 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
= 0;
5922 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5923 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 char * kwnames
[] = {
5931 (char *) "self",(char *) "flags", NULL
5934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5939 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5942 if (!SWIG_IsOK(ecode2
)) {
5943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5945 arg2
= static_cast< int >(val2
);
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 (arg1
)->RequestUserAttention(arg2
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_Py_Void();
5960 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5961 PyObject
*resultobj
= 0;
5962 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5966 PyObject
*swig_obj
[1] ;
5968 if (!args
) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (bool)(arg1
)->IsActive();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5990 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
= 0;
5992 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj1
= 0 ;
6000 char * kwnames
[] = {
6001 (char *) "self",(char *) "on", NULL
6004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6009 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6010 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6011 if (!SWIG_IsOK(ecode2
)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6014 arg2
= static_cast< bool >(val2
);
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_Py_Void();
6028 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6029 PyObject
*resultobj
= 0;
6030 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6034 PyObject
*swig_obj
[1] ;
6036 if (!args
) SWIG_fail
;
6038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6039 if (!SWIG_IsOK(res1
)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6042 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
= 0;
6060 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6061 int arg2
= (int) wxBOTH
;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6068 char * kwnames
[] = {
6069 (char *) "self",(char *) "dir", NULL
6072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6080 if (!SWIG_IsOK(ecode2
)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6083 arg2
= static_cast< int >(val2
);
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 (arg1
)->CenterOnScreen(arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_Py_Void();
6098 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6099 PyObject
*resultobj
= 0;
6100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6101 wxWindow
*result
= 0 ;
6104 PyObject
*swig_obj
[1] ;
6106 if (!args
) SWIG_fail
;
6108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6109 if (!SWIG_IsOK(res1
)) {
6110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6112 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= wxPyMake_wxObject(result
, 0);
6128 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6130 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6131 wxWindow
*arg2
= (wxWindow
*) 0 ;
6132 wxWindow
*result
= 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 char * kwnames
[] = {
6140 (char *) "self",(char *) "child", NULL
6143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6145 if (!SWIG_IsOK(res1
)) {
6146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6148 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6150 if (!SWIG_IsOK(res2
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= wxPyMake_wxObject(result
, 0);
6169 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6171 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6172 wxWindow
*arg2
= (wxWindow
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 char * kwnames
[] = {
6180 (char *) "self",(char *) "win", NULL
6183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6185 if (!SWIG_IsOK(res1
)) {
6186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6188 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6190 if (!SWIG_IsOK(res2
)) {
6191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6193 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 (arg1
)->SetTmpDefaultItem(arg2
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_Py_Void();
6207 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6208 PyObject
*resultobj
= 0;
6209 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6210 wxWindow
*result
= 0 ;
6213 PyObject
*swig_obj
[1] ;
6215 if (!args
) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6221 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= wxPyMake_wxObject(result
, 0);
6237 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6240 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6241 return SWIG_Py_Void();
6244 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
= 0;
6246 wxWindow
*arg1
= (wxWindow
*) 0 ;
6247 int arg2
= (int) (int)-1 ;
6248 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6254 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6255 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6256 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6257 wxFrame
*result
= 0 ;
6262 bool temp3
= false ;
6267 bool temp7
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 PyObject
* obj2
= 0 ;
6271 PyObject
* obj3
= 0 ;
6272 PyObject
* obj4
= 0 ;
6273 PyObject
* obj5
= 0 ;
6274 PyObject
* obj6
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6287 if (!SWIG_IsOK(ecode2
)) {
6288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6290 arg2
= static_cast< int >(val2
);
6294 arg3
= wxString_in_helper(obj2
);
6295 if (arg3
== NULL
) SWIG_fail
;
6302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6312 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6313 if (!SWIG_IsOK(ecode6
)) {
6314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6316 arg6
= static_cast< long >(val6
);
6320 arg7
= wxString_in_helper(obj6
);
6321 if (arg7
== NULL
) SWIG_fail
;
6326 if (!wxPyCheckForApp()) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6355 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6356 PyObject
*resultobj
= 0;
6357 wxFrame
*result
= 0 ;
6359 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6361 if (!wxPyCheckForApp()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (wxFrame
*)new wxFrame();
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6374 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
= 0;
6376 wxFrame
*arg1
= (wxFrame
*) 0 ;
6377 wxWindow
*arg2
= (wxWindow
*) 0 ;
6378 int arg3
= (int) (int)-1 ;
6379 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6380 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6381 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6382 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6383 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6384 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6385 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6386 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6387 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6395 bool temp4
= false ;
6400 bool temp8
= false ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6403 PyObject
* obj2
= 0 ;
6404 PyObject
* obj3
= 0 ;
6405 PyObject
* obj4
= 0 ;
6406 PyObject
* obj5
= 0 ;
6407 PyObject
* obj6
= 0 ;
6408 PyObject
* obj7
= 0 ;
6409 char * kwnames
[] = {
6410 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6415 if (!SWIG_IsOK(res1
)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6418 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6420 if (!SWIG_IsOK(res2
)) {
6421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6423 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6426 if (!SWIG_IsOK(ecode3
)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6429 arg3
= static_cast< int >(val3
);
6433 arg4
= wxString_in_helper(obj3
);
6434 if (arg4
== NULL
) SWIG_fail
;
6441 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6447 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6451 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6452 if (!SWIG_IsOK(ecode7
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6455 arg7
= static_cast< long >(val7
);
6459 arg8
= wxString_in_helper(obj7
);
6460 if (arg8
== NULL
) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6495 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6496 PyObject
*resultobj
= 0;
6497 wxFrame
*arg1
= (wxFrame
*) 0 ;
6500 PyObject
*swig_obj
[1] ;
6502 if (!args
) SWIG_fail
;
6504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6505 if (!SWIG_IsOK(res1
)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6508 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 (arg1
)->SendSizeEvent();
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_Py_Void();
6522 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
= 0;
6524 wxFrame
*arg1
= (wxFrame
*) 0 ;
6525 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 char * kwnames
[] = {
6533 (char *) "self",(char *) "menubar", NULL
6536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6543 if (!SWIG_IsOK(res2
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6546 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 (arg1
)->SetMenuBar(arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_Py_Void();
6560 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6561 PyObject
*resultobj
= 0;
6562 wxFrame
*arg1
= (wxFrame
*) 0 ;
6563 wxMenuBar
*result
= 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6574 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= wxPyMake_wxObject(result
, 0);
6590 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
= 0;
6592 wxFrame
*arg1
= (wxFrame
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6601 char * kwnames
[] = {
6602 (char *) "self",(char *) "winid", NULL
6605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6610 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6612 if (!SWIG_IsOK(ecode2
)) {
6613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6615 arg2
= static_cast< int >(val2
);
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6631 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
= 0;
6633 wxFrame
*arg1
= (wxFrame
*) 0 ;
6634 int arg2
= (int) 1 ;
6635 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6636 int arg4
= (int) 0 ;
6637 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6638 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6639 wxStatusBar
*result
= 0 ;
6648 bool temp5
= false ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 PyObject
* obj2
= 0 ;
6652 PyObject
* obj3
= 0 ;
6653 PyObject
* obj4
= 0 ;
6654 char * kwnames
[] = {
6655 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6663 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6666 if (!SWIG_IsOK(ecode2
)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6669 arg2
= static_cast< int >(val2
);
6672 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6673 if (!SWIG_IsOK(ecode3
)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6676 arg3
= static_cast< long >(val3
);
6679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6680 if (!SWIG_IsOK(ecode4
)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6683 arg4
= static_cast< int >(val4
);
6687 arg5
= wxString_in_helper(obj4
);
6688 if (arg5
== NULL
) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6715 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6716 PyObject
*resultobj
= 0;
6717 wxFrame
*arg1
= (wxFrame
*) 0 ;
6718 wxStatusBar
*result
= 0 ;
6721 PyObject
*swig_obj
[1] ;
6723 if (!args
) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6729 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6745 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= 0;
6747 wxFrame
*arg1
= (wxFrame
*) 0 ;
6748 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 char * kwnames
[] = {
6756 (char *) "self",(char *) "statBar", NULL
6759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6764 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6766 if (!SWIG_IsOK(res2
)) {
6767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6769 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 (arg1
)->SetStatusBar(arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= SWIG_Py_Void();
6783 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
= 0;
6785 wxFrame
*arg1
= (wxFrame
*) 0 ;
6786 wxString
*arg2
= 0 ;
6787 int arg3
= (int) 0 ;
6790 bool temp2
= false ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6795 PyObject
* obj2
= 0 ;
6796 char * kwnames
[] = {
6797 (char *) "self",(char *) "text",(char *) "number", NULL
6800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6805 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6807 arg2
= wxString_in_helper(obj1
);
6808 if (arg2
== NULL
) SWIG_fail
;
6812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6813 if (!SWIG_IsOK(ecode3
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6816 arg3
= static_cast< int >(val3
);
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_Py_Void();
6839 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
= 0;
6841 wxFrame
*arg1
= (wxFrame
*) 0 ;
6843 int *arg3
= (int *) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6848 char * kwnames
[] = {
6849 (char *) "self",(char *) "widths", NULL
6852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6854 if (!SWIG_IsOK(res1
)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6857 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6859 arg2
= PyList_Size(obj1
);
6860 arg3
= int_LIST_helper(obj1
);
6861 if (arg3
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_Py_Void();
6871 if (arg3
) delete [] arg3
;
6876 if (arg3
) delete [] arg3
;
6882 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
= 0;
6884 wxFrame
*arg1
= (wxFrame
*) 0 ;
6885 wxString
*arg2
= 0 ;
6886 int arg3
= (int) 0 ;
6889 bool temp2
= false ;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6894 PyObject
* obj2
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "text",(char *) "number", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6906 arg2
= wxString_in_helper(obj1
);
6907 if (arg2
== NULL
) SWIG_fail
;
6911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6912 if (!SWIG_IsOK(ecode3
)) {
6913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6915 arg3
= static_cast< int >(val3
);
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_Py_Void();
6938 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
= 0;
6940 wxFrame
*arg1
= (wxFrame
*) 0 ;
6941 int arg2
= (int) 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 char * kwnames
[] = {
6949 (char *) "self",(char *) "number", NULL
6952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6954 if (!SWIG_IsOK(res1
)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6957 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6960 if (!SWIG_IsOK(ecode2
)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6963 arg2
= static_cast< int >(val2
);
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 (arg1
)->PopStatusText(arg2
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_Py_Void();
6978 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
= 0;
6980 wxFrame
*arg1
= (wxFrame
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 char * kwnames
[] = {
6989 (char *) "self",(char *) "n", NULL
6992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6994 if (!SWIG_IsOK(res1
)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6997 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6999 if (!SWIG_IsOK(ecode2
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7002 arg2
= static_cast< int >(val2
);
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->SetStatusBarPane(arg2
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_Py_Void();
7016 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7017 PyObject
*resultobj
= 0;
7018 wxFrame
*arg1
= (wxFrame
*) 0 ;
7022 PyObject
*swig_obj
[1] ;
7024 if (!args
) SWIG_fail
;
7026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7027 if (!SWIG_IsOK(res1
)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7030 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_From_int(static_cast< int >(result
));
7044 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
= 0;
7046 wxFrame
*arg1
= (wxFrame
*) 0 ;
7047 long arg2
= (long) -1 ;
7048 int arg3
= (int) -1 ;
7049 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7050 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7051 wxToolBar
*result
= 0 ;
7058 bool temp4
= false ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 PyObject
* obj2
= 0 ;
7062 PyObject
* obj3
= 0 ;
7063 char * kwnames
[] = {
7064 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7072 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7075 if (!SWIG_IsOK(ecode2
)) {
7076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7078 arg2
= static_cast< long >(val2
);
7081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7082 if (!SWIG_IsOK(ecode3
)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7085 arg3
= static_cast< int >(val3
);
7089 arg4
= wxString_in_helper(obj3
);
7090 if (arg4
== NULL
) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7117 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7118 PyObject
*resultobj
= 0;
7119 wxFrame
*arg1
= (wxFrame
*) 0 ;
7120 wxToolBar
*result
= 0 ;
7123 PyObject
*swig_obj
[1] ;
7125 if (!args
) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7131 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7147 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7149 wxFrame
*arg1
= (wxFrame
*) 0 ;
7150 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "self",(char *) "toolbar", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7166 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7168 if (!SWIG_IsOK(res2
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7171 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 (arg1
)->SetToolBar(arg2
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_Py_Void();
7185 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
= 0;
7187 wxFrame
*arg1
= (wxFrame
*) 0 ;
7188 wxString
*arg2
= 0 ;
7192 bool temp2
= false ;
7195 PyObject
* obj0
= 0 ;
7196 PyObject
* obj1
= 0 ;
7197 PyObject
* obj2
= 0 ;
7198 char * kwnames
[] = {
7199 (char *) "self",(char *) "text",(char *) "show", NULL
7202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7204 if (!SWIG_IsOK(res1
)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7207 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7209 arg2
= wxString_in_helper(obj1
);
7210 if (arg2
== NULL
) SWIG_fail
;
7213 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7214 if (!SWIG_IsOK(ecode3
)) {
7215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7217 arg3
= static_cast< bool >(val3
);
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 resultobj
= SWIG_Py_Void();
7239 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
= 0;
7241 wxFrame
*arg1
= (wxFrame
*) 0 ;
7242 wxMenu
*arg2
= (wxMenu
*) NULL
;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 char * kwnames
[] = {
7250 (char *) "self",(char *) "menu", NULL
7253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7258 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7261 if (!SWIG_IsOK(res2
)) {
7262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7264 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->DoMenuUpdates(arg2
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_Py_Void();
7279 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
= 0;
7281 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7282 SwigValueWrapper
<wxVisualAttributes
> result
;
7285 PyObject
* obj0
= 0 ;
7286 char * kwnames
[] = {
7287 (char *) "variant", NULL
7290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7292 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7293 if (!SWIG_IsOK(ecode1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7296 arg1
= static_cast< wxWindowVariant
>(val1
);
7299 if (!wxPyCheckForApp()) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7312 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7315 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7316 return SWIG_Py_Void();
7319 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7320 return SWIG_Python_InitShadowInstance(args
);
7323 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
= 0;
7325 wxWindow
*arg1
= (wxWindow
*) 0 ;
7326 int arg2
= (int) (int)-1 ;
7327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7333 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7334 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7335 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7336 wxDialog
*result
= 0 ;
7341 bool temp3
= false ;
7346 bool temp7
= false ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7349 PyObject
* obj2
= 0 ;
7350 PyObject
* obj3
= 0 ;
7351 PyObject
* obj4
= 0 ;
7352 PyObject
* obj5
= 0 ;
7353 PyObject
* obj6
= 0 ;
7354 char * kwnames
[] = {
7355 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7360 if (!SWIG_IsOK(res1
)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7366 if (!SWIG_IsOK(ecode2
)) {
7367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7369 arg2
= static_cast< int >(val2
);
7373 arg3
= wxString_in_helper(obj2
);
7374 if (arg3
== NULL
) SWIG_fail
;
7381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7391 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7392 if (!SWIG_IsOK(ecode6
)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7395 arg6
= static_cast< long >(val6
);
7399 arg7
= wxString_in_helper(obj6
);
7400 if (arg7
== NULL
) SWIG_fail
;
7405 if (!wxPyCheckForApp()) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7434 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7435 PyObject
*resultobj
= 0;
7436 wxDialog
*result
= 0 ;
7438 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7440 if (!wxPyCheckForApp()) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (wxDialog
*)new wxDialog();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7453 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= 0;
7455 wxDialog
*arg1
= (wxDialog
*) 0 ;
7456 wxWindow
*arg2
= (wxWindow
*) 0 ;
7457 int arg3
= (int) (int)-1 ;
7458 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7459 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7464 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7465 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7474 bool temp4
= false ;
7479 bool temp8
= false ;
7480 PyObject
* obj0
= 0 ;
7481 PyObject
* obj1
= 0 ;
7482 PyObject
* obj2
= 0 ;
7483 PyObject
* obj3
= 0 ;
7484 PyObject
* obj4
= 0 ;
7485 PyObject
* obj5
= 0 ;
7486 PyObject
* obj6
= 0 ;
7487 PyObject
* obj7
= 0 ;
7488 char * kwnames
[] = {
7489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7494 if (!SWIG_IsOK(res1
)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7497 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7499 if (!SWIG_IsOK(res2
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7502 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7505 if (!SWIG_IsOK(ecode3
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7508 arg3
= static_cast< int >(val3
);
7512 arg4
= wxString_in_helper(obj3
);
7513 if (arg4
== NULL
) SWIG_fail
;
7520 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7526 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7530 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7531 if (!SWIG_IsOK(ecode7
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7534 arg7
= static_cast< long >(val7
);
7538 arg8
= wxString_in_helper(obj7
);
7539 if (arg8
== NULL
) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7574 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
= 0;
7576 wxDialog
*arg1
= (wxDialog
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 char * kwnames
[] = {
7585 (char *) "self",(char *) "returnCode", NULL
7588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7590 if (!SWIG_IsOK(res1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7595 if (!SWIG_IsOK(ecode2
)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7598 arg2
= static_cast< int >(val2
);
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 (arg1
)->SetReturnCode(arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= SWIG_Py_Void();
7612 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7613 PyObject
*resultobj
= 0;
7614 wxDialog
*arg1
= (wxDialog
*) 0 ;
7618 PyObject
*swig_obj
[1] ;
7620 if (!args
) SWIG_fail
;
7622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7623 if (!SWIG_IsOK(res1
)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7626 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_From_int(static_cast< int >(result
));
7640 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
= 0;
7642 wxDialog
*arg1
= (wxDialog
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 char * kwnames
[] = {
7651 (char *) "self",(char *) "affirmativeId", NULL
7654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7656 if (!SWIG_IsOK(res1
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7661 if (!SWIG_IsOK(ecode2
)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7664 arg2
= static_cast< int >(val2
);
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 (arg1
)->SetAffirmativeId(arg2
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_Py_Void();
7678 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7679 PyObject
*resultobj
= 0;
7680 wxDialog
*arg1
= (wxDialog
*) 0 ;
7684 PyObject
*swig_obj
[1] ;
7686 if (!args
) SWIG_fail
;
7688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7689 if (!SWIG_IsOK(res1
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7692 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_From_int(static_cast< int >(result
));
7706 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
= 0;
7708 wxDialog
*arg1
= (wxDialog
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "self",(char *) "escapeId", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7722 if (!SWIG_IsOK(res1
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7725 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7727 if (!SWIG_IsOK(ecode2
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7730 arg2
= static_cast< int >(val2
);
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 (arg1
)->SetEscapeId(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_Py_Void();
7744 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7745 PyObject
*resultobj
= 0;
7746 wxDialog
*arg1
= (wxDialog
*) 0 ;
7750 PyObject
*swig_obj
[1] ;
7752 if (!args
) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7758 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_From_int(static_cast< int >(result
));
7772 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
= 0;
7774 wxDialog
*arg1
= (wxDialog
*) 0 ;
7775 wxString
*arg2
= 0 ;
7776 wxSizer
*result
= 0 ;
7779 bool temp2
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 char * kwnames
[] = {
7783 (char *) "self",(char *) "message", NULL
7786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7791 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7793 arg2
= wxString_in_helper(obj1
);
7794 if (arg2
== NULL
) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7820 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxDialog
*arg1
= (wxDialog
*) 0 ;
7824 wxSizer
*result
= 0 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "self",(char *) "flags", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7840 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7841 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7842 if (!SWIG_IsOK(ecode2
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7845 arg2
= static_cast< long >(val2
);
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7861 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
= 0;
7863 wxDialog
*arg1
= (wxDialog
*) 0 ;
7865 wxSizer
*result
= 0 ;
7870 PyObject
* obj0
= 0 ;
7871 PyObject
* obj1
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "flags", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7881 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7883 if (!SWIG_IsOK(ecode2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7886 arg2
= static_cast< long >(val2
);
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7902 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
= 0;
7904 wxDialog
*arg1
= (wxDialog
*) 0 ;
7906 wxStdDialogButtonSizer
*result
= 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "flags", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7922 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7923 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7924 if (!SWIG_IsOK(ecode2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7927 arg2
= static_cast< long >(val2
);
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7941 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7942 PyObject
*resultobj
= 0;
7943 wxDialog
*arg1
= (wxDialog
*) 0 ;
7947 PyObject
*swig_obj
[1] ;
7949 if (!args
) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7955 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7971 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxDialog
*arg1
= (wxDialog
*) 0 ;
7977 PyObject
*swig_obj
[1] ;
7979 if (!args
) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7985 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (int)(arg1
)->ShowModal();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_From_int(static_cast< int >(result
));
7999 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
= 0;
8001 wxDialog
*arg1
= (wxDialog
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8009 char * kwnames
[] = {
8010 (char *) "self",(char *) "retCode", NULL
8013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8015 if (!SWIG_IsOK(res1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8018 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8020 if (!SWIG_IsOK(ecode2
)) {
8021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8023 arg2
= static_cast< int >(val2
);
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 (arg1
)->EndModal(arg2
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= SWIG_Py_Void();
8037 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
= 0;
8039 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8040 SwigValueWrapper
<wxVisualAttributes
> result
;
8043 PyObject
* obj0
= 0 ;
8044 char * kwnames
[] = {
8045 (char *) "variant", NULL
8048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8051 if (!SWIG_IsOK(ecode1
)) {
8052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8054 arg1
= static_cast< wxWindowVariant
>(val1
);
8057 if (!wxPyCheckForApp()) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8070 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8073 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8074 return SWIG_Py_Void();
8077 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 return SWIG_Python_InitShadowInstance(args
);
8081 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
= 0;
8083 wxWindow
*arg1
= (wxWindow
*) 0 ;
8084 int arg2
= (int) (int)-1 ;
8085 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8086 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8091 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8092 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8094 wxMiniFrame
*result
= 0 ;
8099 bool temp3
= false ;
8104 bool temp7
= false ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8107 PyObject
* obj2
= 0 ;
8108 PyObject
* obj3
= 0 ;
8109 PyObject
* obj4
= 0 ;
8110 PyObject
* obj5
= 0 ;
8111 PyObject
* obj6
= 0 ;
8112 char * kwnames
[] = {
8113 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8118 if (!SWIG_IsOK(res1
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8124 if (!SWIG_IsOK(ecode2
)) {
8125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8127 arg2
= static_cast< int >(val2
);
8131 arg3
= wxString_in_helper(obj2
);
8132 if (arg3
== NULL
) SWIG_fail
;
8139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8149 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8150 if (!SWIG_IsOK(ecode6
)) {
8151 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8153 arg6
= static_cast< long >(val6
);
8157 arg7
= wxString_in_helper(obj6
);
8158 if (arg7
== NULL
) SWIG_fail
;
8163 if (!wxPyCheckForApp()) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8192 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 PyObject
*resultobj
= 0;
8194 wxMiniFrame
*result
= 0 ;
8196 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8198 if (!wxPyCheckForApp()) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= (wxMiniFrame
*)new wxMiniFrame();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8211 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
= 0;
8213 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8214 wxWindow
*arg2
= (wxWindow
*) 0 ;
8215 int arg3
= (int) (int)-1 ;
8216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8218 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8219 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8220 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8221 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8222 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8223 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8224 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8232 bool temp4
= false ;
8237 bool temp8
= false ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 PyObject
* obj2
= 0 ;
8241 PyObject
* obj3
= 0 ;
8242 PyObject
* obj4
= 0 ;
8243 PyObject
* obj5
= 0 ;
8244 PyObject
* obj6
= 0 ;
8245 PyObject
* obj7
= 0 ;
8246 char * kwnames
[] = {
8247 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8252 if (!SWIG_IsOK(res1
)) {
8253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8255 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8257 if (!SWIG_IsOK(res2
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8263 if (!SWIG_IsOK(ecode3
)) {
8264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8266 arg3
= static_cast< int >(val3
);
8270 arg4
= wxString_in_helper(obj3
);
8271 if (arg4
== NULL
) SWIG_fail
;
8278 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8284 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8288 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8289 if (!SWIG_IsOK(ecode7
)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8292 arg7
= static_cast< long >(val7
);
8296 arg8
= wxString_in_helper(obj7
);
8297 if (arg8
== NULL
) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8332 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8335 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8336 return SWIG_Py_Void();
8339 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8340 return SWIG_Python_InitShadowInstance(args
);
8343 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxBitmap
*arg1
= 0 ;
8346 wxWindow
*arg2
= (wxWindow
*) 0 ;
8348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8352 long arg6
= (long) wxNO_BORDER
;
8353 wxSplashScreenWindow
*result
= 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8367 PyObject
* obj3
= 0 ;
8368 PyObject
* obj4
= 0 ;
8369 PyObject
* obj5
= 0 ;
8370 char * kwnames
[] = {
8371 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8382 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8384 if (!SWIG_IsOK(res2
)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8387 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8389 if (!SWIG_IsOK(ecode3
)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8392 arg3
= static_cast< int >(val3
);
8396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8406 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8407 if (!SWIG_IsOK(ecode6
)) {
8408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8410 arg6
= static_cast< long >(val6
);
8413 if (!wxPyCheckForApp()) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8426 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
= 0;
8428 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8429 wxBitmap
*arg2
= 0 ;
8434 PyObject
* obj0
= 0 ;
8435 PyObject
* obj1
= 0 ;
8436 char * kwnames
[] = {
8437 (char *) "self",(char *) "bitmap", NULL
8440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8445 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8447 if (!SWIG_IsOK(res2
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8453 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= SWIG_Py_Void();
8467 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8468 PyObject
*resultobj
= 0;
8469 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8470 wxBitmap
*result
= 0 ;
8473 PyObject
*swig_obj
[1] ;
8475 if (!args
) SWIG_fail
;
8477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8478 if (!SWIG_IsOK(res1
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8481 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8486 result
= (wxBitmap
*) &_result_ref
;
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8492 wxBitmap
* resultptr
= new wxBitmap(*result
);
8493 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8501 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8504 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8505 return SWIG_Py_Void();
8508 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8509 return SWIG_Python_InitShadowInstance(args
);
8512 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
= 0;
8514 wxBitmap
*arg1
= 0 ;
8517 wxWindow
*arg4
= (wxWindow
*) 0 ;
8518 int arg5
= (int) -1 ;
8519 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8520 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8521 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8522 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8523 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8524 wxSplashScreen
*result
= 0 ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8543 PyObject
* obj4
= 0 ;
8544 PyObject
* obj5
= 0 ;
8545 PyObject
* obj6
= 0 ;
8546 PyObject
* obj7
= 0 ;
8547 char * kwnames
[] = {
8548 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8559 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8561 if (!SWIG_IsOK(ecode2
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8564 arg2
= static_cast< long >(val2
);
8565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8566 if (!SWIG_IsOK(ecode3
)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8569 arg3
= static_cast< int >(val3
);
8570 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8571 if (!SWIG_IsOK(res4
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8574 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8576 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8577 if (!SWIG_IsOK(ecode5
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8580 arg5
= static_cast< int >(val5
);
8585 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8591 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8595 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8596 if (!SWIG_IsOK(ecode8
)) {
8597 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8599 arg8
= static_cast< long >(val8
);
8602 if (!wxPyCheckForApp()) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8615 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8616 PyObject
*resultobj
= 0;
8617 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8621 PyObject
*swig_obj
[1] ;
8623 if (!args
) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8629 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_From_long(static_cast< long >(result
));
8643 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 PyObject
*resultobj
= 0;
8645 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8646 wxSplashScreenWindow
*result
= 0 ;
8649 PyObject
*swig_obj
[1] ;
8651 if (!args
) SWIG_fail
;
8653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8654 if (!SWIG_IsOK(res1
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8657 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8671 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8672 PyObject
*resultobj
= 0;
8673 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8677 PyObject
*swig_obj
[1] ;
8679 if (!args
) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8685 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_From_int(static_cast< int >(result
));
8699 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8702 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8703 return SWIG_Py_Void();
8706 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 return SWIG_Python_InitShadowInstance(args
);
8710 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= 0;
8712 wxWindow
*arg1
= (wxWindow
*) 0 ;
8713 int arg2
= (int) -1 ;
8714 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8715 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8716 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8717 wxStatusBar
*result
= 0 ;
8724 bool temp4
= false ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8727 PyObject
* obj2
= 0 ;
8728 PyObject
* obj3
= 0 ;
8729 char * kwnames
[] = {
8730 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8735 if (!SWIG_IsOK(res1
)) {
8736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8741 if (!SWIG_IsOK(ecode2
)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8744 arg2
= static_cast< int >(val2
);
8747 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8748 if (!SWIG_IsOK(ecode3
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8751 arg3
= static_cast< long >(val3
);
8755 arg4
= wxString_in_helper(obj3
);
8756 if (arg4
== NULL
) SWIG_fail
;
8761 if (!wxPyCheckForApp()) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8782 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 PyObject
*resultobj
= 0;
8784 wxStatusBar
*result
= 0 ;
8786 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8788 if (!wxPyCheckForApp()) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (wxStatusBar
*)new wxStatusBar();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8801 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= 0;
8803 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8804 wxWindow
*arg2
= (wxWindow
*) 0 ;
8805 int arg3
= (int) -1 ;
8806 long arg4
= (long) wxST_SIZEGRIP
;
8807 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8808 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8818 bool temp5
= false ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 PyObject
* obj2
= 0 ;
8822 PyObject
* obj3
= 0 ;
8823 PyObject
* obj4
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8833 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8835 if (!SWIG_IsOK(res2
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8838 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8841 if (!SWIG_IsOK(ecode3
)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8844 arg3
= static_cast< int >(val3
);
8847 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8848 if (!SWIG_IsOK(ecode4
)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8851 arg4
= static_cast< long >(val4
);
8855 arg5
= wxString_in_helper(obj4
);
8856 if (arg5
== NULL
) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8883 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
= 0;
8885 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8886 int arg2
= (int) 1 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 char * kwnames
[] = {
8894 (char *) "self",(char *) "number", NULL
8897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8899 if (!SWIG_IsOK(res1
)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8905 if (!SWIG_IsOK(ecode2
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8908 arg2
= static_cast< int >(val2
);
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->SetFieldsCount(arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_Py_Void();
8923 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8924 PyObject
*resultobj
= 0;
8925 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8929 PyObject
*swig_obj
[1] ;
8931 if (!args
) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8937 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= SWIG_From_int(static_cast< int >(result
));
8951 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
= 0;
8953 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8954 wxString
*arg2
= 0 ;
8955 int arg3
= (int) 0 ;
8958 bool temp2
= false ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8964 char * kwnames
[] = {
8965 (char *) "self",(char *) "text",(char *) "number", NULL
8968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8970 if (!SWIG_IsOK(res1
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8973 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8975 arg2
= wxString_in_helper(obj1
);
8976 if (arg2
== NULL
) SWIG_fail
;
8980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8981 if (!SWIG_IsOK(ecode3
)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8984 arg3
= static_cast< int >(val3
);
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= SWIG_Py_Void();
9007 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
= 0;
9009 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9010 int arg2
= (int) 0 ;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9018 char * kwnames
[] = {
9019 (char *) "self",(char *) "number", NULL
9022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9024 if (!SWIG_IsOK(res1
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9027 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9030 if (!SWIG_IsOK(ecode2
)) {
9031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9033 arg2
= static_cast< int >(val2
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9054 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
= 0;
9056 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9057 wxString
*arg2
= 0 ;
9058 int arg3
= (int) 0 ;
9061 bool temp2
= false ;
9064 PyObject
* obj0
= 0 ;
9065 PyObject
* obj1
= 0 ;
9066 PyObject
* obj2
= 0 ;
9067 char * kwnames
[] = {
9068 (char *) "self",(char *) "text",(char *) "number", NULL
9071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9073 if (!SWIG_IsOK(res1
)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9076 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9078 arg2
= wxString_in_helper(obj1
);
9079 if (arg2
== NULL
) SWIG_fail
;
9083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9084 if (!SWIG_IsOK(ecode3
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9087 arg3
= static_cast< int >(val3
);
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_Py_Void();
9110 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
= 0;
9112 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9113 int arg2
= (int) 0 ;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9120 char * kwnames
[] = {
9121 (char *) "self",(char *) "number", NULL
9124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9126 if (!SWIG_IsOK(res1
)) {
9127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9129 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9132 if (!SWIG_IsOK(ecode2
)) {
9133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9135 arg2
= static_cast< int >(val2
);
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->PopStatusText(arg2
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_Py_Void();
9150 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
= 0;
9152 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9154 int *arg3
= (int *) 0 ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 char * kwnames
[] = {
9160 (char *) "self",(char *) "widths", NULL
9163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9168 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9170 arg2
= PyList_Size(obj1
);
9171 arg3
= int_LIST_helper(obj1
);
9172 if (arg3
== NULL
) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_Py_Void();
9182 if (arg3
) delete [] arg3
;
9187 if (arg3
) delete [] arg3
;
9193 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
= 0;
9195 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9197 int *arg3
= (int *) 0 ;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9202 char * kwnames
[] = {
9203 (char *) "self",(char *) "styles", NULL
9206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9211 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9213 arg2
= PyList_Size(obj1
);
9214 arg3
= int_LIST_helper(obj1
);
9215 if (arg3
== NULL
) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_Py_Void();
9225 if (arg3
) delete [] arg3
;
9230 if (arg3
) delete [] arg3
;
9236 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 char * kwnames
[] = {
9248 (char *) "self",(char *) "i", NULL
9251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9256 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9258 if (!SWIG_IsOK(ecode2
)) {
9259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9261 arg2
= static_cast< int >(val2
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9275 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
= 0;
9277 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9285 char * kwnames
[] = {
9286 (char *) "self",(char *) "height", NULL
9289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9291 if (!SWIG_IsOK(res1
)) {
9292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9294 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9296 if (!SWIG_IsOK(ecode2
)) {
9297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9299 arg2
= static_cast< int >(val2
);
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 (arg1
)->SetMinHeight(arg2
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_Py_Void();
9313 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9314 PyObject
*resultobj
= 0;
9315 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9319 PyObject
*swig_obj
[1] ;
9321 if (!args
) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9327 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= SWIG_From_int(static_cast< int >(result
));
9341 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 PyObject
*resultobj
= 0;
9343 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9355 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_From_int(static_cast< int >(result
));
9369 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= 0;
9371 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9372 SwigValueWrapper
<wxVisualAttributes
> result
;
9375 PyObject
* obj0
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "variant", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9383 if (!SWIG_IsOK(ecode1
)) {
9384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9386 arg1
= static_cast< wxWindowVariant
>(val1
);
9389 if (!wxPyCheckForApp()) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9402 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9405 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9406 return SWIG_Py_Void();
9409 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9410 return SWIG_Python_InitShadowInstance(args
);
9413 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9414 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9419 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9420 PyObject
*pyobj
= 0;
9424 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9426 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9433 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxWindow
*arg1
= (wxWindow
*) 0 ;
9436 int arg2
= (int) -1 ;
9437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9441 long arg5
= (long) wxSP_3D
;
9442 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9443 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9444 wxSplitterWindow
*result
= 0 ;
9453 bool temp6
= false ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 PyObject
* obj2
= 0 ;
9457 PyObject
* obj3
= 0 ;
9458 PyObject
* obj4
= 0 ;
9459 PyObject
* obj5
= 0 ;
9460 char * kwnames
[] = {
9461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9472 if (!SWIG_IsOK(ecode2
)) {
9473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9475 arg2
= static_cast< int >(val2
);
9480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9491 if (!SWIG_IsOK(ecode5
)) {
9492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9494 arg5
= static_cast< long >(val5
);
9498 arg6
= wxString_in_helper(obj5
);
9499 if (arg6
== NULL
) SWIG_fail
;
9504 if (!wxPyCheckForApp()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9525 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 PyObject
*resultobj
= 0;
9527 wxSplitterWindow
*result
= 0 ;
9529 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9531 if (!wxPyCheckForApp()) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9544 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9546 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9547 wxWindow
*arg2
= (wxWindow
*) 0 ;
9548 int arg3
= (int) -1 ;
9549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9553 long arg6
= (long) wxSP_3D
;
9554 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9567 bool temp7
= false ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 PyObject
* obj2
= 0 ;
9571 PyObject
* obj3
= 0 ;
9572 PyObject
* obj4
= 0 ;
9573 PyObject
* obj5
= 0 ;
9574 PyObject
* obj6
= 0 ;
9575 char * kwnames
[] = {
9576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9584 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9586 if (!SWIG_IsOK(res2
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9592 if (!SWIG_IsOK(ecode3
)) {
9593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9595 arg3
= static_cast< int >(val3
);
9600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9610 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9611 if (!SWIG_IsOK(ecode6
)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9614 arg6
= static_cast< long >(val6
);
9618 arg7
= wxString_in_helper(obj6
);
9619 if (arg7
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9646 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9647 PyObject
*resultobj
= 0;
9648 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9649 wxWindow
*result
= 0 ;
9652 PyObject
*swig_obj
[1] ;
9654 if (!args
) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9660 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= wxPyMake_wxObject(result
, 0);
9676 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9677 PyObject
*resultobj
= 0;
9678 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9679 wxWindow
*result
= 0 ;
9682 PyObject
*swig_obj
[1] ;
9684 if (!args
) SWIG_fail
;
9686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9687 if (!SWIG_IsOK(res1
)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9690 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= wxPyMake_wxObject(result
, 0);
9706 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
= 0;
9708 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 char * kwnames
[] = {
9717 (char *) "self",(char *) "mode", NULL
9720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9722 if (!SWIG_IsOK(res1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9725 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9727 if (!SWIG_IsOK(ecode2
)) {
9728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9730 arg2
= static_cast< int >(val2
);
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 (arg1
)->SetSplitMode(arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_Py_Void();
9744 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9750 PyObject
*swig_obj
[1] ;
9752 if (!args
) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9758 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_From_int(static_cast< int >(result
));
9772 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
= 0;
9774 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9775 wxWindow
*arg2
= (wxWindow
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 char * kwnames
[] = {
9783 (char *) "self",(char *) "window", NULL
9786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9791 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9793 if (!SWIG_IsOK(res2
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9796 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 (arg1
)->Initialize(arg2
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_Py_Void();
9810 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9813 wxWindow
*arg2
= (wxWindow
*) 0 ;
9814 wxWindow
*arg3
= (wxWindow
*) 0 ;
9815 int arg4
= (int) 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 PyObject
* obj3
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9838 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9840 if (!SWIG_IsOK(res2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9843 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9844 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9845 if (!SWIG_IsOK(res3
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9848 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9851 if (!SWIG_IsOK(ecode4
)) {
9852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9854 arg4
= static_cast< int >(val4
);
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9871 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= 0;
9873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9874 wxWindow
*arg2
= (wxWindow
*) 0 ;
9875 wxWindow
*arg3
= (wxWindow
*) 0 ;
9876 int arg4
= (int) 0 ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9888 PyObject
* obj2
= 0 ;
9889 PyObject
* obj3
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9899 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9901 if (!SWIG_IsOK(res2
)) {
9902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9905 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9906 if (!SWIG_IsOK(res3
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9909 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9912 if (!SWIG_IsOK(ecode4
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9915 arg4
= static_cast< int >(val4
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9932 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
= 0;
9934 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9935 wxWindow
*arg2
= (wxWindow
*) NULL
;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 char * kwnames
[] = {
9944 (char *) "self",(char *) "toRemove", NULL
9947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9949 if (!SWIG_IsOK(res1
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9952 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9955 if (!SWIG_IsOK(res2
)) {
9956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (bool)(arg1
)->Unsplit(arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9975 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
= 0;
9977 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9978 wxWindow
*arg2
= (wxWindow
*) 0 ;
9979 wxWindow
*arg3
= (wxWindow
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9999 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10001 if (!SWIG_IsOK(res2
)) {
10002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10005 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10006 if (!SWIG_IsOK(res3
)) {
10007 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10009 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10025 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10026 PyObject
*resultobj
= 0;
10027 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10030 PyObject
*swig_obj
[1] ;
10032 if (!args
) SWIG_fail
;
10033 swig_obj
[0] = args
;
10034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10035 if (!SWIG_IsOK(res1
)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10038 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 (arg1
)->UpdateSize();
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_Py_Void();
10052 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10053 PyObject
*resultobj
= 0;
10054 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10058 PyObject
*swig_obj
[1] ;
10060 if (!args
) SWIG_fail
;
10061 swig_obj
[0] = args
;
10062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10066 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10082 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
= 0;
10084 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 char * kwnames
[] = {
10093 (char *) "self",(char *) "width", NULL
10096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10103 if (!SWIG_IsOK(ecode2
)) {
10104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10106 arg2
= static_cast< int >(val2
);
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 (arg1
)->SetSashSize(arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_Py_Void();
10120 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
= 0;
10122 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 char * kwnames
[] = {
10131 (char *) "self",(char *) "width", NULL
10134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10136 if (!SWIG_IsOK(res1
)) {
10137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10139 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10141 if (!SWIG_IsOK(ecode2
)) {
10142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10144 arg2
= static_cast< int >(val2
);
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 (arg1
)->SetBorderSize(arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_Py_Void();
10158 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10159 PyObject
*resultobj
= 0;
10160 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10164 PyObject
*swig_obj
[1] ;
10166 if (!args
) SWIG_fail
;
10167 swig_obj
[0] = args
;
10168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10169 if (!SWIG_IsOK(res1
)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10172 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_From_int(static_cast< int >(result
));
10186 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10187 PyObject
*resultobj
= 0;
10188 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10192 PyObject
*swig_obj
[1] ;
10194 if (!args
) SWIG_fail
;
10195 swig_obj
[0] = args
;
10196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_From_int(static_cast< int >(result
));
10214 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
= 0;
10216 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10218 bool arg3
= (bool) true ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 PyObject
* obj2
= 0 ;
10228 char * kwnames
[] = {
10229 (char *) "self",(char *) "position",(char *) "redraw", NULL
10232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10234 if (!SWIG_IsOK(res1
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10237 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10239 if (!SWIG_IsOK(ecode2
)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10242 arg2
= static_cast< int >(val2
);
10244 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10245 if (!SWIG_IsOK(ecode3
)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10248 arg3
= static_cast< bool >(val3
);
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 (arg1
)->SetSashPosition(arg2
,arg3
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_Py_Void();
10263 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10264 PyObject
*resultobj
= 0;
10265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10269 PyObject
*swig_obj
[1] ;
10271 if (!args
) SWIG_fail
;
10272 swig_obj
[0] = args
;
10273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10274 if (!SWIG_IsOK(res1
)) {
10275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10277 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_From_int(static_cast< int >(result
));
10291 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= 0;
10293 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char * kwnames
[] = {
10302 (char *) "self",(char *) "gravity", NULL
10305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10307 if (!SWIG_IsOK(res1
)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10310 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10311 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10312 if (!SWIG_IsOK(ecode2
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10315 arg2
= static_cast< double >(val2
);
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 (arg1
)->SetSashGravity(arg2
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_Py_Void();
10329 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10330 PyObject
*resultobj
= 0;
10331 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10335 PyObject
*swig_obj
[1] ;
10337 if (!args
) SWIG_fail
;
10338 swig_obj
[0] = args
;
10339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10343 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_From_double(static_cast< double >(result
));
10357 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
= 0;
10359 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "self",(char *) "min", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10376 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10378 if (!SWIG_IsOK(ecode2
)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10381 arg2
= static_cast< int >(val2
);
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetMinimumPaneSize(arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_Py_Void();
10395 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 PyObject
*resultobj
= 0;
10397 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10401 PyObject
*swig_obj
[1] ;
10403 if (!args
) SWIG_fail
;
10404 swig_obj
[0] = args
;
10405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10406 if (!SWIG_IsOK(res1
)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10409 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_From_int(static_cast< int >(result
));
10423 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= 0;
10425 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10428 int arg4
= (int) 5 ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 PyObject
* obj3
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10451 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10453 if (!SWIG_IsOK(ecode2
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10456 arg2
= static_cast< int >(val2
);
10457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10458 if (!SWIG_IsOK(ecode3
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10461 arg3
= static_cast< int >(val3
);
10463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10464 if (!SWIG_IsOK(ecode4
)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10467 arg4
= static_cast< int >(val4
);
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10489 PyObject
*swig_obj
[1] ;
10491 if (!args
) SWIG_fail
;
10492 swig_obj
[0] = args
;
10493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10497 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 (arg1
)->SizeWindows();
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_Py_Void();
10511 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
= 0;
10513 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 char * kwnames
[] = {
10522 (char *) "self",(char *) "needUpdating", NULL
10525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10530 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10531 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10532 if (!SWIG_IsOK(ecode2
)) {
10533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10535 arg2
= static_cast< bool >(val2
);
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 (arg1
)->SetNeedUpdating(arg2
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_Py_Void();
10549 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 PyObject
*resultobj
= 0;
10551 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10555 PyObject
*swig_obj
[1] ;
10557 if (!args
) SWIG_fail
;
10558 swig_obj
[0] = args
;
10559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10563 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10579 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10581 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10582 SwigValueWrapper
<wxVisualAttributes
> result
;
10585 PyObject
* obj0
= 0 ;
10586 char * kwnames
[] = {
10587 (char *) "variant", NULL
10590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10592 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10593 if (!SWIG_IsOK(ecode1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10596 arg1
= static_cast< wxWindowVariant
>(val1
);
10599 if (!wxPyCheckForApp()) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10612 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10615 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10616 return SWIG_Py_Void();
10619 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10620 return SWIG_Python_InitShadowInstance(args
);
10623 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
= 0;
10625 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10626 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10627 wxSplitterEvent
*result
= 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char * kwnames
[] = {
10635 (char *) "type",(char *) "splitter", NULL
10638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10641 if (!SWIG_IsOK(ecode1
)) {
10642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10644 arg1
= static_cast< wxEventType
>(val1
);
10647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10648 if (!SWIG_IsOK(res2
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10651 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10666 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "self",(char *) "pos", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10685 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10687 if (!SWIG_IsOK(ecode2
)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10690 arg2
= static_cast< int >(val2
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->SetSashPosition(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_Py_Void();
10704 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10705 PyObject
*resultobj
= 0;
10706 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10710 PyObject
*swig_obj
[1] ;
10712 if (!args
) SWIG_fail
;
10713 swig_obj
[0] = args
;
10714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10715 if (!SWIG_IsOK(res1
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10718 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_From_int(static_cast< int >(result
));
10732 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10733 PyObject
*resultobj
= 0;
10734 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10735 wxWindow
*result
= 0 ;
10738 PyObject
*swig_obj
[1] ;
10740 if (!args
) SWIG_fail
;
10741 swig_obj
[0] = args
;
10742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10746 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= wxPyMake_wxObject(result
, 0);
10762 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10763 PyObject
*resultobj
= 0;
10764 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10768 PyObject
*swig_obj
[1] ;
10770 if (!args
) SWIG_fail
;
10771 swig_obj
[0] = args
;
10772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10773 if (!SWIG_IsOK(res1
)) {
10774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10776 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_From_int(static_cast< int >(result
));
10790 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10791 PyObject
*resultobj
= 0;
10792 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10796 PyObject
*swig_obj
[1] ;
10798 if (!args
) SWIG_fail
;
10799 swig_obj
[0] = args
;
10800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10804 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= SWIG_From_int(static_cast< int >(result
));
10818 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10821 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10822 return SWIG_Py_Void();
10825 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 return SWIG_Python_InitShadowInstance(args
);
10829 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10830 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10835 SWIGINTERN PyObject
*SashNameStr_get(void) {
10836 PyObject
*pyobj
= 0;
10840 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10842 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10849 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10850 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10855 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10856 PyObject
*pyobj
= 0;
10860 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10862 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10869 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
= 0;
10871 wxWindow
*arg1
= (wxWindow
*) 0 ;
10872 int arg2
= (int) -1 ;
10873 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10874 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10875 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10876 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10877 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10878 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10879 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10880 wxSashWindow
*result
= 0 ;
10889 bool temp6
= false ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 PyObject
* obj4
= 0 ;
10895 PyObject
* obj5
= 0 ;
10896 char * kwnames
[] = {
10897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10902 if (!SWIG_IsOK(res1
)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10905 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10908 if (!SWIG_IsOK(ecode2
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10911 arg2
= static_cast< int >(val2
);
10916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10922 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10926 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10927 if (!SWIG_IsOK(ecode5
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10930 arg5
= static_cast< long >(val5
);
10934 arg6
= wxString_in_helper(obj5
);
10935 if (arg6
== NULL
) SWIG_fail
;
10940 if (!wxPyCheckForApp()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10961 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10962 PyObject
*resultobj
= 0;
10963 wxSashWindow
*result
= 0 ;
10965 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10967 if (!wxPyCheckForApp()) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (wxSashWindow
*)new wxSashWindow();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10980 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
= 0;
10982 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10983 wxWindow
*arg2
= (wxWindow
*) 0 ;
10984 int arg3
= (int) -1 ;
10985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10989 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10990 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10991 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11003 bool temp7
= false ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 PyObject
* obj2
= 0 ;
11007 PyObject
* obj3
= 0 ;
11008 PyObject
* obj4
= 0 ;
11009 PyObject
* obj5
= 0 ;
11010 PyObject
* obj6
= 0 ;
11011 char * kwnames
[] = {
11012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11017 if (!SWIG_IsOK(res1
)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11020 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11022 if (!SWIG_IsOK(res2
)) {
11023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11028 if (!SWIG_IsOK(ecode3
)) {
11029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11031 arg3
= static_cast< int >(val3
);
11036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11046 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11047 if (!SWIG_IsOK(ecode6
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11050 arg6
= static_cast< long >(val6
);
11054 arg7
= wxString_in_helper(obj6
);
11055 if (arg7
== NULL
) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11085 wxSashEdgePosition arg2
;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 PyObject
* obj2
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "self",(char *) "edge",(char *) "sash", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11105 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11107 if (!SWIG_IsOK(ecode2
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11110 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11111 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11112 if (!SWIG_IsOK(ecode3
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11115 arg3
= static_cast< bool >(val3
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 (arg1
)->SetSashVisible(arg2
,arg3
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_Py_Void();
11129 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
= 0;
11131 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11132 wxSashEdgePosition arg2
;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 char * kwnames
[] = {
11141 (char *) "self",(char *) "edge", NULL
11144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11149 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11151 if (!SWIG_IsOK(ecode2
)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11154 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
= 0;
11172 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11173 wxSashEdgePosition arg2
;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 PyObject
* obj2
= 0 ;
11184 char * kwnames
[] = {
11185 (char *) "self",(char *) "edge",(char *) "border", NULL
11188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11190 if (!SWIG_IsOK(res1
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11193 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11195 if (!SWIG_IsOK(ecode2
)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11198 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11199 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11200 if (!SWIG_IsOK(ecode3
)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11203 arg3
= static_cast< bool >(val3
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 (arg1
)->SetSashBorder(arg2
,arg3
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= SWIG_Py_Void();
11217 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
= 0;
11219 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11220 wxSashEdgePosition arg2
;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 char * kwnames
[] = {
11229 (char *) "self",(char *) "edge", NULL
11232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11234 if (!SWIG_IsOK(res1
)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11237 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11239 if (!SWIG_IsOK(ecode2
)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11242 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11258 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
= 0;
11260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11261 wxSashEdgePosition arg2
;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 char * kwnames
[] = {
11270 (char *) "self",(char *) "edge", NULL
11273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11275 if (!SWIG_IsOK(res1
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11278 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11280 if (!SWIG_IsOK(ecode2
)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11283 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_From_int(static_cast< int >(result
));
11297 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= 0;
11299 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "self",(char *) "width", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11316 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11318 if (!SWIG_IsOK(ecode2
)) {
11319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11321 arg2
= static_cast< int >(val2
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 (arg1
)->SetDefaultBorderSize(arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_Py_Void();
11335 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11336 PyObject
*resultobj
= 0;
11337 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11341 PyObject
*swig_obj
[1] ;
11343 if (!args
) SWIG_fail
;
11344 swig_obj
[0] = args
;
11345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11346 if (!SWIG_IsOK(res1
)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11349 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_From_int(static_cast< int >(result
));
11363 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
= 0;
11365 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char * kwnames
[] = {
11374 (char *) "self",(char *) "width", NULL
11377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11379 if (!SWIG_IsOK(res1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11382 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11384 if (!SWIG_IsOK(ecode2
)) {
11385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11387 arg2
= static_cast< int >(val2
);
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 (arg1
)->SetExtraBorderSize(arg2
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_Py_Void();
11401 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11415 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_int(static_cast< int >(result
));
11429 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char * kwnames
[] = {
11440 (char *) "self",(char *) "min", NULL
11443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11448 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11450 if (!SWIG_IsOK(ecode2
)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11453 arg2
= static_cast< int >(val2
);
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 (arg1
)->SetMinimumSizeX(arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_Py_Void();
11467 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
= 0;
11469 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 char * kwnames
[] = {
11478 (char *) "self",(char *) "min", NULL
11481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11483 if (!SWIG_IsOK(res1
)) {
11484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11486 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11488 if (!SWIG_IsOK(ecode2
)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11491 arg2
= static_cast< int >(val2
);
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 (arg1
)->SetMinimumSizeY(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= SWIG_Py_Void();
11505 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11506 PyObject
*resultobj
= 0;
11507 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11511 PyObject
*swig_obj
[1] ;
11513 if (!args
) SWIG_fail
;
11514 swig_obj
[0] = args
;
11515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11519 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_From_int(static_cast< int >(result
));
11533 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11534 PyObject
*resultobj
= 0;
11535 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11539 PyObject
*swig_obj
[1] ;
11541 if (!args
) SWIG_fail
;
11542 swig_obj
[0] = args
;
11543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11547 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_From_int(static_cast< int >(result
));
11561 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
= 0;
11563 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "max", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11580 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11582 if (!SWIG_IsOK(ecode2
)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11585 arg2
= static_cast< int >(val2
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 (arg1
)->SetMaximumSizeX(arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= SWIG_Py_Void();
11599 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
= 0;
11601 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 char * kwnames
[] = {
11610 (char *) "self",(char *) "max", NULL
11613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11615 if (!SWIG_IsOK(res1
)) {
11616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11618 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11620 if (!SWIG_IsOK(ecode2
)) {
11621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11623 arg2
= static_cast< int >(val2
);
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 (arg1
)->SetMaximumSizeY(arg2
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_Py_Void();
11637 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11638 PyObject
*resultobj
= 0;
11639 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11643 PyObject
*swig_obj
[1] ;
11645 if (!args
) SWIG_fail
;
11646 swig_obj
[0] = args
;
11647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11651 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_From_int(static_cast< int >(result
));
11665 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11666 PyObject
*resultobj
= 0;
11667 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11671 PyObject
*swig_obj
[1] ;
11673 if (!args
) SWIG_fail
;
11674 swig_obj
[0] = args
;
11675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11679 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_From_int(static_cast< int >(result
));
11693 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
= 0;
11695 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11698 int arg4
= (int) 2 ;
11699 wxSashEdgePosition result
;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 PyObject
* obj2
= 0 ;
11711 PyObject
* obj3
= 0 ;
11712 char * kwnames
[] = {
11713 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11721 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11723 if (!SWIG_IsOK(ecode2
)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11726 arg2
= static_cast< int >(val2
);
11727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11728 if (!SWIG_IsOK(ecode3
)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11731 arg3
= static_cast< int >(val3
);
11733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11734 if (!SWIG_IsOK(ecode4
)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11737 arg4
= static_cast< int >(val4
);
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int(static_cast< int >(result
));
11752 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11753 PyObject
*resultobj
= 0;
11754 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11757 PyObject
*swig_obj
[1] ;
11759 if (!args
) SWIG_fail
;
11760 swig_obj
[0] = args
;
11761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11765 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 (arg1
)->SizeWindows();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_Py_Void();
11779 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11782 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11783 return SWIG_Py_Void();
11786 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 return SWIG_Python_InitShadowInstance(args
);
11790 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
= 0;
11792 int arg1
= (int) 0 ;
11793 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11794 wxSashEvent
*result
= 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char * kwnames
[] = {
11802 (char *) "id",(char *) "edge", NULL
11805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11808 if (!SWIG_IsOK(ecode1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11811 arg1
= static_cast< int >(val1
);
11814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11815 if (!SWIG_IsOK(ecode2
)) {
11816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11818 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11833 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
= 0;
11835 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11836 wxSashEdgePosition arg2
;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 char * kwnames
[] = {
11844 (char *) "self",(char *) "edge", NULL
11847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11849 if (!SWIG_IsOK(res1
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11852 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11854 if (!SWIG_IsOK(ecode2
)) {
11855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11857 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 (arg1
)->SetEdge(arg2
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_Py_Void();
11871 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11872 PyObject
*resultobj
= 0;
11873 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11874 wxSashEdgePosition result
;
11877 PyObject
*swig_obj
[1] ;
11879 if (!args
) SWIG_fail
;
11880 swig_obj
[0] = args
;
11881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11885 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_From_int(static_cast< int >(result
));
11899 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
= 0;
11901 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 PyObject
* obj1
= 0 ;
11908 char * kwnames
[] = {
11909 (char *) "self",(char *) "rect", NULL
11912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11917 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11935 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11949 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11963 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
= 0;
11965 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11966 wxSashDragStatus arg2
;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 char * kwnames
[] = {
11974 (char *) "self",(char *) "status", NULL
11977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11982 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11984 if (!SWIG_IsOK(ecode2
)) {
11985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11987 arg2
= static_cast< wxSashDragStatus
>(val2
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 (arg1
)->SetDragStatus(arg2
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_Py_Void();
12001 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12002 PyObject
*resultobj
= 0;
12003 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12004 wxSashDragStatus result
;
12007 PyObject
*swig_obj
[1] ;
12009 if (!args
) SWIG_fail
;
12010 swig_obj
[0] = args
;
12011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12015 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_From_int(static_cast< int >(result
));
12029 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12032 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12033 return SWIG_Py_Void();
12036 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12037 return SWIG_Python_InitShadowInstance(args
);
12040 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 int arg1
= (int) 0 ;
12043 wxQueryLayoutInfoEvent
*result
= 0 ;
12046 PyObject
* obj0
= 0 ;
12047 char * kwnames
[] = {
12048 (char *) "id", NULL
12051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12054 if (!SWIG_IsOK(ecode1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12057 arg1
= static_cast< int >(val1
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12072 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
= 0;
12074 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 char * kwnames
[] = {
12083 (char *) "self",(char *) "length", NULL
12086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12088 if (!SWIG_IsOK(res1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12091 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12093 if (!SWIG_IsOK(ecode2
)) {
12094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12096 arg2
= static_cast< int >(val2
);
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->SetRequestedLength(arg2
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= SWIG_Py_Void();
12110 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12111 PyObject
*resultobj
= 0;
12112 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12116 PyObject
*swig_obj
[1] ;
12118 if (!args
) SWIG_fail
;
12119 swig_obj
[0] = args
;
12120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12121 if (!SWIG_IsOK(res1
)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12124 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= SWIG_From_int(static_cast< int >(result
));
12138 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
= 0;
12140 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char * kwnames
[] = {
12149 (char *) "self",(char *) "flags", NULL
12152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12157 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12159 if (!SWIG_IsOK(ecode2
)) {
12160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12162 arg2
= static_cast< int >(val2
);
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetFlags(arg2
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_Py_Void();
12176 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12177 PyObject
*resultobj
= 0;
12178 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12182 PyObject
*swig_obj
[1] ;
12184 if (!args
) SWIG_fail
;
12185 swig_obj
[0] = args
;
12186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12190 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_From_int(static_cast< int >(result
));
12204 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 char * kwnames
[] = {
12214 (char *) "self",(char *) "size", NULL
12217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12219 if (!SWIG_IsOK(res1
)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12222 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetSize((wxSize
const &)*arg2
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_Py_Void();
12240 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12241 PyObject
*resultobj
= 0;
12242 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12246 PyObject
*swig_obj
[1] ;
12248 if (!args
) SWIG_fail
;
12249 swig_obj
[0] = args
;
12250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12251 if (!SWIG_IsOK(res1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12254 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12268 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
= 0;
12270 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12271 wxLayoutOrientation arg2
;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char * kwnames
[] = {
12279 (char *) "self",(char *) "orient", NULL
12282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12287 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12289 if (!SWIG_IsOK(ecode2
)) {
12290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12292 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->SetOrientation(arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_Py_Void();
12306 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12309 wxLayoutOrientation result
;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12320 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int(static_cast< int >(result
));
12334 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
= 0;
12336 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12337 wxLayoutAlignment arg2
;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char * kwnames
[] = {
12345 (char *) "self",(char *) "align", NULL
12348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12350 if (!SWIG_IsOK(res1
)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12353 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12355 if (!SWIG_IsOK(ecode2
)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12358 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 (arg1
)->SetAlignment(arg2
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_Py_Void();
12372 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12373 PyObject
*resultobj
= 0;
12374 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12375 wxLayoutAlignment result
;
12378 PyObject
*swig_obj
[1] ;
12380 if (!args
) SWIG_fail
;
12381 swig_obj
[0] = args
;
12382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12386 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_From_int(static_cast< int >(result
));
12400 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12403 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12404 return SWIG_Py_Void();
12407 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 return SWIG_Python_InitShadowInstance(args
);
12411 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
= 0;
12413 int arg1
= (int) 0 ;
12414 wxCalculateLayoutEvent
*result
= 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char * kwnames
[] = {
12419 (char *) "id", NULL
12422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12425 if (!SWIG_IsOK(ecode1
)) {
12426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12428 arg1
= static_cast< int >(val1
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12443 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
= 0;
12445 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char * kwnames
[] = {
12454 (char *) "self",(char *) "flags", NULL
12457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12462 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12464 if (!SWIG_IsOK(ecode2
)) {
12465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12467 arg2
= static_cast< int >(val2
);
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->SetFlags(arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_Py_Void();
12481 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12482 PyObject
*resultobj
= 0;
12483 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12487 PyObject
*swig_obj
[1] ;
12489 if (!args
) SWIG_fail
;
12490 swig_obj
[0] = args
;
12491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12495 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_From_int(static_cast< int >(result
));
12509 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
= 0;
12511 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 PyObject
* obj1
= 0 ;
12518 char * kwnames
[] = {
12519 (char *) "self",(char *) "rect", NULL
12522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12524 if (!SWIG_IsOK(res1
)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12527 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12530 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->SetRect((wxRect
const &)*arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_Py_Void();
12545 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12546 PyObject
*resultobj
= 0;
12547 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12551 PyObject
*swig_obj
[1] ;
12553 if (!args
) SWIG_fail
;
12554 swig_obj
[0] = args
;
12555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12559 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12573 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12576 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12577 return SWIG_Py_Void();
12580 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12581 return SWIG_Python_InitShadowInstance(args
);
12584 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
= 0;
12586 wxWindow
*arg1
= (wxWindow
*) 0 ;
12587 int arg2
= (int) -1 ;
12588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12592 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12593 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12595 wxSashLayoutWindow
*result
= 0 ;
12604 bool temp6
= false ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 PyObject
* obj2
= 0 ;
12608 PyObject
* obj3
= 0 ;
12609 PyObject
* obj4
= 0 ;
12610 PyObject
* obj5
= 0 ;
12611 char * kwnames
[] = {
12612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12617 if (!SWIG_IsOK(res1
)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12623 if (!SWIG_IsOK(ecode2
)) {
12624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12626 arg2
= static_cast< int >(val2
);
12631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12637 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12641 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12642 if (!SWIG_IsOK(ecode5
)) {
12643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12645 arg5
= static_cast< long >(val5
);
12649 arg6
= wxString_in_helper(obj5
);
12650 if (arg6
== NULL
) SWIG_fail
;
12655 if (!wxPyCheckForApp()) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12676 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12677 PyObject
*resultobj
= 0;
12678 wxSashLayoutWindow
*result
= 0 ;
12680 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12682 if (!wxPyCheckForApp()) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12695 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
= 0;
12697 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12698 wxWindow
*arg2
= (wxWindow
*) 0 ;
12699 int arg3
= (int) -1 ;
12700 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12701 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12702 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12703 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12704 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12705 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12706 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12718 bool temp7
= false ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 PyObject
* obj2
= 0 ;
12722 PyObject
* obj3
= 0 ;
12723 PyObject
* obj4
= 0 ;
12724 PyObject
* obj5
= 0 ;
12725 PyObject
* obj6
= 0 ;
12726 char * kwnames
[] = {
12727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12735 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12737 if (!SWIG_IsOK(res2
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12743 if (!SWIG_IsOK(ecode3
)) {
12744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12746 arg3
= static_cast< int >(val3
);
12751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12761 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12762 if (!SWIG_IsOK(ecode6
)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12765 arg6
= static_cast< long >(val6
);
12769 arg7
= wxString_in_helper(obj6
);
12770 if (arg7
== NULL
) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12797 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12798 PyObject
*resultobj
= 0;
12799 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12800 wxLayoutAlignment result
;
12803 PyObject
*swig_obj
[1] ;
12805 if (!args
) SWIG_fail
;
12806 swig_obj
[0] = args
;
12807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12808 if (!SWIG_IsOK(res1
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12811 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= SWIG_From_int(static_cast< int >(result
));
12825 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12827 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12828 wxLayoutOrientation result
;
12831 PyObject
*swig_obj
[1] ;
12833 if (!args
) SWIG_fail
;
12834 swig_obj
[0] = args
;
12835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12839 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_From_int(static_cast< int >(result
));
12853 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
= 0;
12855 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12856 wxLayoutAlignment arg2
;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 char * kwnames
[] = {
12864 (char *) "self",(char *) "alignment", NULL
12867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12869 if (!SWIG_IsOK(res1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12874 if (!SWIG_IsOK(ecode2
)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12877 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->SetAlignment(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
= 0;
12893 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 PyObject
* obj1
= 0 ;
12900 char * kwnames
[] = {
12901 (char *) "self",(char *) "size", NULL
12904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12906 if (!SWIG_IsOK(res1
)) {
12907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12909 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12912 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= SWIG_Py_Void();
12927 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
= 0;
12929 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12930 wxLayoutOrientation arg2
;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char * kwnames
[] = {
12938 (char *) "self",(char *) "orientation", NULL
12941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12946 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12948 if (!SWIG_IsOK(ecode2
)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12951 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 (arg1
)->SetOrientation(arg2
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_Py_Void();
12965 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12968 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12969 return SWIG_Py_Void();
12972 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 return SWIG_Python_InitShadowInstance(args
);
12976 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 PyObject
*resultobj
= 0;
12978 wxLayoutAlgorithm
*result
= 0 ;
12980 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12994 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12995 PyObject
*resultobj
= 0;
12996 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12999 PyObject
*swig_obj
[1] ;
13001 if (!args
) SWIG_fail
;
13002 swig_obj
[0] = args
;
13003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13007 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_Py_Void();
13022 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
= 0;
13024 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13025 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13026 wxRect
*arg3
= (wxRect
*) NULL
;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 PyObject
* obj2
= 0 ;
13037 char * kwnames
[] = {
13038 (char *) "self",(char *) "frame",(char *) "rect", NULL
13041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13043 if (!SWIG_IsOK(res1
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13046 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13048 if (!SWIG_IsOK(res2
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13051 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13053 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13054 if (!SWIG_IsOK(res3
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13057 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13074 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
= 0;
13076 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13077 wxFrame
*arg2
= (wxFrame
*) 0 ;
13078 wxWindow
*arg3
= (wxWindow
*) NULL
;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 PyObject
* obj2
= 0 ;
13089 char * kwnames
[] = {
13090 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13095 if (!SWIG_IsOK(res1
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13098 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13100 if (!SWIG_IsOK(res2
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13103 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13105 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13106 if (!SWIG_IsOK(res3
)) {
13107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13109 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13126 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
= 0;
13128 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13129 wxWindow
*arg2
= (wxWindow
*) 0 ;
13130 wxWindow
*arg3
= (wxWindow
*) NULL
;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 PyObject
* obj2
= 0 ;
13141 char * kwnames
[] = {
13142 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13150 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13152 if (!SWIG_IsOK(res2
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13157 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13158 if (!SWIG_IsOK(res3
)) {
13159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13161 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13178 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13181 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13182 return SWIG_Py_Void();
13185 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 return SWIG_Python_InitShadowInstance(args
);
13189 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxWindow
*arg1
= (wxWindow
*) 0 ;
13192 int arg2
= (int) wxBORDER_NONE
;
13193 wxPopupWindow
*result
= 0 ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 char * kwnames
[] = {
13201 (char *) "parent",(char *) "flags", NULL
13204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13212 if (!SWIG_IsOK(ecode2
)) {
13213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13215 arg2
= static_cast< int >(val2
);
13218 if (!wxPyCheckForApp()) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13231 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13232 PyObject
*resultobj
= 0;
13233 wxPopupWindow
*result
= 0 ;
13235 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13237 if (!wxPyCheckForApp()) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (wxPopupWindow
*)new wxPopupWindow();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13250 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
= 0;
13252 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13253 wxWindow
*arg2
= (wxWindow
*) 0 ;
13254 int arg3
= (int) wxBORDER_NONE
;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 PyObject
* obj2
= 0 ;
13265 char * kwnames
[] = {
13266 (char *) "self",(char *) "parent",(char *) "flags", NULL
13269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13271 if (!SWIG_IsOK(res1
)) {
13272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13274 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13276 if (!SWIG_IsOK(res2
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13279 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13282 if (!SWIG_IsOK(ecode3
)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13285 arg3
= static_cast< int >(val3
);
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
= 0;
13304 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13305 wxPoint
*arg2
= 0 ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 PyObject
* obj2
= 0 ;
13314 char * kwnames
[] = {
13315 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13323 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13330 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_Py_Void();
13345 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13349 return SWIG_Py_Void();
13352 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 return SWIG_Python_InitShadowInstance(args
);
13356 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
= 0;
13358 wxWindow
*arg1
= (wxWindow
*) 0 ;
13359 int arg2
= (int) wxBORDER_NONE
;
13360 wxPyPopupTransientWindow
*result
= 0 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char * kwnames
[] = {
13368 (char *) "parent",(char *) "style", NULL
13371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13379 if (!SWIG_IsOK(ecode2
)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13382 arg2
= static_cast< int >(val2
);
13385 if (!wxPyCheckForApp()) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13398 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13399 PyObject
*resultobj
= 0;
13400 wxPyPopupTransientWindow
*result
= 0 ;
13402 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13404 if (!wxPyCheckForApp()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13417 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= 0;
13419 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13420 PyObject
*arg2
= (PyObject
*) 0 ;
13421 PyObject
*arg3
= (PyObject
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 char * kwnames
[] = {
13428 (char *) "self",(char *) "self",(char *) "_class", NULL
13431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13433 if (!SWIG_IsOK(res1
)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13436 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_Py_Void();
13452 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
= 0;
13454 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13455 wxWindow
*arg2
= (wxWindow
*) NULL
;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 char * kwnames
[] = {
13463 (char *) "self",(char *) "focus", NULL
13466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13471 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13474 if (!SWIG_IsOK(res2
)) {
13475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13477 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->Popup(arg2
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= SWIG_Py_Void();
13492 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13493 PyObject
*resultobj
= 0;
13494 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13497 PyObject
*swig_obj
[1] ;
13499 if (!args
) SWIG_fail
;
13500 swig_obj
[0] = args
;
13501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13502 if (!SWIG_IsOK(res1
)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13505 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_Py_Void();
13519 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13522 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13523 return SWIG_Py_Void();
13526 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13527 return SWIG_Python_InitShadowInstance(args
);
13530 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= 0;
13532 wxWindow
*arg1
= (wxWindow
*) 0 ;
13533 wxString
*arg2
= 0 ;
13534 int arg3
= (int) 100 ;
13535 wxRect
*arg4
= (wxRect
*) NULL
;
13536 wxTipWindow
*result
= 0 ;
13539 bool temp2
= false ;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 PyObject
* obj2
= 0 ;
13547 PyObject
* obj3
= 0 ;
13548 char * kwnames
[] = {
13549 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13554 if (!SWIG_IsOK(res1
)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13559 arg2
= wxString_in_helper(obj1
);
13560 if (arg2
== NULL
) SWIG_fail
;
13564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13565 if (!SWIG_IsOK(ecode3
)) {
13566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13568 arg3
= static_cast< int >(val3
);
13571 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13572 if (!SWIG_IsOK(res4
)) {
13573 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13575 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13578 if (!wxPyCheckForApp()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13599 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 char * kwnames
[] = {
13609 (char *) "self",(char *) "rectBound", NULL
13612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13614 if (!SWIG_IsOK(res1
)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13617 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_Py_Void();
13635 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13636 PyObject
*resultobj
= 0;
13637 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13640 PyObject
*swig_obj
[1] ;
13642 if (!args
) SWIG_fail
;
13643 swig_obj
[0] = args
;
13644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13648 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_Py_Void();
13662 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13665 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13666 return SWIG_Py_Void();
13669 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13670 return SWIG_Python_InitShadowInstance(args
);
13673 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
= 0;
13675 wxWindow
*arg1
= (wxWindow
*) 0 ;
13676 int arg2
= (int) wxID_ANY
;
13677 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13678 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13679 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13680 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13681 long arg5
= (long) 0 ;
13682 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13683 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13684 wxPyVScrolledWindow
*result
= 0 ;
13693 bool temp6
= false ;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 PyObject
* obj2
= 0 ;
13697 PyObject
* obj3
= 0 ;
13698 PyObject
* obj4
= 0 ;
13699 PyObject
* obj5
= 0 ;
13700 char * kwnames
[] = {
13701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13709 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13712 if (!SWIG_IsOK(ecode2
)) {
13713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13715 arg2
= static_cast< int >(val2
);
13720 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13726 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13730 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13731 if (!SWIG_IsOK(ecode5
)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13734 arg5
= static_cast< long >(val5
);
13738 arg6
= wxString_in_helper(obj5
);
13739 if (arg6
== NULL
) SWIG_fail
;
13744 if (!wxPyCheckForApp()) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13765 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 PyObject
*resultobj
= 0;
13767 wxPyVScrolledWindow
*result
= 0 ;
13769 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13771 if (!wxPyCheckForApp()) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13784 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
= 0;
13786 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13787 PyObject
*arg2
= (PyObject
*) 0 ;
13788 PyObject
*arg3
= (PyObject
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 PyObject
* obj2
= 0 ;
13794 char * kwnames
[] = {
13795 (char *) "self",(char *) "self",(char *) "_class", NULL
13798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13800 if (!SWIG_IsOK(res1
)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13803 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_Py_Void();
13819 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
= 0;
13821 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13822 wxWindow
*arg2
= (wxWindow
*) 0 ;
13823 int arg3
= (int) wxID_ANY
;
13824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13828 long arg6
= (long) 0 ;
13829 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13830 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13842 bool temp7
= false ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 PyObject
* obj2
= 0 ;
13846 PyObject
* obj3
= 0 ;
13847 PyObject
* obj4
= 0 ;
13848 PyObject
* obj5
= 0 ;
13849 PyObject
* obj6
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13859 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13861 if (!SWIG_IsOK(res2
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13864 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13867 if (!SWIG_IsOK(ecode3
)) {
13868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13870 arg3
= static_cast< int >(val3
);
13875 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13881 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13885 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13886 if (!SWIG_IsOK(ecode6
)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13889 arg6
= static_cast< long >(val6
);
13893 arg7
= wxString_in_helper(obj6
);
13894 if (arg7
== NULL
) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13921 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13923 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 char * kwnames
[] = {
13932 (char *) "self",(char *) "count", NULL
13935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13937 if (!SWIG_IsOK(res1
)) {
13938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13940 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13941 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13942 if (!SWIG_IsOK(ecode2
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13945 arg2
= static_cast< size_t >(val2
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetLineCount(arg2
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_Py_Void();
13959 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
= 0;
13961 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 char * kwnames
[] = {
13971 (char *) "self",(char *) "line", NULL
13974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13976 if (!SWIG_IsOK(res1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13979 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13980 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13981 if (!SWIG_IsOK(ecode2
)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13984 arg2
= static_cast< size_t >(val2
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char * kwnames
[] = {
14011 (char *) "self",(char *) "line", NULL
14014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14019 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14021 if (!SWIG_IsOK(ecode2
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14024 arg2
= static_cast< size_t >(val2
);
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 (arg1
)->RefreshLine(arg2
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_Py_Void();
14038 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
= 0;
14040 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 PyObject
* obj2
= 0 ;
14052 char * kwnames
[] = {
14053 (char *) "self",(char *) "from",(char *) "to", NULL
14056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14058 if (!SWIG_IsOK(res1
)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14061 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14062 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14063 if (!SWIG_IsOK(ecode2
)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14066 arg2
= static_cast< size_t >(val2
);
14067 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14068 if (!SWIG_IsOK(ecode3
)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14071 arg3
= static_cast< size_t >(val3
);
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->RefreshLines(arg2
,arg3
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= SWIG_Py_Void();
14085 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
= 0;
14087 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 char * kwnames
[] = {
14101 (char *) "self",(char *) "x",(char *) "y", NULL
14104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14109 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14111 if (!SWIG_IsOK(ecode2
)) {
14112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14114 arg2
= static_cast< int >(val2
);
14115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14116 if (!SWIG_IsOK(ecode3
)) {
14117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14119 arg3
= static_cast< int >(val3
);
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_From_int(static_cast< int >(result
));
14133 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
= 0;
14135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14136 wxPoint
*arg2
= 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char * kwnames
[] = {
14144 (char *) "self",(char *) "pt", NULL
14147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14149 if (!SWIG_IsOK(res1
)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14152 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_From_int(static_cast< int >(result
));
14170 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14175 PyObject
*swig_obj
[1] ;
14177 if (!args
) SWIG_fail
;
14178 swig_obj
[0] = args
;
14179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14180 if (!SWIG_IsOK(res1
)) {
14181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14183 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 (arg1
)->RefreshAll();
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= SWIG_Py_Void();
14197 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14198 PyObject
*resultobj
= 0;
14199 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14203 PyObject
*swig_obj
[1] ;
14205 if (!args
) SWIG_fail
;
14206 swig_obj
[0] = args
;
14207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14208 if (!SWIG_IsOK(res1
)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14211 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14225 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14226 PyObject
*resultobj
= 0;
14227 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14231 PyObject
*swig_obj
[1] ;
14233 if (!args
) SWIG_fail
;
14234 swig_obj
[0] = args
;
14235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14236 if (!SWIG_IsOK(res1
)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14239 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14253 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 PyObject
*resultobj
= 0;
14255 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14259 PyObject
*swig_obj
[1] ;
14261 if (!args
) SWIG_fail
;
14262 swig_obj
[0] = args
;
14263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14267 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14281 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
= 0;
14283 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 char * kwnames
[] = {
14293 (char *) "self",(char *) "line", NULL
14296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14301 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14303 if (!SWIG_IsOK(ecode2
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14306 arg2
= static_cast< size_t >(val2
);
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14328 PyObject
*swig_obj
[1] ;
14330 if (!args
) SWIG_fail
;
14331 swig_obj
[0] = args
;
14332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14336 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14350 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14351 PyObject
*resultobj
= 0;
14352 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14356 PyObject
*swig_obj
[1] ;
14358 if (!args
) SWIG_fail
;
14359 swig_obj
[0] = args
;
14360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14361 if (!SWIG_IsOK(res1
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14364 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14378 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
= 0;
14380 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14382 bool arg3
= (bool) false ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 PyObject
* obj2
= 0 ;
14393 char * kwnames
[] = {
14394 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14399 if (!SWIG_IsOK(res1
)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14402 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14403 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14404 if (!SWIG_IsOK(ecode2
)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14407 arg2
= static_cast< size_t >(val2
);
14409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14410 if (!SWIG_IsOK(ecode3
)) {
14411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14413 arg3
= static_cast< bool >(val3
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14428 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 PyObject
* obj2
= 0 ;
14443 char * kwnames
[] = {
14444 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14449 if (!SWIG_IsOK(res1
)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14452 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14453 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14454 if (!SWIG_IsOK(ecode2
)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14457 arg2
= static_cast< size_t >(val2
);
14458 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14459 if (!SWIG_IsOK(ecode3
)) {
14460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14462 arg3
= static_cast< size_t >(val3
);
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= SWIG_From_int(static_cast< int >(result
));
14476 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14480 return SWIG_Py_Void();
14483 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 return SWIG_Python_InitShadowInstance(args
);
14487 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14488 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14493 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14494 PyObject
*pyobj
= 0;
14498 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14500 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14507 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
= 0;
14509 wxWindow
*arg1
= (wxWindow
*) 0 ;
14510 int arg2
= (int) wxID_ANY
;
14511 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14512 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14513 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14514 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14515 long arg5
= (long) 0 ;
14516 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14517 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14518 wxPyVListBox
*result
= 0 ;
14527 bool temp6
= false ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 PyObject
* obj2
= 0 ;
14531 PyObject
* obj3
= 0 ;
14532 PyObject
* obj4
= 0 ;
14533 PyObject
* obj5
= 0 ;
14534 char * kwnames
[] = {
14535 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14540 if (!SWIG_IsOK(res1
)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14543 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14546 if (!SWIG_IsOK(ecode2
)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14549 arg2
= static_cast< int >(val2
);
14554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14560 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14564 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14565 if (!SWIG_IsOK(ecode5
)) {
14566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14568 arg5
= static_cast< long >(val5
);
14572 arg6
= wxString_in_helper(obj5
);
14573 if (arg6
== NULL
) SWIG_fail
;
14578 if (!wxPyCheckForApp()) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14599 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14600 PyObject
*resultobj
= 0;
14601 wxPyVListBox
*result
= 0 ;
14603 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14605 if (!wxPyCheckForApp()) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxPyVListBox
*)new wxPyVListBox();
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14618 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
= 0;
14620 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14621 PyObject
*arg2
= (PyObject
*) 0 ;
14622 PyObject
*arg3
= (PyObject
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 PyObject
* obj2
= 0 ;
14628 char * kwnames
[] = {
14629 (char *) "self",(char *) "self",(char *) "_class", NULL
14632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14634 if (!SWIG_IsOK(res1
)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14637 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= SWIG_Py_Void();
14653 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
= 0;
14655 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14656 wxWindow
*arg2
= (wxWindow
*) 0 ;
14657 int arg3
= (int) wxID_ANY
;
14658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14662 long arg6
= (long) 0 ;
14663 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14676 bool temp7
= false ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 PyObject
* obj2
= 0 ;
14680 PyObject
* obj3
= 0 ;
14681 PyObject
* obj4
= 0 ;
14682 PyObject
* obj5
= 0 ;
14683 PyObject
* obj6
= 0 ;
14684 char * kwnames
[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14693 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14695 if (!SWIG_IsOK(res2
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14698 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14701 if (!SWIG_IsOK(ecode3
)) {
14702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14704 arg3
= static_cast< int >(val3
);
14709 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14715 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14719 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14720 if (!SWIG_IsOK(ecode6
)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14723 arg6
= static_cast< long >(val6
);
14727 arg7
= wxString_in_helper(obj6
);
14728 if (arg7
== NULL
) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14755 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14756 PyObject
*resultobj
= 0;
14757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14761 PyObject
*swig_obj
[1] ;
14763 if (!args
) SWIG_fail
;
14764 swig_obj
[0] = args
;
14765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14766 if (!SWIG_IsOK(res1
)) {
14767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14769 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14783 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14784 PyObject
*resultobj
= 0;
14785 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14789 PyObject
*swig_obj
[1] ;
14791 if (!args
) SWIG_fail
;
14792 swig_obj
[0] = args
;
14793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14794 if (!SWIG_IsOK(res1
)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14797 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14813 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14819 PyObject
*swig_obj
[1] ;
14821 if (!args
) SWIG_fail
;
14822 swig_obj
[0] = args
;
14823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14827 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_From_int(static_cast< int >(result
));
14841 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
= 0;
14843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char * kwnames
[] = {
14853 (char *) "self",(char *) "item", NULL
14856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14861 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14862 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14863 if (!SWIG_IsOK(ecode2
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14866 arg2
= static_cast< size_t >(val2
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14882 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= 0;
14884 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "item", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14902 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14903 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14904 if (!SWIG_IsOK(ecode2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14907 arg2
= static_cast< size_t >(val2
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14923 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14924 PyObject
*resultobj
= 0;
14925 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14929 PyObject
*swig_obj
[1] ;
14931 if (!args
) SWIG_fail
;
14932 swig_obj
[0] = args
;
14933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14937 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14951 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14952 PyObject
*resultobj
= 0;
14953 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14954 PyObject
*result
= 0 ;
14957 PyObject
*swig_obj
[1] ;
14959 if (!args
) SWIG_fail
;
14960 swig_obj
[0] = args
;
14961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14962 if (!SWIG_IsOK(res1
)) {
14963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14965 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= result
;
14979 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
= 0;
14981 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14982 unsigned long arg2
;
14983 PyObject
*result
= 0 ;
14986 unsigned long val2
;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 char * kwnames
[] = {
14991 (char *) "self",(char *) "cookie", NULL
14994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14999 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15000 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
15001 if (!SWIG_IsOK(ecode2
)) {
15002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15004 arg2
= static_cast< unsigned long >(val2
);
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= result
;
15018 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 PyObject
*resultobj
= 0;
15020 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15024 PyObject
*swig_obj
[1] ;
15026 if (!args
) SWIG_fail
;
15027 swig_obj
[0] = args
;
15028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15032 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15046 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15047 PyObject
*resultobj
= 0;
15048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 wxColour
*result
= 0 ;
15052 PyObject
*swig_obj
[1] ;
15054 if (!args
) SWIG_fail
;
15055 swig_obj
[0] = args
;
15056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15057 if (!SWIG_IsOK(res1
)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15060 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15065 result
= (wxColour
*) &_result_ref
;
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15077 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
= 0;
15079 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char * kwnames
[] = {
15088 (char *) "self",(char *) "count", NULL
15091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15096 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15097 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15098 if (!SWIG_IsOK(ecode2
)) {
15099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15101 arg2
= static_cast< size_t >(val2
);
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->SetItemCount(arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_Py_Void();
15115 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 PyObject
*resultobj
= 0;
15117 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15120 PyObject
*swig_obj
[1] ;
15122 if (!args
) SWIG_fail
;
15123 swig_obj
[0] = args
;
15124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15125 if (!SWIG_IsOK(res1
)) {
15126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15128 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_Py_Void();
15142 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
= 0;
15144 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char * kwnames
[] = {
15153 (char *) "self",(char *) "selection", NULL
15156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15158 if (!SWIG_IsOK(res1
)) {
15159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15161 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15163 if (!SWIG_IsOK(ecode2
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15166 arg2
= static_cast< int >(val2
);
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 (arg1
)->SetSelection(arg2
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_Py_Void();
15180 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
= 0;
15182 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15184 bool arg3
= (bool) true ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 PyObject
* obj2
= 0 ;
15195 char * kwnames
[] = {
15196 (char *) "self",(char *) "item",(char *) "select", NULL
15199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15201 if (!SWIG_IsOK(res1
)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15204 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15205 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15206 if (!SWIG_IsOK(ecode2
)) {
15207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15209 arg2
= static_cast< size_t >(val2
);
15211 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15212 if (!SWIG_IsOK(ecode3
)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15215 arg3
= static_cast< bool >(val3
);
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15232 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
= 0;
15234 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 PyObject
* obj2
= 0 ;
15247 char * kwnames
[] = {
15248 (char *) "self",(char *) "from",(char *) "to", NULL
15251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15253 if (!SWIG_IsOK(res1
)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15256 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15257 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15258 if (!SWIG_IsOK(ecode2
)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15261 arg2
= static_cast< size_t >(val2
);
15262 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15263 if (!SWIG_IsOK(ecode3
)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15266 arg3
= static_cast< size_t >(val3
);
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= 0;
15284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "item", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15303 if (!SWIG_IsOK(ecode2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15306 arg2
= static_cast< size_t >(val2
);
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->Toggle(arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_Py_Void();
15320 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 PyObject
*resultobj
= 0;
15322 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15326 PyObject
*swig_obj
[1] ;
15328 if (!args
) SWIG_fail
;
15329 swig_obj
[0] = args
;
15330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15334 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (bool)(arg1
)->SelectAll();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15350 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15351 PyObject
*resultobj
= 0;
15352 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15356 PyObject
*swig_obj
[1] ;
15358 if (!args
) SWIG_fail
;
15359 swig_obj
[0] = args
;
15360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15361 if (!SWIG_IsOK(res1
)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15364 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (bool)(arg1
)->DeselectAll();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15380 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
= 0;
15382 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15383 wxPoint
*arg2
= 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char * kwnames
[] = {
15390 (char *) "self",(char *) "pt", NULL
15393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15395 if (!SWIG_IsOK(res1
)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15398 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_Py_Void();
15416 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
= 0;
15418 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 char * kwnames
[] = {
15431 (char *) "self",(char *) "x",(char *) "y", NULL
15434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15436 if (!SWIG_IsOK(res1
)) {
15437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15439 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15441 if (!SWIG_IsOK(ecode2
)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15444 arg2
= static_cast< int >(val2
);
15445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15446 if (!SWIG_IsOK(ecode3
)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15449 arg3
= static_cast< int >(val3
);
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 (arg1
)->SetMargins(arg2
,arg3
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= SWIG_Py_Void();
15463 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
= 0;
15465 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15466 wxColour
*arg2
= 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "col", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15481 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= SWIG_Py_Void();
15499 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
= 0;
15501 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 PyObject
* obj2
= 0 ;
15515 PyObject
* obj3
= 0 ;
15516 char * kwnames
[] = {
15517 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15522 if (!SWIG_IsOK(res1
)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15525 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15526 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15527 if (!SWIG_IsOK(res2
)) {
15528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15533 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15536 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15538 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15539 if (!SWIG_IsOK(ecode4
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15542 arg4
= static_cast< size_t >(val4
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_Py_Void();
15556 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
= 0;
15558 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 PyObject
* obj2
= 0 ;
15572 PyObject
* obj3
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15582 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15584 if (!SWIG_IsOK(res2
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15590 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15593 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15595 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15596 if (!SWIG_IsOK(ecode4
)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15599 arg4
= static_cast< size_t >(val4
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_Py_Void();
15613 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15616 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15617 return SWIG_Py_Void();
15620 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15621 return SWIG_Python_InitShadowInstance(args
);
15624 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= 0;
15626 wxWindow
*arg1
= (wxWindow
*) 0 ;
15627 int arg2
= (int) wxID_ANY
;
15628 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15629 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15630 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15631 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15632 long arg5
= (long) 0 ;
15633 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15634 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15635 wxPyHtmlListBox
*result
= 0 ;
15644 bool temp6
= false ;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 PyObject
* obj3
= 0 ;
15649 PyObject
* obj4
= 0 ;
15650 PyObject
* obj5
= 0 ;
15651 char * kwnames
[] = {
15652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15657 if (!SWIG_IsOK(res1
)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15663 if (!SWIG_IsOK(ecode2
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15666 arg2
= static_cast< int >(val2
);
15671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15681 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15682 if (!SWIG_IsOK(ecode5
)) {
15683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15685 arg5
= static_cast< long >(val5
);
15689 arg6
= wxString_in_helper(obj5
);
15690 if (arg6
== NULL
) SWIG_fail
;
15695 if (!wxPyCheckForApp()) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15716 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15717 PyObject
*resultobj
= 0;
15718 wxPyHtmlListBox
*result
= 0 ;
15720 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15722 if (!wxPyCheckForApp()) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15735 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
= 0;
15737 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15738 PyObject
*arg2
= (PyObject
*) 0 ;
15739 PyObject
*arg3
= (PyObject
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 PyObject
* obj2
= 0 ;
15745 char * kwnames
[] = {
15746 (char *) "self",(char *) "self",(char *) "_class", NULL
15749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15754 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_Py_Void();
15770 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= 0;
15772 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15773 wxWindow
*arg2
= (wxWindow
*) 0 ;
15774 int arg3
= (int) wxID_ANY
;
15775 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15776 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15777 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15778 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15779 long arg6
= (long) 0 ;
15780 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15781 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15793 bool temp7
= false ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 PyObject
* obj2
= 0 ;
15797 PyObject
* obj3
= 0 ;
15798 PyObject
* obj4
= 0 ;
15799 PyObject
* obj5
= 0 ;
15800 PyObject
* obj6
= 0 ;
15801 char * kwnames
[] = {
15802 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15810 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15812 if (!SWIG_IsOK(res2
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15815 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15818 if (!SWIG_IsOK(ecode3
)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15821 arg3
= static_cast< int >(val3
);
15826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15836 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15837 if (!SWIG_IsOK(ecode6
)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15840 arg6
= static_cast< long >(val6
);
15844 arg7
= wxString_in_helper(obj6
);
15845 if (arg7
== NULL
) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15872 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= 0;
15874 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char * kwnames
[] = {
15883 (char *) "self",(char *) "count", NULL
15886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15891 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15892 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15893 if (!SWIG_IsOK(ecode2
)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15896 arg2
= static_cast< size_t >(val2
);
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 (arg1
)->SetItemCount(arg2
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= SWIG_Py_Void();
15910 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 PyObject
*resultobj
= 0;
15912 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15913 wxFileSystem
*result
= 0 ;
15916 PyObject
*swig_obj
[1] ;
15918 if (!args
) SWIG_fail
;
15919 swig_obj
[0] = args
;
15920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15921 if (!SWIG_IsOK(res1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15924 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15929 result
= (wxFileSystem
*) &_result_ref
;
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15941 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
= 0;
15943 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15945 wxHtmlLinkInfo
*arg3
= 0 ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 PyObject
* obj2
= 0 ;
15955 char * kwnames
[] = {
15956 (char *) "self",(char *) "n",(char *) "link", NULL
15959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15964 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15965 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15966 if (!SWIG_IsOK(ecode2
)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15969 arg2
= static_cast< size_t >(val2
);
15970 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15971 if (!SWIG_IsOK(res3
)) {
15972 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15977 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_Py_Void();
15991 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15995 return SWIG_Py_Void();
15998 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15999 return SWIG_Python_InitShadowInstance(args
);
16002 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
16003 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
16008 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
16009 PyObject
*pyobj
= 0;
16013 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
16015 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
16022 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
= 0;
16024 wxWindow
*arg1
= (wxWindow
*) 0 ;
16025 int arg2
= (int) -1 ;
16026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16030 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
16031 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
16032 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
16033 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16034 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16035 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16036 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16037 wxSimpleHtmlListBox
*result
= 0 ;
16044 bool temp5
= false ;
16049 bool temp8
= false ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 PyObject
* obj2
= 0 ;
16053 PyObject
* obj3
= 0 ;
16054 PyObject
* obj4
= 0 ;
16055 PyObject
* obj5
= 0 ;
16056 PyObject
* obj6
= 0 ;
16057 PyObject
* obj7
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16073 arg2
= static_cast< int >(val2
);
16078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16084 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16089 if (! PySequence_Check(obj4
)) {
16090 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16093 arg5
= new wxArrayString
;
16095 int i
, len
=PySequence_Length(obj4
);
16096 for (i
=0; i
<len
; i
++) {
16097 PyObject
* item
= PySequence_GetItem(obj4
, i
);
16098 wxString
* s
= wxString_in_helper(item
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16107 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16108 if (!SWIG_IsOK(ecode6
)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16111 arg6
= static_cast< long >(val6
);
16114 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16115 if (!SWIG_IsOK(res7
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16121 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16125 arg8
= wxString_in_helper(obj7
);
16126 if (arg8
== NULL
) SWIG_fail
;
16131 if (!wxPyCheckForApp()) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
16139 if (temp5
) delete arg5
;
16148 if (temp5
) delete arg5
;
16158 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 PyObject
*resultobj
= 0;
16160 wxSimpleHtmlListBox
*result
= 0 ;
16162 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
16164 if (!wxPyCheckForApp()) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
16177 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
= 0;
16179 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
16180 wxWindow
*arg2
= (wxWindow
*) 0 ;
16181 int arg3
= (int) -1 ;
16182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16186 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16187 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16188 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
16189 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16190 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16191 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16192 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16202 bool temp6
= false ;
16207 bool temp9
= false ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 PyObject
* obj2
= 0 ;
16211 PyObject
* obj3
= 0 ;
16212 PyObject
* obj4
= 0 ;
16213 PyObject
* obj5
= 0 ;
16214 PyObject
* obj6
= 0 ;
16215 PyObject
* obj7
= 0 ;
16216 PyObject
* obj8
= 0 ;
16217 char * kwnames
[] = {
16218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16223 if (!SWIG_IsOK(res1
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16226 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16228 if (!SWIG_IsOK(res2
)) {
16229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16234 if (!SWIG_IsOK(ecode3
)) {
16235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16237 arg3
= static_cast< int >(val3
);
16242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16253 if (! PySequence_Check(obj5
)) {
16254 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16257 arg6
= new wxArrayString
;
16259 int i
, len
=PySequence_Length(obj5
);
16260 for (i
=0; i
<len
; i
++) {
16261 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16262 wxString
* s
= wxString_in_helper(item
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16271 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16272 if (!SWIG_IsOK(ecode7
)) {
16273 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16275 arg7
= static_cast< long >(val7
);
16278 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16279 if (!SWIG_IsOK(res8
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16285 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16289 arg9
= wxString_in_helper(obj8
);
16290 if (arg9
== NULL
) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 if (temp6
) delete arg6
;
16313 if (temp6
) delete arg6
;
16323 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16326 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16327 return SWIG_Py_Void();
16330 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16331 return SWIG_Python_InitShadowInstance(args
);
16334 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16335 PyObject
*resultobj
= 0;
16336 wxPyTaskBarIcon
*result
= 0 ;
16338 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16340 if (!wxPyCheckForApp()) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16353 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16354 PyObject
*resultobj
= 0;
16355 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16358 PyObject
*swig_obj
[1] ;
16360 if (!args
) SWIG_fail
;
16361 swig_obj
[0] = args
;
16362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16363 if (!SWIG_IsOK(res1
)) {
16364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16366 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= SWIG_Py_Void();
16381 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
= 0;
16383 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16384 PyObject
*arg2
= (PyObject
*) 0 ;
16385 PyObject
*arg3
= (PyObject
*) 0 ;
16386 int arg4
= (int) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 PyObject
* obj2
= 0 ;
16394 PyObject
* obj3
= 0 ;
16395 char * kwnames
[] = {
16396 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16401 if (!SWIG_IsOK(res1
)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16404 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16409 if (!SWIG_IsOK(ecode4
)) {
16410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16412 arg4
= static_cast< int >(val4
);
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= SWIG_Py_Void();
16427 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16428 PyObject
*resultobj
= 0;
16429 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16432 PyObject
*swig_obj
[1] ;
16434 if (!args
) SWIG_fail
;
16435 swig_obj
[0] = args
;
16436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16437 if (!SWIG_IsOK(res1
)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16440 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 wxPyTaskBarIcon_Destroy(arg1
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= SWIG_Py_Void();
16454 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16455 PyObject
*resultobj
= 0;
16456 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16460 PyObject
*swig_obj
[1] ;
16462 if (!args
) SWIG_fail
;
16463 swig_obj
[0] = args
;
16464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16465 if (!SWIG_IsOK(res1
)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16468 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16484 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16485 PyObject
*resultobj
= 0;
16486 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16490 PyObject
*swig_obj
[1] ;
16492 if (!args
) SWIG_fail
;
16493 swig_obj
[0] = args
;
16494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16498 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16514 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
= 0;
16516 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16525 bool temp3
= false ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 PyObject
* obj2
= 0 ;
16529 char * kwnames
[] = {
16530 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16535 if (!SWIG_IsOK(res1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16538 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16540 if (!SWIG_IsOK(res2
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16546 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16549 arg3
= wxString_in_helper(obj2
);
16550 if (arg3
== NULL
) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16578 PyObject
*resultobj
= 0;
16579 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16583 PyObject
*swig_obj
[1] ;
16585 if (!args
) SWIG_fail
;
16586 swig_obj
[0] = args
;
16587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16591 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (bool)(arg1
)->RemoveIcon();
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16607 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
= 0;
16609 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16610 wxMenu
*arg2
= (wxMenu
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 PyObject
* obj1
= 0 ;
16618 char * kwnames
[] = {
16619 (char *) "self",(char *) "menu", NULL
16622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16624 if (!SWIG_IsOK(res1
)) {
16625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16627 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16629 if (!SWIG_IsOK(res2
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16632 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (bool)(arg1
)->PopupMenu(arg2
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16648 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16651 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16652 return SWIG_Py_Void();
16655 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16656 return SWIG_Python_InitShadowInstance(args
);
16659 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= 0;
16662 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16663 wxTaskBarIconEvent
*result
= 0 ;
16668 PyObject
* obj0
= 0 ;
16669 PyObject
* obj1
= 0 ;
16670 char * kwnames
[] = {
16671 (char *) "evtType",(char *) "tbIcon", NULL
16674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16676 if (!SWIG_IsOK(ecode1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16679 arg1
= static_cast< wxEventType
>(val1
);
16680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16681 if (!SWIG_IsOK(res2
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16684 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16698 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16701 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16702 return SWIG_Py_Void();
16705 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16706 return SWIG_Python_InitShadowInstance(args
);
16709 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16710 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16715 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16716 PyObject
*pyobj
= 0;
16720 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16722 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16729 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16730 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16735 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16736 PyObject
*pyobj
= 0;
16740 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16742 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16749 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16750 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16755 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16756 PyObject
*pyobj
= 0;
16760 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16762 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16769 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16770 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16775 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16776 PyObject
*pyobj
= 0;
16780 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16782 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16789 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16790 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16795 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16796 PyObject
*pyobj
= 0;
16800 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16802 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16809 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16810 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16815 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16816 PyObject
*pyobj
= 0;
16820 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16822 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16829 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16830 PyObject
*resultobj
= 0;
16831 wxColourData
*result
= 0 ;
16833 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (wxColourData
*)new wxColourData();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16847 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16848 PyObject
*resultobj
= 0;
16849 wxColourData
*arg1
= (wxColourData
*) 0 ;
16852 PyObject
*swig_obj
[1] ;
16854 if (!args
) SWIG_fail
;
16855 swig_obj
[0] = args
;
16856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16860 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_Py_Void();
16875 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16876 PyObject
*resultobj
= 0;
16877 wxColourData
*arg1
= (wxColourData
*) 0 ;
16881 PyObject
*swig_obj
[1] ;
16883 if (!args
) SWIG_fail
;
16884 swig_obj
[0] = args
;
16885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16889 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (bool)(arg1
)->GetChooseFull();
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16905 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16906 PyObject
*resultobj
= 0;
16907 wxColourData
*arg1
= (wxColourData
*) 0 ;
16911 PyObject
*swig_obj
[1] ;
16913 if (!args
) SWIG_fail
;
16914 swig_obj
[0] = args
;
16915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16916 if (!SWIG_IsOK(res1
)) {
16917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16919 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (arg1
)->GetColour();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16933 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
= 0;
16935 wxColourData
*arg1
= (wxColourData
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char * kwnames
[] = {
16945 (char *) "self",(char *) "i", NULL
16948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16950 if (!SWIG_IsOK(res1
)) {
16951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16953 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16955 if (!SWIG_IsOK(ecode2
)) {
16956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16958 arg2
= static_cast< int >(val2
);
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (arg1
)->GetCustomColour(arg2
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16972 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
= 0;
16974 wxColourData
*arg1
= (wxColourData
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char * kwnames
[] = {
16983 (char *) "self",(char *) "flag", NULL
16986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16988 if (!SWIG_IsOK(res1
)) {
16989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16991 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16993 if (!SWIG_IsOK(ecode2
)) {
16994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16996 arg2
= static_cast< int >(val2
);
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 (arg1
)->SetChooseFull(arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_Py_Void();
17010 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= 0;
17012 wxColourData
*arg1
= (wxColourData
*) 0 ;
17013 wxColour
*arg2
= 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "self",(char *) "colour", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17028 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 (arg1
)->SetColour((wxColour
const &)*arg2
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= SWIG_Py_Void();
17046 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
= 0;
17048 wxColourData
*arg1
= (wxColourData
*) 0 ;
17050 wxColour
*arg3
= 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 PyObject
* obj2
= 0 ;
17059 char * kwnames
[] = {
17060 (char *) "self",(char *) "i",(char *) "colour", NULL
17063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17065 if (!SWIG_IsOK(res1
)) {
17066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17068 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17070 if (!SWIG_IsOK(ecode2
)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17073 arg2
= static_cast< int >(val2
);
17076 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= SWIG_Py_Void();
17091 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17094 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
17095 return SWIG_Py_Void();
17098 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17099 return SWIG_Python_InitShadowInstance(args
);
17102 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxWindow
*arg1
= (wxWindow
*) 0 ;
17105 wxColourData
*arg2
= (wxColourData
*) NULL
;
17106 wxColourDialog
*result
= 0 ;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 char * kwnames
[] = {
17114 (char *) "parent",(char *) "data", NULL
17117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17119 if (!SWIG_IsOK(res1
)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17125 if (!SWIG_IsOK(res2
)) {
17126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17128 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
17131 if (!wxPyCheckForApp()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
17144 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17145 PyObject
*resultobj
= 0;
17146 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
17147 wxColourData
*result
= 0 ;
17150 PyObject
*swig_obj
[1] ;
17152 if (!args
) SWIG_fail
;
17153 swig_obj
[0] = args
;
17154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
17155 if (!SWIG_IsOK(res1
)) {
17156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17158 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 wxColourData
&_result_ref
= (arg1
)->GetColourData();
17163 result
= (wxColourData
*) &_result_ref
;
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
17175 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17178 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
17179 return SWIG_Py_Void();
17182 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17183 return SWIG_Python_InitShadowInstance(args
);
17186 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
= 0;
17188 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
17189 wxColour
const &arg2_defvalue
= wxNullColour
;
17190 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17191 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17192 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17197 bool temp3
= false ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 PyObject
* obj2
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17208 if (!SWIG_IsOK(res1
)) {
17209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17216 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17221 arg3
= wxString_in_helper(obj2
);
17222 if (arg3
== NULL
) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17247 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
= 0;
17249 wxWindow
*arg1
= (wxWindow
*) 0 ;
17250 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17251 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17254 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17255 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17256 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17257 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17258 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17259 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17261 wxDirDialog
*result
= 0 ;
17264 bool temp2
= false ;
17265 bool temp3
= false ;
17270 bool temp7
= false ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 PyObject
* obj2
= 0 ;
17274 PyObject
* obj3
= 0 ;
17275 PyObject
* obj4
= 0 ;
17276 PyObject
* obj5
= 0 ;
17277 PyObject
* obj6
= 0 ;
17278 char * kwnames
[] = {
17279 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17284 if (!SWIG_IsOK(res1
)) {
17285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17287 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17290 arg2
= wxString_in_helper(obj1
);
17291 if (arg2
== NULL
) SWIG_fail
;
17297 arg3
= wxString_in_helper(obj2
);
17298 if (arg3
== NULL
) SWIG_fail
;
17303 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17304 if (!SWIG_IsOK(ecode4
)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17307 arg4
= static_cast< long >(val4
);
17312 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17318 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17323 arg7
= wxString_in_helper(obj6
);
17324 if (arg7
== NULL
) SWIG_fail
;
17329 if (!wxPyCheckForApp()) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17366 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17367 PyObject
*resultobj
= 0;
17368 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17372 PyObject
*swig_obj
[1] ;
17374 if (!args
) SWIG_fail
;
17375 swig_obj
[0] = args
;
17376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17377 if (!SWIG_IsOK(res1
)) {
17378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17380 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= (arg1
)->GetPath();
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17400 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17401 PyObject
*resultobj
= 0;
17402 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17406 PyObject
*swig_obj
[1] ;
17408 if (!args
) SWIG_fail
;
17409 swig_obj
[0] = args
;
17410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17411 if (!SWIG_IsOK(res1
)) {
17412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17414 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (arg1
)->GetMessage();
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17434 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
= 0;
17436 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17437 wxString
*arg2
= 0 ;
17440 bool temp2
= false ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char * kwnames
[] = {
17444 (char *) "self",(char *) "message", NULL
17447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17449 if (!SWIG_IsOK(res1
)) {
17450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17452 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17454 arg2
= wxString_in_helper(obj1
);
17455 if (arg2
== NULL
) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 (arg1
)->SetMessage((wxString
const &)*arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_Py_Void();
17479 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
= 0;
17481 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17482 wxString
*arg2
= 0 ;
17485 bool temp2
= false ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char * kwnames
[] = {
17489 (char *) "self",(char *) "path", NULL
17492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17494 if (!SWIG_IsOK(res1
)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17497 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17499 arg2
= wxString_in_helper(obj1
);
17500 if (arg2
== NULL
) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 (arg1
)->SetPath((wxString
const &)*arg2
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= SWIG_Py_Void();
17524 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17527 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17528 return SWIG_Py_Void();
17531 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17532 return SWIG_Python_InitShadowInstance(args
);
17535 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
= 0;
17537 wxWindow
*arg1
= (wxWindow
*) 0 ;
17538 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17539 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17544 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17545 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17546 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17547 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17548 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17549 wxFileDialog
*result
= 0 ;
17552 bool temp2
= false ;
17553 bool temp3
= false ;
17554 bool temp4
= false ;
17555 bool temp5
= false ;
17559 PyObject
* obj0
= 0 ;
17560 PyObject
* obj1
= 0 ;
17561 PyObject
* obj2
= 0 ;
17562 PyObject
* obj3
= 0 ;
17563 PyObject
* obj4
= 0 ;
17564 PyObject
* obj5
= 0 ;
17565 PyObject
* obj6
= 0 ;
17566 char * kwnames
[] = {
17567 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17572 if (!SWIG_IsOK(res1
)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17575 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17578 arg2
= wxString_in_helper(obj1
);
17579 if (arg2
== NULL
) SWIG_fail
;
17585 arg3
= wxString_in_helper(obj2
);
17586 if (arg3
== NULL
) SWIG_fail
;
17592 arg4
= wxString_in_helper(obj3
);
17593 if (arg4
== NULL
) SWIG_fail
;
17599 arg5
= wxString_in_helper(obj4
);
17600 if (arg5
== NULL
) SWIG_fail
;
17605 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17606 if (!SWIG_IsOK(ecode6
)) {
17607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17609 arg6
= static_cast< long >(val6
);
17614 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17618 if (!wxPyCheckForApp()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17663 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
= 0;
17665 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17666 wxString
*arg2
= 0 ;
17669 bool temp2
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 char * kwnames
[] = {
17673 (char *) "self",(char *) "message", NULL
17676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17678 if (!SWIG_IsOK(res1
)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17681 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17683 arg2
= wxString_in_helper(obj1
);
17684 if (arg2
== NULL
) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->SetMessage((wxString
const &)*arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_Py_Void();
17708 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
= 0;
17710 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17711 wxString
*arg2
= 0 ;
17714 bool temp2
= false ;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 char * kwnames
[] = {
17718 (char *) "self",(char *) "path", NULL
17721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17723 if (!SWIG_IsOK(res1
)) {
17724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17726 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17728 arg2
= wxString_in_helper(obj1
);
17729 if (arg2
== NULL
) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 (arg1
)->SetPath((wxString
const &)*arg2
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= SWIG_Py_Void();
17753 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
= 0;
17755 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17756 wxString
*arg2
= 0 ;
17759 bool temp2
= false ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char * kwnames
[] = {
17763 (char *) "self",(char *) "dir", NULL
17766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17768 if (!SWIG_IsOK(res1
)) {
17769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17771 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17773 arg2
= wxString_in_helper(obj1
);
17774 if (arg2
== NULL
) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_Py_Void();
17798 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
= 0;
17800 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17801 wxString
*arg2
= 0 ;
17804 bool temp2
= false ;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 char * kwnames
[] = {
17808 (char *) "self",(char *) "name", NULL
17811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17816 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17818 arg2
= wxString_in_helper(obj1
);
17819 if (arg2
== NULL
) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 (arg1
)->SetFilename((wxString
const &)*arg2
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_Py_Void();
17843 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
= 0;
17845 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17846 wxString
*arg2
= 0 ;
17849 bool temp2
= false ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "self",(char *) "wildCard", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17861 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17863 arg2
= wxString_in_helper(obj1
);
17864 if (arg2
== NULL
) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_Py_Void();
17888 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
= 0;
17890 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 PyObject
* obj1
= 0 ;
17898 char * kwnames
[] = {
17899 (char *) "self",(char *) "filterIndex", NULL
17902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17904 if (!SWIG_IsOK(res1
)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17907 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17909 if (!SWIG_IsOK(ecode2
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17912 arg2
= static_cast< int >(val2
);
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->SetFilterIndex(arg2
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= SWIG_Py_Void();
17926 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17927 PyObject
*resultobj
= 0;
17928 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17932 PyObject
*swig_obj
[1] ;
17934 if (!args
) SWIG_fail
;
17935 swig_obj
[0] = args
;
17936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17940 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17960 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17961 PyObject
*resultobj
= 0;
17962 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17966 PyObject
*swig_obj
[1] ;
17968 if (!args
) SWIG_fail
;
17969 swig_obj
[0] = args
;
17970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17971 if (!SWIG_IsOK(res1
)) {
17972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17974 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17994 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17995 PyObject
*resultobj
= 0;
17996 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18000 PyObject
*swig_obj
[1] ;
18002 if (!args
) SWIG_fail
;
18003 swig_obj
[0] = args
;
18004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18008 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18028 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18029 PyObject
*resultobj
= 0;
18030 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18034 PyObject
*swig_obj
[1] ;
18036 if (!args
) SWIG_fail
;
18037 swig_obj
[0] = args
;
18038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18039 if (!SWIG_IsOK(res1
)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18042 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18062 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18063 PyObject
*resultobj
= 0;
18064 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18068 PyObject
*swig_obj
[1] ;
18070 if (!args
) SWIG_fail
;
18071 swig_obj
[0] = args
;
18072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18076 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18096 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18097 PyObject
*resultobj
= 0;
18098 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18102 PyObject
*swig_obj
[1] ;
18104 if (!args
) SWIG_fail
;
18105 swig_obj
[0] = args
;
18106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18107 if (!SWIG_IsOK(res1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18110 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_From_int(static_cast< int >(result
));
18124 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18125 PyObject
*resultobj
= 0;
18126 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18127 PyObject
*result
= 0 ;
18130 PyObject
*swig_obj
[1] ;
18132 if (!args
) SWIG_fail
;
18133 swig_obj
[0] = args
;
18134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18138 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= result
;
18152 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18153 PyObject
*resultobj
= 0;
18154 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18155 PyObject
*result
= 0 ;
18158 PyObject
*swig_obj
[1] ;
18160 if (!args
) SWIG_fail
;
18161 swig_obj
[0] = args
;
18162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18163 if (!SWIG_IsOK(res1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18166 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= result
;
18180 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18183 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
18184 return SWIG_Py_Void();
18187 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18188 return SWIG_Python_InitShadowInstance(args
);
18191 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
= 0;
18193 wxWindow
*arg1
= (wxWindow
*) 0 ;
18194 wxString
*arg2
= 0 ;
18195 wxString
*arg3
= 0 ;
18196 int arg4
= (int) 0 ;
18197 wxString
*arg5
= (wxString
*) NULL
;
18198 long arg6
= (long) wxCHOICEDLG_STYLE
;
18199 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18200 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18201 wxMultiChoiceDialog
*result
= 0 ;
18204 bool temp2
= false ;
18205 bool temp3
= false ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 PyObject
* obj2
= 0 ;
18212 PyObject
* obj3
= 0 ;
18213 PyObject
* obj4
= 0 ;
18214 PyObject
* obj5
= 0 ;
18215 char * kwnames
[] = {
18216 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18221 if (!SWIG_IsOK(res1
)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18226 arg2
= wxString_in_helper(obj1
);
18227 if (arg2
== NULL
) SWIG_fail
;
18231 arg3
= wxString_in_helper(obj2
);
18232 if (arg3
== NULL
) SWIG_fail
;
18237 arg4
= PyList_Size(obj3
);
18238 arg5
= wxString_LIST_helper(obj3
);
18239 if (arg5
== NULL
) SWIG_fail
;
18243 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18244 if (!SWIG_IsOK(ecode6
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18247 arg6
= static_cast< long >(val6
);
18252 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18256 if (!wxPyCheckForApp()) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18272 if (arg5
) delete [] arg5
;
18285 if (arg5
) delete [] arg5
;
18291 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= 0;
18293 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18294 wxArrayInt
*arg2
= 0 ;
18297 bool temp2
= false ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 char * kwnames
[] = {
18301 (char *) "self",(char *) "selections", NULL
18304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18306 if (!SWIG_IsOK(res1
)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18309 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18311 if (! PySequence_Check(obj1
)) {
18312 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18315 arg2
= new wxArrayInt
;
18317 int i
, len
=PySequence_Length(obj1
);
18318 for (i
=0; i
<len
; i
++) {
18319 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18320 PyObject
* number
= PyNumber_Int(item
);
18322 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18325 arg2
->Add(PyInt_AS_LONG(number
));
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_Py_Void();
18338 if (temp2
) delete arg2
;
18343 if (temp2
) delete arg2
;
18349 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18350 PyObject
*resultobj
= 0;
18351 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18352 PyObject
*result
= 0 ;
18355 PyObject
*swig_obj
[1] ;
18357 if (!args
) SWIG_fail
;
18358 swig_obj
[0] = args
;
18359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18360 if (!SWIG_IsOK(res1
)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18363 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= result
;
18377 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18380 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18381 return SWIG_Py_Void();
18384 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18385 return SWIG_Python_InitShadowInstance(args
);
18388 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
= 0;
18390 wxWindow
*arg1
= (wxWindow
*) 0 ;
18391 wxString
*arg2
= 0 ;
18392 wxString
*arg3
= 0 ;
18394 wxString
*arg5
= (wxString
*) 0 ;
18395 long arg6
= (long) wxCHOICEDLG_STYLE
;
18396 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18397 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18398 wxSingleChoiceDialog
*result
= 0 ;
18401 bool temp2
= false ;
18402 bool temp3
= false ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 PyObject
* obj2
= 0 ;
18409 PyObject
* obj3
= 0 ;
18410 PyObject
* obj4
= 0 ;
18411 PyObject
* obj5
= 0 ;
18412 char * kwnames
[] = {
18413 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18418 if (!SWIG_IsOK(res1
)) {
18419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18423 arg2
= wxString_in_helper(obj1
);
18424 if (arg2
== NULL
) SWIG_fail
;
18428 arg3
= wxString_in_helper(obj2
);
18429 if (arg3
== NULL
) SWIG_fail
;
18433 arg4
= PyList_Size(obj3
);
18434 arg5
= wxString_LIST_helper(obj3
);
18435 if (arg5
== NULL
) SWIG_fail
;
18438 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18439 if (!SWIG_IsOK(ecode6
)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18442 arg6
= static_cast< long >(val6
);
18447 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18451 if (!wxPyCheckForApp()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18467 if (arg5
) delete [] arg5
;
18480 if (arg5
) delete [] arg5
;
18486 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18487 PyObject
*resultobj
= 0;
18488 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18492 PyObject
*swig_obj
[1] ;
18494 if (!args
) SWIG_fail
;
18495 swig_obj
[0] = args
;
18496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18500 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (int)(arg1
)->GetSelection();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_From_int(static_cast< int >(result
));
18514 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 PyObject
*resultobj
= 0;
18516 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18520 PyObject
*swig_obj
[1] ;
18522 if (!args
) SWIG_fail
;
18523 swig_obj
[0] = args
;
18524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18525 if (!SWIG_IsOK(res1
)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18528 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (arg1
)->GetStringSelection();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18548 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
= 0;
18550 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char * kwnames
[] = {
18559 (char *) "self",(char *) "sel", NULL
18562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18564 if (!SWIG_IsOK(res1
)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18567 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18569 if (!SWIG_IsOK(ecode2
)) {
18570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18572 arg2
= static_cast< int >(val2
);
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->SetSelection(arg2
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_Py_Void();
18586 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18589 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18590 return SWIG_Py_Void();
18593 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18594 return SWIG_Python_InitShadowInstance(args
);
18597 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
= 0;
18599 wxWindow
*arg1
= (wxWindow
*) 0 ;
18600 wxString
*arg2
= 0 ;
18601 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18603 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18605 long arg5
= (long) wxTextEntryDialogStyle
;
18606 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18607 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18608 wxTextEntryDialog
*result
= 0 ;
18611 bool temp2
= false ;
18612 bool temp3
= false ;
18613 bool temp4
= false ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 PyObject
* obj2
= 0 ;
18620 PyObject
* obj3
= 0 ;
18621 PyObject
* obj4
= 0 ;
18622 PyObject
* obj5
= 0 ;
18623 char * kwnames
[] = {
18624 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18629 if (!SWIG_IsOK(res1
)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18632 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18640 arg3
= wxString_in_helper(obj2
);
18641 if (arg3
== NULL
) SWIG_fail
;
18647 arg4
= wxString_in_helper(obj3
);
18648 if (arg4
== NULL
) SWIG_fail
;
18653 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18654 if (!SWIG_IsOK(ecode5
)) {
18655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18657 arg5
= static_cast< long >(val5
);
18662 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18666 if (!wxPyCheckForApp()) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18703 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18704 PyObject
*resultobj
= 0;
18705 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18709 PyObject
*swig_obj
[1] ;
18711 if (!args
) SWIG_fail
;
18712 swig_obj
[0] = args
;
18713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18714 if (!SWIG_IsOK(res1
)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18717 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (arg1
)->GetValue();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18737 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= 0;
18739 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18740 wxString
*arg2
= 0 ;
18743 bool temp2
= false ;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 char * kwnames
[] = {
18747 (char *) "self",(char *) "value", NULL
18750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18755 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18757 arg2
= wxString_in_helper(obj1
);
18758 if (arg2
== NULL
) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->SetValue((wxString
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_Py_Void();
18782 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18785 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18786 return SWIG_Py_Void();
18789 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18790 return SWIG_Python_InitShadowInstance(args
);
18793 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18794 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18799 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18800 PyObject
*pyobj
= 0;
18804 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18806 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18813 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
= 0;
18815 wxWindow
*arg1
= (wxWindow
*) 0 ;
18816 wxString
*arg2
= 0 ;
18817 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18818 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18819 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18820 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18821 long arg5
= (long) wxTextEntryDialogStyle
;
18822 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18823 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18824 wxPasswordEntryDialog
*result
= 0 ;
18827 bool temp2
= false ;
18828 bool temp3
= false ;
18829 bool temp4
= false ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 PyObject
* obj2
= 0 ;
18836 PyObject
* obj3
= 0 ;
18837 PyObject
* obj4
= 0 ;
18838 PyObject
* obj5
= 0 ;
18839 char * kwnames
[] = {
18840 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18850 arg2
= wxString_in_helper(obj1
);
18851 if (arg2
== NULL
) SWIG_fail
;
18856 arg3
= wxString_in_helper(obj2
);
18857 if (arg3
== NULL
) SWIG_fail
;
18863 arg4
= wxString_in_helper(obj3
);
18864 if (arg4
== NULL
) SWIG_fail
;
18869 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18870 if (!SWIG_IsOK(ecode5
)) {
18871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18873 arg5
= static_cast< long >(val5
);
18878 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18918 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18921 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18922 return SWIG_Py_Void();
18925 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18926 return SWIG_Python_InitShadowInstance(args
);
18929 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxWindow
*arg1
= (wxWindow
*) 0 ;
18932 wxString
*arg2
= 0 ;
18933 wxString
*arg3
= 0 ;
18934 wxString
*arg4
= 0 ;
18938 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18939 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18940 wxNumberEntryDialog
*result
= 0 ;
18943 bool temp2
= false ;
18944 bool temp3
= false ;
18945 bool temp4
= false ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 PyObject
* obj2
= 0 ;
18956 PyObject
* obj3
= 0 ;
18957 PyObject
* obj4
= 0 ;
18958 PyObject
* obj5
= 0 ;
18959 PyObject
* obj6
= 0 ;
18960 PyObject
* obj7
= 0 ;
18961 char * kwnames
[] = {
18962 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18967 if (!SWIG_IsOK(res1
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18972 arg2
= wxString_in_helper(obj1
);
18973 if (arg2
== NULL
) SWIG_fail
;
18977 arg3
= wxString_in_helper(obj2
);
18978 if (arg3
== NULL
) SWIG_fail
;
18982 arg4
= wxString_in_helper(obj3
);
18983 if (arg4
== NULL
) SWIG_fail
;
18986 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18987 if (!SWIG_IsOK(ecode5
)) {
18988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18990 arg5
= static_cast< long >(val5
);
18991 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18992 if (!SWIG_IsOK(ecode6
)) {
18993 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18995 arg6
= static_cast< long >(val6
);
18996 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18997 if (!SWIG_IsOK(ecode7
)) {
18998 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
19000 arg7
= static_cast< long >(val7
);
19004 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19008 if (!wxPyCheckForApp()) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
19045 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19046 PyObject
*resultobj
= 0;
19047 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
19051 PyObject
*swig_obj
[1] ;
19053 if (!args
) SWIG_fail
;
19054 swig_obj
[0] = args
;
19055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
19056 if (!SWIG_IsOK(res1
)) {
19057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
19059 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (long)(arg1
)->GetValue();
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_From_long(static_cast< long >(result
));
19073 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19076 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
19077 return SWIG_Py_Void();
19080 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19081 return SWIG_Python_InitShadowInstance(args
);
19084 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19085 PyObject
*resultobj
= 0;
19086 wxFontData
*result
= 0 ;
19088 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (wxFontData
*)new wxFontData();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
19102 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19103 PyObject
*resultobj
= 0;
19104 wxFontData
*arg1
= (wxFontData
*) 0 ;
19107 PyObject
*swig_obj
[1] ;
19109 if (!args
) SWIG_fail
;
19110 swig_obj
[0] = args
;
19111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19115 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= SWIG_Py_Void();
19130 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= 0;
19132 wxFontData
*arg1
= (wxFontData
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char * kwnames
[] = {
19141 (char *) "self",(char *) "enable", NULL
19144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19149 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19150 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19151 if (!SWIG_IsOK(ecode2
)) {
19152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19154 arg2
= static_cast< bool >(val2
);
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->EnableEffects(arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_Py_Void();
19168 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19169 PyObject
*resultobj
= 0;
19170 wxFontData
*arg1
= (wxFontData
*) 0 ;
19174 PyObject
*swig_obj
[1] ;
19176 if (!args
) SWIG_fail
;
19177 swig_obj
[0] = args
;
19178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19179 if (!SWIG_IsOK(res1
)) {
19180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19182 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 result
= (bool)(arg1
)->GetAllowSymbols();
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19198 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19199 PyObject
*resultobj
= 0;
19200 wxFontData
*arg1
= (wxFontData
*) 0 ;
19204 PyObject
*swig_obj
[1] ;
19206 if (!args
) SWIG_fail
;
19207 swig_obj
[0] = args
;
19208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19209 if (!SWIG_IsOK(res1
)) {
19210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19212 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (arg1
)->GetColour();
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19226 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19227 PyObject
*resultobj
= 0;
19228 wxFontData
*arg1
= (wxFontData
*) 0 ;
19232 PyObject
*swig_obj
[1] ;
19234 if (!args
) SWIG_fail
;
19235 swig_obj
[0] = args
;
19236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19237 if (!SWIG_IsOK(res1
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19240 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (arg1
)->GetChosenFont();
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19254 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19255 PyObject
*resultobj
= 0;
19256 wxFontData
*arg1
= (wxFontData
*) 0 ;
19260 PyObject
*swig_obj
[1] ;
19262 if (!args
) SWIG_fail
;
19263 swig_obj
[0] = args
;
19264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19268 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (bool)(arg1
)->GetEnableEffects();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19284 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19285 PyObject
*resultobj
= 0;
19286 wxFontData
*arg1
= (wxFontData
*) 0 ;
19290 PyObject
*swig_obj
[1] ;
19292 if (!args
) SWIG_fail
;
19293 swig_obj
[0] = args
;
19294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19298 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 result
= (arg1
)->GetInitialFont();
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19312 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19313 PyObject
*resultobj
= 0;
19314 wxFontData
*arg1
= (wxFontData
*) 0 ;
19318 PyObject
*swig_obj
[1] ;
19320 if (!args
) SWIG_fail
;
19321 swig_obj
[0] = args
;
19322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19323 if (!SWIG_IsOK(res1
)) {
19324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19326 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (bool)(arg1
)->GetShowHelp();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19342 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
= 0;
19344 wxFontData
*arg1
= (wxFontData
*) 0 ;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 char * kwnames
[] = {
19353 (char *) "self",(char *) "allowSymbols", NULL
19356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19358 if (!SWIG_IsOK(res1
)) {
19359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19361 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19362 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19363 if (!SWIG_IsOK(ecode2
)) {
19364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19366 arg2
= static_cast< bool >(val2
);
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 (arg1
)->SetAllowSymbols(arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= SWIG_Py_Void();
19380 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
= 0;
19382 wxFontData
*arg1
= (wxFontData
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char * kwnames
[] = {
19391 (char *) "self",(char *) "font", NULL
19394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19396 if (!SWIG_IsOK(res1
)) {
19397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19399 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19401 if (!SWIG_IsOK(res2
)) {
19402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19407 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_Py_Void();
19421 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= 0;
19423 wxFontData
*arg1
= (wxFontData
*) 0 ;
19424 wxColour
*arg2
= 0 ;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 char * kwnames
[] = {
19431 (char *) "self",(char *) "colour", NULL
19434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19436 if (!SWIG_IsOK(res1
)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19439 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19442 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 (arg1
)->SetColour((wxColour
const &)*arg2
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= SWIG_Py_Void();
19457 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
= 0;
19459 wxFontData
*arg1
= (wxFontData
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char * kwnames
[] = {
19468 (char *) "self",(char *) "font", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19476 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19478 if (!SWIG_IsOK(res2
)) {
19479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19484 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_Py_Void();
19498 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
= 0;
19500 wxFontData
*arg1
= (wxFontData
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 PyObject
* obj2
= 0 ;
19512 char * kwnames
[] = {
19513 (char *) "self",(char *) "min",(char *) "max", NULL
19516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19518 if (!SWIG_IsOK(res1
)) {
19519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19521 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19523 if (!SWIG_IsOK(ecode2
)) {
19524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19526 arg2
= static_cast< int >(val2
);
19527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19528 if (!SWIG_IsOK(ecode3
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19531 arg3
= static_cast< int >(val3
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->SetRange(arg2
,arg3
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_Py_Void();
19545 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
= 0;
19547 wxFontData
*arg1
= (wxFontData
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char * kwnames
[] = {
19556 (char *) "self",(char *) "showHelp", NULL
19559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19561 if (!SWIG_IsOK(res1
)) {
19562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19564 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19565 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19566 if (!SWIG_IsOK(ecode2
)) {
19567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19569 arg2
= static_cast< bool >(val2
);
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 (arg1
)->SetShowHelp(arg2
);
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= SWIG_Py_Void();
19583 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19586 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19587 return SWIG_Py_Void();
19590 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19591 return SWIG_Python_InitShadowInstance(args
);
19594 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
= 0;
19596 wxWindow
*arg1
= (wxWindow
*) 0 ;
19597 wxFontData
*arg2
= 0 ;
19598 wxFontDialog
*result
= 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char * kwnames
[] = {
19606 (char *) "parent",(char *) "data", NULL
19609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19611 if (!SWIG_IsOK(res1
)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19616 if (!SWIG_IsOK(res2
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19622 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19624 if (!wxPyCheckForApp()) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19637 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19638 PyObject
*resultobj
= 0;
19639 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19640 wxFontData
*result
= 0 ;
19643 PyObject
*swig_obj
[1] ;
19645 if (!args
) SWIG_fail
;
19646 swig_obj
[0] = args
;
19647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19648 if (!SWIG_IsOK(res1
)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19651 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19656 result
= (wxFontData
*) &_result_ref
;
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19668 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19671 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19672 return SWIG_Py_Void();
19675 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19676 return SWIG_Python_InitShadowInstance(args
);
19679 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
= 0;
19681 wxWindow
*arg1
= (wxWindow
*) NULL
;
19682 wxFont
const &arg2_defvalue
= wxNullFont
;
19683 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19684 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19685 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19691 bool temp3
= false ;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 PyObject
* obj2
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19702 if (!SWIG_IsOK(res1
)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19705 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19709 if (!SWIG_IsOK(res2
)) {
19710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19715 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19719 arg3
= wxString_in_helper(obj2
);
19720 if (arg3
== NULL
) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19745 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
= 0;
19747 wxWindow
*arg1
= (wxWindow
*) 0 ;
19748 wxString
*arg2
= 0 ;
19749 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19750 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19751 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19752 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19753 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19754 wxMessageDialog
*result
= 0 ;
19757 bool temp2
= false ;
19758 bool temp3
= false ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 PyObject
* obj2
= 0 ;
19765 PyObject
* obj3
= 0 ;
19766 PyObject
* obj4
= 0 ;
19767 char * kwnames
[] = {
19768 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19773 if (!SWIG_IsOK(res1
)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19776 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19778 arg2
= wxString_in_helper(obj1
);
19779 if (arg2
== NULL
) SWIG_fail
;
19784 arg3
= wxString_in_helper(obj2
);
19785 if (arg3
== NULL
) SWIG_fail
;
19790 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19791 if (!SWIG_IsOK(ecode4
)) {
19792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19794 arg4
= static_cast< long >(val4
);
19799 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19803 if (!wxPyCheckForApp()) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19832 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19835 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19836 return SWIG_Py_Void();
19839 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19840 return SWIG_Python_InitShadowInstance(args
);
19843 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
= 0;
19845 wxString
*arg1
= 0 ;
19846 wxString
*arg2
= 0 ;
19847 int arg3
= (int) 100 ;
19848 wxWindow
*arg4
= (wxWindow
*) NULL
;
19849 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19850 wxProgressDialog
*result
= 0 ;
19851 bool temp1
= false ;
19852 bool temp2
= false ;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 PyObject
* obj2
= 0 ;
19862 PyObject
* obj3
= 0 ;
19863 PyObject
* obj4
= 0 ;
19864 char * kwnames
[] = {
19865 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19870 arg1
= wxString_in_helper(obj0
);
19871 if (arg1
== NULL
) SWIG_fail
;
19875 arg2
= wxString_in_helper(obj1
);
19876 if (arg2
== NULL
) SWIG_fail
;
19880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19881 if (!SWIG_IsOK(ecode3
)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19884 arg3
= static_cast< int >(val3
);
19887 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19888 if (!SWIG_IsOK(res4
)) {
19889 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19891 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19894 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19895 if (!SWIG_IsOK(ecode5
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19898 arg5
= static_cast< int >(val5
);
19901 if (!wxPyCheckForApp()) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19930 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
= 0;
19932 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19934 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19935 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19936 bool *arg4
= (bool *) 0 ;
19942 bool temp3
= false ;
19944 int res4
= SWIG_TMPOBJ
;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 PyObject
* obj2
= 0 ;
19948 char * kwnames
[] = {
19949 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19958 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19960 if (!SWIG_IsOK(ecode2
)) {
19961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19963 arg2
= static_cast< int >(val2
);
19966 arg3
= wxString_in_helper(obj2
);
19967 if (arg3
== NULL
) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19980 if (SWIG_IsTmpObj(res4
)) {
19981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19983 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
20000 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
= 0;
20002 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20003 wxString
const &arg2_defvalue
= wxPyEmptyString
;
20004 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20005 bool *arg3
= (bool *) 0 ;
20009 bool temp2
= false ;
20011 int res3
= SWIG_TMPOBJ
;
20012 PyObject
* obj0
= 0 ;
20013 PyObject
* obj1
= 0 ;
20014 char * kwnames
[] = {
20015 (char *) "self",(char *) "newmsg", NULL
20019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20021 if (!SWIG_IsOK(res1
)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20024 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20027 arg2
= wxString_in_helper(obj1
);
20028 if (arg2
== NULL
) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20041 if (SWIG_IsTmpObj(res3
)) {
20042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
20044 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
20061 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20062 PyObject
*resultobj
= 0;
20063 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20066 PyObject
*swig_obj
[1] ;
20068 if (!args
) SWIG_fail
;
20069 swig_obj
[0] = args
;
20070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20071 if (!SWIG_IsOK(res1
)) {
20072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20074 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= SWIG_Py_Void();
20088 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20091 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
20092 return SWIG_Py_Void();
20095 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20096 return SWIG_Python_InitShadowInstance(args
);
20099 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
= 0;
20101 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20102 int arg2
= (int) 0 ;
20103 wxFindDialogEvent
*result
= 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char * kwnames
[] = {
20111 (char *) "commandType",(char *) "id", NULL
20114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20117 if (!SWIG_IsOK(ecode1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20120 arg1
= static_cast< wxEventType
>(val1
);
20123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20124 if (!SWIG_IsOK(ecode2
)) {
20125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20127 arg2
= static_cast< int >(val2
);
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
20142 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20143 PyObject
*resultobj
= 0;
20144 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20148 PyObject
*swig_obj
[1] ;
20150 if (!args
) SWIG_fail
;
20151 swig_obj
[0] = args
;
20152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20153 if (!SWIG_IsOK(res1
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20156 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (int)(arg1
)->GetFlags();
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_From_int(static_cast< int >(result
));
20170 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20171 PyObject
*resultobj
= 0;
20172 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20173 wxString
*result
= 0 ;
20176 PyObject
*swig_obj
[1] ;
20178 if (!args
) SWIG_fail
;
20179 swig_obj
[0] = args
;
20180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20181 if (!SWIG_IsOK(res1
)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20184 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 wxString
const &_result_ref
= (arg1
)->GetFindString();
20189 result
= (wxString
*) &_result_ref
;
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20207 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20208 PyObject
*resultobj
= 0;
20209 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20210 wxString
*result
= 0 ;
20213 PyObject
*swig_obj
[1] ;
20215 if (!args
) SWIG_fail
;
20216 swig_obj
[0] = args
;
20217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20218 if (!SWIG_IsOK(res1
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20221 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20226 result
= (wxString
*) &_result_ref
;
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20235 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20244 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20245 PyObject
*resultobj
= 0;
20246 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20247 wxFindReplaceDialog
*result
= 0 ;
20250 PyObject
*swig_obj
[1] ;
20252 if (!args
) SWIG_fail
;
20253 swig_obj
[0] = args
;
20254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20255 if (!SWIG_IsOK(res1
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20258 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20272 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
= 0;
20274 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char * kwnames
[] = {
20283 (char *) "self",(char *) "flags", NULL
20286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20288 if (!SWIG_IsOK(res1
)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20291 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20293 if (!SWIG_IsOK(ecode2
)) {
20294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20296 arg2
= static_cast< int >(val2
);
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 (arg1
)->SetFlags(arg2
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_Py_Void();
20310 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
= 0;
20312 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20313 wxString
*arg2
= 0 ;
20316 bool temp2
= false ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 char * kwnames
[] = {
20320 (char *) "self",(char *) "str", NULL
20323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20325 if (!SWIG_IsOK(res1
)) {
20326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20328 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20330 arg2
= wxString_in_helper(obj1
);
20331 if (arg2
== NULL
) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 (arg1
)->SetFindString((wxString
const &)*arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_Py_Void();
20355 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
= 0;
20357 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20358 wxString
*arg2
= 0 ;
20361 bool temp2
= false ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 char * kwnames
[] = {
20365 (char *) "self",(char *) "str", NULL
20368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20370 if (!SWIG_IsOK(res1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20373 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20375 arg2
= wxString_in_helper(obj1
);
20376 if (arg2
== NULL
) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= SWIG_Py_Void();
20400 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20403 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20404 return SWIG_Py_Void();
20407 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20408 return SWIG_Python_InitShadowInstance(args
);
20411 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
= 0;
20413 int arg1
= (int) 0 ;
20414 wxFindReplaceData
*result
= 0 ;
20417 PyObject
* obj0
= 0 ;
20418 char * kwnames
[] = {
20419 (char *) "flags", NULL
20422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20425 if (!SWIG_IsOK(ecode1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20428 arg1
= static_cast< int >(val1
);
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20443 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20444 PyObject
*resultobj
= 0;
20445 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20448 PyObject
*swig_obj
[1] ;
20450 if (!args
) SWIG_fail
;
20451 swig_obj
[0] = args
;
20452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20453 if (!SWIG_IsOK(res1
)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20456 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_Py_Void();
20471 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20472 PyObject
*resultobj
= 0;
20473 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20474 wxString
*result
= 0 ;
20477 PyObject
*swig_obj
[1] ;
20479 if (!args
) SWIG_fail
;
20480 swig_obj
[0] = args
;
20481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20482 if (!SWIG_IsOK(res1
)) {
20483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20485 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 wxString
const &_result_ref
= (arg1
)->GetFindString();
20490 result
= (wxString
*) &_result_ref
;
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20499 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20508 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20509 PyObject
*resultobj
= 0;
20510 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20511 wxString
*result
= 0 ;
20514 PyObject
*swig_obj
[1] ;
20516 if (!args
) SWIG_fail
;
20517 swig_obj
[0] = args
;
20518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20519 if (!SWIG_IsOK(res1
)) {
20520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20522 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20527 result
= (wxString
*) &_result_ref
;
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20536 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20545 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20546 PyObject
*resultobj
= 0;
20547 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20551 PyObject
*swig_obj
[1] ;
20553 if (!args
) SWIG_fail
;
20554 swig_obj
[0] = args
;
20555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20556 if (!SWIG_IsOK(res1
)) {
20557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20559 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (int)(arg1
)->GetFlags();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_From_int(static_cast< int >(result
));
20573 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 char * kwnames
[] = {
20584 (char *) "self",(char *) "flags", NULL
20587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20592 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20594 if (!SWIG_IsOK(ecode2
)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20597 arg2
= static_cast< int >(val2
);
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 (arg1
)->SetFlags(arg2
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_Py_Void();
20611 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
= 0;
20613 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20614 wxString
*arg2
= 0 ;
20617 bool temp2
= false ;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20620 char * kwnames
[] = {
20621 (char *) "self",(char *) "str", NULL
20624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20626 if (!SWIG_IsOK(res1
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20629 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20631 arg2
= wxString_in_helper(obj1
);
20632 if (arg2
== NULL
) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 (arg1
)->SetFindString((wxString
const &)*arg2
);
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= SWIG_Py_Void();
20656 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
= 0;
20658 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20659 wxString
*arg2
= 0 ;
20662 bool temp2
= false ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char * kwnames
[] = {
20666 (char *) "self",(char *) "str", NULL
20669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20671 if (!SWIG_IsOK(res1
)) {
20672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20674 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20676 arg2
= wxString_in_helper(obj1
);
20677 if (arg2
== NULL
) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_Py_Void();
20701 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20704 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20705 return SWIG_Py_Void();
20708 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20709 return SWIG_Python_InitShadowInstance(args
);
20712 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
= 0;
20714 wxWindow
*arg1
= (wxWindow
*) 0 ;
20715 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20716 wxString
*arg3
= 0 ;
20717 int arg4
= (int) 0 ;
20718 wxFindReplaceDialog
*result
= 0 ;
20723 bool temp3
= false ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 PyObject
* obj2
= 0 ;
20729 PyObject
* obj3
= 0 ;
20730 char * kwnames
[] = {
20731 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20736 if (!SWIG_IsOK(res1
)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20739 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20741 if (!SWIG_IsOK(res2
)) {
20742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20744 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20746 arg3
= wxString_in_helper(obj2
);
20747 if (arg3
== NULL
) SWIG_fail
;
20751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20752 if (!SWIG_IsOK(ecode4
)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20755 arg4
= static_cast< int >(val4
);
20758 if (!wxPyCheckForApp()) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20779 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20780 PyObject
*resultobj
= 0;
20781 wxFindReplaceDialog
*result
= 0 ;
20783 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20785 if (!wxPyCheckForApp()) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20798 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
= 0;
20800 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20801 wxWindow
*arg2
= (wxWindow
*) 0 ;
20802 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20803 wxString
*arg4
= 0 ;
20804 int arg5
= (int) 0 ;
20812 bool temp4
= false ;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 PyObject
* obj2
= 0 ;
20818 PyObject
* obj3
= 0 ;
20819 PyObject
* obj4
= 0 ;
20820 char * kwnames
[] = {
20821 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20826 if (!SWIG_IsOK(res1
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20829 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20831 if (!SWIG_IsOK(res2
)) {
20832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20835 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20836 if (!SWIG_IsOK(res3
)) {
20837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20839 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20841 arg4
= wxString_in_helper(obj3
);
20842 if (arg4
== NULL
) SWIG_fail
;
20846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20847 if (!SWIG_IsOK(ecode5
)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20850 arg5
= static_cast< int >(val5
);
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20875 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20876 PyObject
*resultobj
= 0;
20877 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20878 wxFindReplaceData
*result
= 0 ;
20881 PyObject
*swig_obj
[1] ;
20883 if (!args
) SWIG_fail
;
20884 swig_obj
[0] = args
;
20885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20886 if (!SWIG_IsOK(res1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20889 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20903 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
= 0;
20905 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20906 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char * kwnames
[] = {
20914 (char *) "self",(char *) "data", NULL
20917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20919 if (!SWIG_IsOK(res1
)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20922 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20924 if (!SWIG_IsOK(res2
)) {
20925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20927 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->SetData(arg2
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_Py_Void();
20941 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20944 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20945 return SWIG_Py_Void();
20948 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20949 return SWIG_Python_InitShadowInstance(args
);
20952 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
= 0;
20954 wxWindow
*arg1
= (wxWindow
*) 0 ;
20955 int arg2
= (int) (int)-1 ;
20956 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20957 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20958 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20959 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20960 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20961 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20962 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20963 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20964 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20965 wxMDIParentFrame
*result
= 0 ;
20970 bool temp3
= false ;
20975 bool temp7
= false ;
20976 PyObject
* obj0
= 0 ;
20977 PyObject
* obj1
= 0 ;
20978 PyObject
* obj2
= 0 ;
20979 PyObject
* obj3
= 0 ;
20980 PyObject
* obj4
= 0 ;
20981 PyObject
* obj5
= 0 ;
20982 PyObject
* obj6
= 0 ;
20983 char * kwnames
[] = {
20984 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20995 if (!SWIG_IsOK(ecode2
)) {
20996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20998 arg2
= static_cast< int >(val2
);
21002 arg3
= wxString_in_helper(obj2
);
21003 if (arg3
== NULL
) SWIG_fail
;
21010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21020 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21021 if (!SWIG_IsOK(ecode6
)) {
21022 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
21024 arg6
= static_cast< long >(val6
);
21028 arg7
= wxString_in_helper(obj6
);
21029 if (arg7
== NULL
) SWIG_fail
;
21034 if (!wxPyCheckForApp()) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
21063 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21064 PyObject
*resultobj
= 0;
21065 wxMDIParentFrame
*result
= 0 ;
21067 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
21069 if (!wxPyCheckForApp()) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
21082 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
= 0;
21084 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21085 wxWindow
*arg2
= (wxWindow
*) 0 ;
21086 int arg3
= (int) (int)-1 ;
21087 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21088 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21089 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21090 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21091 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21092 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21093 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
21094 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21095 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21103 bool temp4
= false ;
21108 bool temp8
= false ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 PyObject
* obj2
= 0 ;
21112 PyObject
* obj3
= 0 ;
21113 PyObject
* obj4
= 0 ;
21114 PyObject
* obj5
= 0 ;
21115 PyObject
* obj6
= 0 ;
21116 PyObject
* obj7
= 0 ;
21117 char * kwnames
[] = {
21118 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21126 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21128 if (!SWIG_IsOK(res2
)) {
21129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21134 if (!SWIG_IsOK(ecode3
)) {
21135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21137 arg3
= static_cast< int >(val3
);
21141 arg4
= wxString_in_helper(obj3
);
21142 if (arg4
== NULL
) SWIG_fail
;
21149 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21155 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21159 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21160 if (!SWIG_IsOK(ecode7
)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21163 arg7
= static_cast< long >(val7
);
21167 arg8
= wxString_in_helper(obj7
);
21168 if (arg8
== NULL
) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21203 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21204 PyObject
*resultobj
= 0;
21205 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21208 PyObject
*swig_obj
[1] ;
21210 if (!args
) SWIG_fail
;
21211 swig_obj
[0] = args
;
21212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21213 if (!SWIG_IsOK(res1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21216 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 (arg1
)->ActivateNext();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_Py_Void();
21230 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21231 PyObject
*resultobj
= 0;
21232 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21235 PyObject
*swig_obj
[1] ;
21237 if (!args
) SWIG_fail
;
21238 swig_obj
[0] = args
;
21239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21243 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 (arg1
)->ActivatePrevious();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_Py_Void();
21257 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21258 PyObject
*resultobj
= 0;
21259 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21262 PyObject
*swig_obj
[1] ;
21264 if (!args
) SWIG_fail
;
21265 swig_obj
[0] = args
;
21266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21267 if (!SWIG_IsOK(res1
)) {
21268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21270 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 (arg1
)->ArrangeIcons();
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= SWIG_Py_Void();
21284 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21285 PyObject
*resultobj
= 0;
21286 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21289 PyObject
*swig_obj
[1] ;
21291 if (!args
) SWIG_fail
;
21292 swig_obj
[0] = args
;
21293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21294 if (!SWIG_IsOK(res1
)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21297 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_Py_Void();
21311 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 PyObject
*resultobj
= 0;
21313 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21314 wxMDIChildFrame
*result
= 0 ;
21317 PyObject
*swig_obj
[1] ;
21319 if (!args
) SWIG_fail
;
21320 swig_obj
[0] = args
;
21321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21322 if (!SWIG_IsOK(res1
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21325 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21341 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21342 PyObject
*resultobj
= 0;
21343 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21344 wxMDIClientWindow
*result
= 0 ;
21347 PyObject
*swig_obj
[1] ;
21349 if (!args
) SWIG_fail
;
21350 swig_obj
[0] = args
;
21351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21352 if (!SWIG_IsOK(res1
)) {
21353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21355 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21371 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21372 PyObject
*resultobj
= 0;
21373 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21374 wxMenu
*result
= 0 ;
21377 PyObject
*swig_obj
[1] ;
21379 if (!args
) SWIG_fail
;
21380 swig_obj
[0] = args
;
21381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21382 if (!SWIG_IsOK(res1
)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21385 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= wxPyMake_wxObject(result
, 0);
21401 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
= 0;
21403 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21404 wxMenu
*arg2
= (wxMenu
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char * kwnames
[] = {
21412 (char *) "self",(char *) "menu", NULL
21415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21420 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21422 if (!SWIG_IsOK(res2
)) {
21423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21425 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 (arg1
)->SetWindowMenu(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_Py_Void();
21439 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21442 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char * kwnames
[] = {
21450 (char *) "self",(char *) "orient", NULL
21453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21458 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21461 if (!SWIG_IsOK(ecode2
)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21464 arg2
= static_cast< wxOrientation
>(val2
);
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 (arg1
)->Tile(arg2
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_Py_Void();
21479 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21482 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21483 return SWIG_Py_Void();
21486 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21487 return SWIG_Python_InitShadowInstance(args
);
21490 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
= 0;
21492 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21493 int arg2
= (int) (int)-1 ;
21494 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21495 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21496 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21497 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21498 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21499 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21500 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21501 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21502 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21503 wxMDIChildFrame
*result
= 0 ;
21508 bool temp3
= false ;
21513 bool temp7
= false ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 PyObject
* obj2
= 0 ;
21517 PyObject
* obj3
= 0 ;
21518 PyObject
* obj4
= 0 ;
21519 PyObject
* obj5
= 0 ;
21520 PyObject
* obj6
= 0 ;
21521 char * kwnames
[] = {
21522 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21527 if (!SWIG_IsOK(res1
)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21530 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21533 if (!SWIG_IsOK(ecode2
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21536 arg2
= static_cast< int >(val2
);
21540 arg3
= wxString_in_helper(obj2
);
21541 if (arg3
== NULL
) SWIG_fail
;
21548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21558 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21559 if (!SWIG_IsOK(ecode6
)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21562 arg6
= static_cast< long >(val6
);
21566 arg7
= wxString_in_helper(obj6
);
21567 if (arg7
== NULL
) SWIG_fail
;
21572 if (!wxPyCheckForApp()) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21601 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 PyObject
*resultobj
= 0;
21603 wxMDIChildFrame
*result
= 0 ;
21605 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21607 if (!wxPyCheckForApp()) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21620 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
= 0;
21622 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21623 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21624 int arg3
= (int) (int)-1 ;
21625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21627 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21628 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21629 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21630 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21631 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21632 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21641 bool temp4
= false ;
21646 bool temp8
= false ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 PyObject
* obj2
= 0 ;
21650 PyObject
* obj3
= 0 ;
21651 PyObject
* obj4
= 0 ;
21652 PyObject
* obj5
= 0 ;
21653 PyObject
* obj6
= 0 ;
21654 PyObject
* obj7
= 0 ;
21655 char * kwnames
[] = {
21656 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21661 if (!SWIG_IsOK(res1
)) {
21662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21664 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21666 if (!SWIG_IsOK(res2
)) {
21667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21669 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21672 if (!SWIG_IsOK(ecode3
)) {
21673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21675 arg3
= static_cast< int >(val3
);
21679 arg4
= wxString_in_helper(obj3
);
21680 if (arg4
== NULL
) SWIG_fail
;
21687 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21693 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21697 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21698 if (!SWIG_IsOK(ecode7
)) {
21699 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21701 arg7
= static_cast< long >(val7
);
21705 arg8
= wxString_in_helper(obj7
);
21706 if (arg8
== NULL
) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21741 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 PyObject
*resultobj
= 0;
21743 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21746 PyObject
*swig_obj
[1] ;
21748 if (!args
) SWIG_fail
;
21749 swig_obj
[0] = args
;
21750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21751 if (!SWIG_IsOK(res1
)) {
21752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21754 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 (arg1
)->Activate();
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= SWIG_Py_Void();
21768 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21771 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21772 return SWIG_Py_Void();
21775 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21776 return SWIG_Python_InitShadowInstance(args
);
21779 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
= 0;
21781 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21782 long arg2
= (long) 0 ;
21783 wxMDIClientWindow
*result
= 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char * kwnames
[] = {
21791 (char *) "parent",(char *) "style", NULL
21794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21796 if (!SWIG_IsOK(res1
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21799 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21801 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21802 if (!SWIG_IsOK(ecode2
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21805 arg2
= static_cast< long >(val2
);
21808 if (!wxPyCheckForApp()) SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21821 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21822 PyObject
*resultobj
= 0;
21823 wxMDIClientWindow
*result
= 0 ;
21825 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21827 if (!wxPyCheckForApp()) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21840 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
= 0;
21842 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21843 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21844 long arg3
= (long) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 PyObject
* obj2
= 0 ;
21855 char * kwnames
[] = {
21856 (char *) "self",(char *) "parent",(char *) "style", NULL
21859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21864 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21866 if (!SWIG_IsOK(res2
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21869 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21871 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21872 if (!SWIG_IsOK(ecode3
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21875 arg3
= static_cast< long >(val3
);
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21892 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21895 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21896 return SWIG_Py_Void();
21899 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21900 return SWIG_Python_InitShadowInstance(args
);
21903 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
= 0;
21905 wxWindow
*arg1
= (wxWindow
*) 0 ;
21906 int arg2
= (int) (int)-1 ;
21907 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21908 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21909 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21910 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21911 long arg5
= (long) 0 ;
21912 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21913 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21914 wxPyWindow
*result
= 0 ;
21923 bool temp6
= false ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 PyObject
* obj2
= 0 ;
21927 PyObject
* obj3
= 0 ;
21928 PyObject
* obj4
= 0 ;
21929 PyObject
* obj5
= 0 ;
21930 char * kwnames
[] = {
21931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21936 if (!SWIG_IsOK(res1
)) {
21937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21939 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21942 if (!SWIG_IsOK(ecode2
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21945 arg2
= static_cast< int >(val2
);
21950 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21956 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21960 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21961 if (!SWIG_IsOK(ecode5
)) {
21962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21964 arg5
= static_cast< long >(val5
);
21968 arg6
= wxString_in_helper(obj5
);
21969 if (arg6
== NULL
) SWIG_fail
;
21974 if (!wxPyCheckForApp()) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21995 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21996 PyObject
*resultobj
= 0;
21997 wxPyWindow
*result
= 0 ;
21999 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
22001 if (!wxPyCheckForApp()) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (wxPyWindow
*)new wxPyWindow();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
22014 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
= 0;
22016 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22017 PyObject
*arg2
= (PyObject
*) 0 ;
22018 PyObject
*arg3
= (PyObject
*) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 PyObject
* obj2
= 0 ;
22024 char * kwnames
[] = {
22025 (char *) "self",(char *) "self",(char *) "_class", NULL
22028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22030 if (!SWIG_IsOK(res1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22033 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_Py_Void();
22049 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
= 0;
22051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22052 wxDC
*arg2
= (wxDC
*) 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char * kwnames
[] = {
22061 (char *) "self",(char *) "dc", NULL
22064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22066 if (!SWIG_IsOK(res1
)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22069 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22071 if (!SWIG_IsOK(res2
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22074 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22090 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
= 0;
22092 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 PyObject
* obj3
= 0 ;
22111 PyObject
* obj4
= 0 ;
22112 char * kwnames
[] = {
22113 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22121 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22123 if (!SWIG_IsOK(ecode2
)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22126 arg2
= static_cast< int >(val2
);
22127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22128 if (!SWIG_IsOK(ecode3
)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22131 arg3
= static_cast< int >(val3
);
22132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22133 if (!SWIG_IsOK(ecode4
)) {
22134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22136 arg4
= static_cast< int >(val4
);
22137 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22138 if (!SWIG_IsOK(ecode5
)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22141 arg5
= static_cast< int >(val5
);
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_Py_Void();
22155 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
= 0;
22157 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22162 int arg6
= (int) wxSIZE_AUTO
;
22175 PyObject
* obj0
= 0 ;
22176 PyObject
* obj1
= 0 ;
22177 PyObject
* obj2
= 0 ;
22178 PyObject
* obj3
= 0 ;
22179 PyObject
* obj4
= 0 ;
22180 PyObject
* obj5
= 0 ;
22181 char * kwnames
[] = {
22182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22187 if (!SWIG_IsOK(res1
)) {
22188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22190 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22192 if (!SWIG_IsOK(ecode2
)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22195 arg2
= static_cast< int >(val2
);
22196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22197 if (!SWIG_IsOK(ecode3
)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22200 arg3
= static_cast< int >(val3
);
22201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22202 if (!SWIG_IsOK(ecode4
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22205 arg4
= static_cast< int >(val4
);
22206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22207 if (!SWIG_IsOK(ecode5
)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22210 arg5
= static_cast< int >(val5
);
22212 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22213 if (!SWIG_IsOK(ecode6
)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22216 arg6
= static_cast< int >(val6
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_Py_Void();
22231 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
= 0;
22233 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22242 PyObject
* obj0
= 0 ;
22243 PyObject
* obj1
= 0 ;
22244 PyObject
* obj2
= 0 ;
22245 char * kwnames
[] = {
22246 (char *) "self",(char *) "width",(char *) "height", NULL
22249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22251 if (!SWIG_IsOK(res1
)) {
22252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22254 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22256 if (!SWIG_IsOK(ecode2
)) {
22257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22259 arg2
= static_cast< int >(val2
);
22260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22261 if (!SWIG_IsOK(ecode3
)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22264 arg3
= static_cast< int >(val3
);
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->DoSetClientSize(arg2
,arg3
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_Py_Void();
22278 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
= 0;
22280 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 char * kwnames
[] = {
22293 (char *) "self",(char *) "x",(char *) "y", NULL
22296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22298 if (!SWIG_IsOK(res1
)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22301 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22303 if (!SWIG_IsOK(ecode2
)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22306 arg2
= static_cast< int >(val2
);
22307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22308 if (!SWIG_IsOK(ecode3
)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22311 arg3
= static_cast< int >(val3
);
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_Py_Void();
22325 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22326 PyObject
*resultobj
= 0;
22327 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22328 int *arg2
= (int *) 0 ;
22329 int *arg3
= (int *) 0 ;
22333 int res2
= SWIG_TMPOBJ
;
22335 int res3
= SWIG_TMPOBJ
;
22336 PyObject
*swig_obj
[1] ;
22340 if (!args
) SWIG_fail
;
22341 swig_obj
[0] = args
;
22342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22343 if (!SWIG_IsOK(res1
)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22346 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22354 if (SWIG_IsTmpObj(res2
)) {
22355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22357 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22360 if (SWIG_IsTmpObj(res3
)) {
22361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22363 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22372 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22373 PyObject
*resultobj
= 0;
22374 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22375 int *arg2
= (int *) 0 ;
22376 int *arg3
= (int *) 0 ;
22380 int res2
= SWIG_TMPOBJ
;
22382 int res3
= SWIG_TMPOBJ
;
22383 PyObject
*swig_obj
[1] ;
22387 if (!args
) SWIG_fail
;
22388 swig_obj
[0] = args
;
22389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22390 if (!SWIG_IsOK(res1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22393 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_Py_Void();
22401 if (SWIG_IsTmpObj(res2
)) {
22402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22404 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22407 if (SWIG_IsTmpObj(res3
)) {
22408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22410 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22419 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22420 PyObject
*resultobj
= 0;
22421 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22422 int *arg2
= (int *) 0 ;
22423 int *arg3
= (int *) 0 ;
22427 int res2
= SWIG_TMPOBJ
;
22429 int res3
= SWIG_TMPOBJ
;
22430 PyObject
*swig_obj
[1] ;
22434 if (!args
) SWIG_fail
;
22435 swig_obj
[0] = args
;
22436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22437 if (!SWIG_IsOK(res1
)) {
22438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22440 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= SWIG_Py_Void();
22448 if (SWIG_IsTmpObj(res2
)) {
22449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22451 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22454 if (SWIG_IsTmpObj(res3
)) {
22455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22457 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22466 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22467 PyObject
*resultobj
= 0;
22468 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22472 PyObject
*swig_obj
[1] ;
22474 if (!args
) SWIG_fail
;
22475 swig_obj
[0] = args
;
22476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22477 if (!SWIG_IsOK(res1
)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22480 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22494 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22495 PyObject
*resultobj
= 0;
22496 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22500 PyObject
*swig_obj
[1] ;
22502 if (!args
) SWIG_fail
;
22503 swig_obj
[0] = args
;
22504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22508 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22522 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22523 PyObject
*resultobj
= 0;
22524 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22525 SwigValueWrapper
<wxVisualAttributes
> result
;
22528 PyObject
*swig_obj
[1] ;
22530 if (!args
) SWIG_fail
;
22531 swig_obj
[0] = args
;
22532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22536 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (arg1
)->GetDefaultAttributes();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22550 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22551 PyObject
*resultobj
= 0;
22552 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22555 PyObject
*swig_obj
[1] ;
22557 if (!args
) SWIG_fail
;
22558 swig_obj
[0] = args
;
22559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22560 if (!SWIG_IsOK(res1
)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22563 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 (arg1
)->OnInternalIdle();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_Py_Void();
22577 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22581 return SWIG_Py_Void();
22584 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22585 return SWIG_Python_InitShadowInstance(args
);
22588 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
= 0;
22590 wxWindow
*arg1
= (wxWindow
*) 0 ;
22591 int arg2
= (int) (int)-1 ;
22592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22596 long arg5
= (long) 0 ;
22597 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22599 wxPyPanel
*result
= 0 ;
22608 bool temp6
= false ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 PyObject
* obj2
= 0 ;
22612 PyObject
* obj3
= 0 ;
22613 PyObject
* obj4
= 0 ;
22614 PyObject
* obj5
= 0 ;
22615 char * kwnames
[] = {
22616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22621 if (!SWIG_IsOK(res1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22627 if (!SWIG_IsOK(ecode2
)) {
22628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22630 arg2
= static_cast< int >(val2
);
22635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22645 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22646 if (!SWIG_IsOK(ecode5
)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22649 arg5
= static_cast< long >(val5
);
22653 arg6
= wxString_in_helper(obj5
);
22654 if (arg6
== NULL
) SWIG_fail
;
22659 if (!wxPyCheckForApp()) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22680 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22681 PyObject
*resultobj
= 0;
22682 wxPyPanel
*result
= 0 ;
22684 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22686 if (!wxPyCheckForApp()) SWIG_fail
;
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 result
= (wxPyPanel
*)new wxPyPanel();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22699 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
= 0;
22701 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22702 PyObject
*arg2
= (PyObject
*) 0 ;
22703 PyObject
*arg3
= (PyObject
*) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 PyObject
* obj2
= 0 ;
22709 char * kwnames
[] = {
22710 (char *) "self",(char *) "self",(char *) "_class", NULL
22713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22715 if (!SWIG_IsOK(res1
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22718 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_Py_Void();
22734 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
= 0;
22736 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22737 wxDC
*arg2
= (wxDC
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char * kwnames
[] = {
22746 (char *) "self",(char *) "dc", NULL
22749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22751 if (!SWIG_IsOK(res1
)) {
22752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22754 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22756 if (!SWIG_IsOK(res2
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22759 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22775 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
= 0;
22777 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 PyObject
* obj2
= 0 ;
22795 PyObject
* obj3
= 0 ;
22796 PyObject
* obj4
= 0 ;
22797 char * kwnames
[] = {
22798 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22803 if (!SWIG_IsOK(res1
)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22806 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22808 if (!SWIG_IsOK(ecode2
)) {
22809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22811 arg2
= static_cast< int >(val2
);
22812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22813 if (!SWIG_IsOK(ecode3
)) {
22814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22816 arg3
= static_cast< int >(val3
);
22817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22818 if (!SWIG_IsOK(ecode4
)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22821 arg4
= static_cast< int >(val4
);
22822 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22823 if (!SWIG_IsOK(ecode5
)) {
22824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22826 arg5
= static_cast< int >(val5
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_Py_Void();
22840 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
= 0;
22842 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22847 int arg6
= (int) wxSIZE_AUTO
;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 PyObject
* obj2
= 0 ;
22863 PyObject
* obj3
= 0 ;
22864 PyObject
* obj4
= 0 ;
22865 PyObject
* obj5
= 0 ;
22866 char * kwnames
[] = {
22867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22875 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22877 if (!SWIG_IsOK(ecode2
)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22880 arg2
= static_cast< int >(val2
);
22881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22882 if (!SWIG_IsOK(ecode3
)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22885 arg3
= static_cast< int >(val3
);
22886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22887 if (!SWIG_IsOK(ecode4
)) {
22888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22890 arg4
= static_cast< int >(val4
);
22891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22892 if (!SWIG_IsOK(ecode5
)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22895 arg5
= static_cast< int >(val5
);
22897 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22898 if (!SWIG_IsOK(ecode6
)) {
22899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22901 arg6
= static_cast< int >(val6
);
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_Py_Void();
22916 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
= 0;
22918 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 PyObject
* obj2
= 0 ;
22930 char * kwnames
[] = {
22931 (char *) "self",(char *) "width",(char *) "height", NULL
22934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22936 if (!SWIG_IsOK(res1
)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22939 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22941 if (!SWIG_IsOK(ecode2
)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22944 arg2
= static_cast< int >(val2
);
22945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22946 if (!SWIG_IsOK(ecode3
)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22949 arg3
= static_cast< int >(val3
);
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 (arg1
)->DoSetClientSize(arg2
,arg3
);
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_Py_Void();
22963 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
= 0;
22965 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 PyObject
* obj2
= 0 ;
22977 char * kwnames
[] = {
22978 (char *) "self",(char *) "x",(char *) "y", NULL
22981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22983 if (!SWIG_IsOK(res1
)) {
22984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22986 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22988 if (!SWIG_IsOK(ecode2
)) {
22989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22991 arg2
= static_cast< int >(val2
);
22992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22993 if (!SWIG_IsOK(ecode3
)) {
22994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22996 arg3
= static_cast< int >(val3
);
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_Py_Void();
23010 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23011 PyObject
*resultobj
= 0;
23012 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23013 int *arg2
= (int *) 0 ;
23014 int *arg3
= (int *) 0 ;
23018 int res2
= SWIG_TMPOBJ
;
23020 int res3
= SWIG_TMPOBJ
;
23021 PyObject
*swig_obj
[1] ;
23025 if (!args
) SWIG_fail
;
23026 swig_obj
[0] = args
;
23027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23031 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_Py_Void();
23039 if (SWIG_IsTmpObj(res2
)) {
23040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23042 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23045 if (SWIG_IsTmpObj(res3
)) {
23046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23048 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23057 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23060 int *arg2
= (int *) 0 ;
23061 int *arg3
= (int *) 0 ;
23065 int res2
= SWIG_TMPOBJ
;
23067 int res3
= SWIG_TMPOBJ
;
23068 PyObject
*swig_obj
[1] ;
23072 if (!args
) SWIG_fail
;
23073 swig_obj
[0] = args
;
23074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23075 if (!SWIG_IsOK(res1
)) {
23076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23078 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_Py_Void();
23086 if (SWIG_IsTmpObj(res2
)) {
23087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23089 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23092 if (SWIG_IsTmpObj(res3
)) {
23093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23095 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23104 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23107 int *arg2
= (int *) 0 ;
23108 int *arg3
= (int *) 0 ;
23112 int res2
= SWIG_TMPOBJ
;
23114 int res3
= SWIG_TMPOBJ
;
23115 PyObject
*swig_obj
[1] ;
23119 if (!args
) SWIG_fail
;
23120 swig_obj
[0] = args
;
23121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23125 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_Py_Void();
23133 if (SWIG_IsTmpObj(res2
)) {
23134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23136 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23139 if (SWIG_IsTmpObj(res3
)) {
23140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23142 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23151 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23152 PyObject
*resultobj
= 0;
23153 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23157 PyObject
*swig_obj
[1] ;
23159 if (!args
) SWIG_fail
;
23160 swig_obj
[0] = args
;
23161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23162 if (!SWIG_IsOK(res1
)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23165 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23179 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23180 PyObject
*resultobj
= 0;
23181 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23185 PyObject
*swig_obj
[1] ;
23187 if (!args
) SWIG_fail
;
23188 swig_obj
[0] = args
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23193 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23207 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23208 PyObject
*resultobj
= 0;
23209 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23210 SwigValueWrapper
<wxVisualAttributes
> result
;
23213 PyObject
*swig_obj
[1] ;
23215 if (!args
) SWIG_fail
;
23216 swig_obj
[0] = args
;
23217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23221 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= (arg1
)->GetDefaultAttributes();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23235 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23236 PyObject
*resultobj
= 0;
23237 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23240 PyObject
*swig_obj
[1] ;
23242 if (!args
) SWIG_fail
;
23243 swig_obj
[0] = args
;
23244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23245 if (!SWIG_IsOK(res1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23248 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 (arg1
)->OnInternalIdle();
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= SWIG_Py_Void();
23262 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23266 return SWIG_Py_Void();
23269 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23270 return SWIG_Python_InitShadowInstance(args
);
23273 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
= 0;
23275 wxWindow
*arg1
= (wxWindow
*) 0 ;
23276 int arg2
= (int) (int)-1 ;
23277 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23278 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23279 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23280 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23281 long arg5
= (long) 0 ;
23282 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23283 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23284 wxPyScrolledWindow
*result
= 0 ;
23293 bool temp6
= false ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 PyObject
* obj2
= 0 ;
23297 PyObject
* obj3
= 0 ;
23298 PyObject
* obj4
= 0 ;
23299 PyObject
* obj5
= 0 ;
23300 char * kwnames
[] = {
23301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23306 if (!SWIG_IsOK(res1
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23312 if (!SWIG_IsOK(ecode2
)) {
23313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23315 arg2
= static_cast< int >(val2
);
23320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23330 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23331 if (!SWIG_IsOK(ecode5
)) {
23332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23334 arg5
= static_cast< long >(val5
);
23338 arg6
= wxString_in_helper(obj5
);
23339 if (arg6
== NULL
) SWIG_fail
;
23344 if (!wxPyCheckForApp()) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23365 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23366 PyObject
*resultobj
= 0;
23367 wxPyScrolledWindow
*result
= 0 ;
23369 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23371 if (!wxPyCheckForApp()) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23384 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
= 0;
23386 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23387 PyObject
*arg2
= (PyObject
*) 0 ;
23388 PyObject
*arg3
= (PyObject
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 PyObject
* obj2
= 0 ;
23394 char * kwnames
[] = {
23395 (char *) "self",(char *) "self",(char *) "_class", NULL
23398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23403 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= SWIG_Py_Void();
23419 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= 0;
23421 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23422 wxDC
*arg2
= (wxDC
*) 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char * kwnames
[] = {
23431 (char *) "self",(char *) "dc", NULL
23434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23439 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23441 if (!SWIG_IsOK(res2
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23444 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23460 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
= 0;
23462 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 PyObject
* obj1
= 0 ;
23479 PyObject
* obj2
= 0 ;
23480 PyObject
* obj3
= 0 ;
23481 PyObject
* obj4
= 0 ;
23482 char * kwnames
[] = {
23483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23491 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23493 if (!SWIG_IsOK(ecode2
)) {
23494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23496 arg2
= static_cast< int >(val2
);
23497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23498 if (!SWIG_IsOK(ecode3
)) {
23499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23501 arg3
= static_cast< int >(val3
);
23502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23503 if (!SWIG_IsOK(ecode4
)) {
23504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23506 arg4
= static_cast< int >(val4
);
23507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23508 if (!SWIG_IsOK(ecode5
)) {
23509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23511 arg5
= static_cast< int >(val5
);
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_Py_Void();
23525 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
= 0;
23527 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23532 int arg6
= (int) wxSIZE_AUTO
;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 PyObject
* obj2
= 0 ;
23548 PyObject
* obj3
= 0 ;
23549 PyObject
* obj4
= 0 ;
23550 PyObject
* obj5
= 0 ;
23551 char * kwnames
[] = {
23552 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23557 if (!SWIG_IsOK(res1
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23560 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23562 if (!SWIG_IsOK(ecode2
)) {
23563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23565 arg2
= static_cast< int >(val2
);
23566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23567 if (!SWIG_IsOK(ecode3
)) {
23568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23570 arg3
= static_cast< int >(val3
);
23571 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23572 if (!SWIG_IsOK(ecode4
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23575 arg4
= static_cast< int >(val4
);
23576 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23577 if (!SWIG_IsOK(ecode5
)) {
23578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23580 arg5
= static_cast< int >(val5
);
23582 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23583 if (!SWIG_IsOK(ecode6
)) {
23584 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23586 arg6
= static_cast< int >(val6
);
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_Py_Void();
23601 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
= 0;
23603 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 PyObject
* obj2
= 0 ;
23615 char * kwnames
[] = {
23616 (char *) "self",(char *) "width",(char *) "height", NULL
23619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23624 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23626 if (!SWIG_IsOK(ecode2
)) {
23627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23629 arg2
= static_cast< int >(val2
);
23630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23631 if (!SWIG_IsOK(ecode3
)) {
23632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23634 arg3
= static_cast< int >(val3
);
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 (arg1
)->DoSetClientSize(arg2
,arg3
);
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_Py_Void();
23648 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
= 0;
23650 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 PyObject
* obj2
= 0 ;
23662 char * kwnames
[] = {
23663 (char *) "self",(char *) "x",(char *) "y", NULL
23666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23668 if (!SWIG_IsOK(res1
)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23671 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23673 if (!SWIG_IsOK(ecode2
)) {
23674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23676 arg2
= static_cast< int >(val2
);
23677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23678 if (!SWIG_IsOK(ecode3
)) {
23679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23681 arg3
= static_cast< int >(val3
);
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_Py_Void();
23695 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23696 PyObject
*resultobj
= 0;
23697 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23698 int *arg2
= (int *) 0 ;
23699 int *arg3
= (int *) 0 ;
23703 int res2
= SWIG_TMPOBJ
;
23705 int res3
= SWIG_TMPOBJ
;
23706 PyObject
*swig_obj
[1] ;
23710 if (!args
) SWIG_fail
;
23711 swig_obj
[0] = args
;
23712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23713 if (!SWIG_IsOK(res1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23716 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_Py_Void();
23724 if (SWIG_IsTmpObj(res2
)) {
23725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23727 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23730 if (SWIG_IsTmpObj(res3
)) {
23731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23733 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23742 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23743 PyObject
*resultobj
= 0;
23744 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23745 int *arg2
= (int *) 0 ;
23746 int *arg3
= (int *) 0 ;
23750 int res2
= SWIG_TMPOBJ
;
23752 int res3
= SWIG_TMPOBJ
;
23753 PyObject
*swig_obj
[1] ;
23757 if (!args
) SWIG_fail
;
23758 swig_obj
[0] = args
;
23759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23763 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= SWIG_Py_Void();
23771 if (SWIG_IsTmpObj(res2
)) {
23772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23774 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23777 if (SWIG_IsTmpObj(res3
)) {
23778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23780 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23789 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 PyObject
*resultobj
= 0;
23791 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23792 int *arg2
= (int *) 0 ;
23793 int *arg3
= (int *) 0 ;
23797 int res2
= SWIG_TMPOBJ
;
23799 int res3
= SWIG_TMPOBJ
;
23800 PyObject
*swig_obj
[1] ;
23804 if (!args
) SWIG_fail
;
23805 swig_obj
[0] = args
;
23806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23807 if (!SWIG_IsOK(res1
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23810 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_Py_Void();
23818 if (SWIG_IsTmpObj(res2
)) {
23819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23821 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23824 if (SWIG_IsTmpObj(res3
)) {
23825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23827 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23836 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23837 PyObject
*resultobj
= 0;
23838 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23842 PyObject
*swig_obj
[1] ;
23844 if (!args
) SWIG_fail
;
23845 swig_obj
[0] = args
;
23846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23847 if (!SWIG_IsOK(res1
)) {
23848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23850 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23864 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23865 PyObject
*resultobj
= 0;
23866 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23870 PyObject
*swig_obj
[1] ;
23872 if (!args
) SWIG_fail
;
23873 swig_obj
[0] = args
;
23874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23878 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23892 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 PyObject
*resultobj
= 0;
23894 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23895 SwigValueWrapper
<wxVisualAttributes
> result
;
23898 PyObject
*swig_obj
[1] ;
23900 if (!args
) SWIG_fail
;
23901 swig_obj
[0] = args
;
23902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23903 if (!SWIG_IsOK(res1
)) {
23904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23906 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (arg1
)->GetDefaultAttributes();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23920 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23921 PyObject
*resultobj
= 0;
23922 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23925 PyObject
*swig_obj
[1] ;
23927 if (!args
) SWIG_fail
;
23928 swig_obj
[0] = args
;
23929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23933 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 (arg1
)->OnInternalIdle();
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= SWIG_Py_Void();
23947 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23950 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23951 return SWIG_Py_Void();
23954 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23955 return SWIG_Python_InitShadowInstance(args
);
23958 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23959 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23964 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23965 PyObject
*pyobj
= 0;
23969 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23971 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23978 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23979 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23984 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23985 PyObject
*pyobj
= 0;
23989 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23991 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23998 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23999 PyObject
*resultobj
= 0;
24000 wxPrintData
*result
= 0 ;
24002 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (wxPrintData
*)new wxPrintData();
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
24016 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24017 PyObject
*resultobj
= 0;
24018 wxPrintData
*arg1
= 0 ;
24019 wxPrintData
*result
= 0 ;
24023 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24031 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
24045 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
24049 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
24052 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
24055 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
24059 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
24064 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 PyObject
*resultobj
= 0;
24066 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24069 PyObject
*swig_obj
[1] ;
24071 if (!args
) SWIG_fail
;
24072 swig_obj
[0] = args
;
24073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24077 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_Py_Void();
24092 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24093 PyObject
*resultobj
= 0;
24094 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24098 PyObject
*swig_obj
[1] ;
24100 if (!args
) SWIG_fail
;
24101 swig_obj
[0] = args
;
24102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24103 if (!SWIG_IsOK(res1
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24106 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (int)(arg1
)->GetNoCopies();
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_From_int(static_cast< int >(result
));
24120 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24121 PyObject
*resultobj
= 0;
24122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24126 PyObject
*swig_obj
[1] ;
24128 if (!args
) SWIG_fail
;
24129 swig_obj
[0] = args
;
24130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24131 if (!SWIG_IsOK(res1
)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24134 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (bool)(arg1
)->GetCollate();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24150 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24151 PyObject
*resultobj
= 0;
24152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24156 PyObject
*swig_obj
[1] ;
24158 if (!args
) SWIG_fail
;
24159 swig_obj
[0] = args
;
24160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24164 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (int)(arg1
)->GetOrientation();
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_From_int(static_cast< int >(result
));
24178 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 PyObject
*resultobj
= 0;
24180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24184 PyObject
*swig_obj
[1] ;
24186 if (!args
) SWIG_fail
;
24187 swig_obj
[0] = args
;
24188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24189 if (!SWIG_IsOK(res1
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24192 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24208 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24209 PyObject
*resultobj
= 0;
24210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24214 PyObject
*swig_obj
[1] ;
24216 if (!args
) SWIG_fail
;
24217 swig_obj
[0] = args
;
24218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24222 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (bool)(arg1
)->IsOk();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24238 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24239 PyObject
*resultobj
= 0;
24240 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24241 wxString
*result
= 0 ;
24244 PyObject
*swig_obj
[1] ;
24246 if (!args
) SWIG_fail
;
24247 swig_obj
[0] = args
;
24248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24249 if (!SWIG_IsOK(res1
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24252 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24257 result
= (wxString
*) &_result_ref
;
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24266 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24275 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24276 PyObject
*resultobj
= 0;
24277 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24281 PyObject
*swig_obj
[1] ;
24283 if (!args
) SWIG_fail
;
24284 swig_obj
[0] = args
;
24285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24286 if (!SWIG_IsOK(res1
)) {
24287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24289 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (bool)(arg1
)->GetColour();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24305 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24306 PyObject
*resultobj
= 0;
24307 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24308 wxDuplexMode result
;
24311 PyObject
*swig_obj
[1] ;
24313 if (!args
) SWIG_fail
;
24314 swig_obj
[0] = args
;
24315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24316 if (!SWIG_IsOK(res1
)) {
24317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24319 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= SWIG_From_int(static_cast< int >(result
));
24333 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24334 PyObject
*resultobj
= 0;
24335 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24336 wxPaperSize result
;
24339 PyObject
*swig_obj
[1] ;
24341 if (!args
) SWIG_fail
;
24342 swig_obj
[0] = args
;
24343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24344 if (!SWIG_IsOK(res1
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24347 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_From_int(static_cast< int >(result
));
24361 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24362 PyObject
*resultobj
= 0;
24363 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24364 wxSize
*result
= 0 ;
24367 PyObject
*swig_obj
[1] ;
24369 if (!args
) SWIG_fail
;
24370 swig_obj
[0] = args
;
24371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24372 if (!SWIG_IsOK(res1
)) {
24373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24375 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24380 result
= (wxSize
*) &_result_ref
;
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24392 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24393 PyObject
*resultobj
= 0;
24394 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24398 PyObject
*swig_obj
[1] ;
24400 if (!args
) SWIG_fail
;
24401 swig_obj
[0] = args
;
24402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24403 if (!SWIG_IsOK(res1
)) {
24404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24406 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (int)(arg1
)->GetQuality();
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24413 resultobj
= SWIG_From_int(static_cast< int >(result
));
24420 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24421 PyObject
*resultobj
= 0;
24422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24426 PyObject
*swig_obj
[1] ;
24428 if (!args
) SWIG_fail
;
24429 swig_obj
[0] = args
;
24430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24434 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (wxPrintBin
)(arg1
)->GetBin();
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= SWIG_From_int(static_cast< int >(result
));
24448 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24449 PyObject
*resultobj
= 0;
24450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24451 wxPrintMode result
;
24454 PyObject
*swig_obj
[1] ;
24456 if (!args
) SWIG_fail
;
24457 swig_obj
[0] = args
;
24458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24459 if (!SWIG_IsOK(res1
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24462 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_From_int(static_cast< int >(result
));
24476 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24477 PyObject
*resultobj
= 0;
24478 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24482 PyObject
*swig_obj
[1] ;
24484 if (!args
) SWIG_fail
;
24485 swig_obj
[0] = args
;
24486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24490 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= SWIG_From_int(static_cast< int >(result
));
24504 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
= 0;
24506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char * kwnames
[] = {
24515 (char *) "self",(char *) "v", NULL
24518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24520 if (!SWIG_IsOK(res1
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24523 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24525 if (!SWIG_IsOK(ecode2
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24528 arg2
= static_cast< int >(val2
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->SetNoCopies(arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_Py_Void();
24542 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
= 0;
24544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char * kwnames
[] = {
24553 (char *) "self",(char *) "flag", NULL
24556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24561 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24562 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24563 if (!SWIG_IsOK(ecode2
)) {
24564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24566 arg2
= static_cast< bool >(val2
);
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->SetCollate(arg2
);
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= SWIG_Py_Void();
24580 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
= 0;
24582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char * kwnames
[] = {
24591 (char *) "self",(char *) "orient", NULL
24594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24596 if (!SWIG_IsOK(res1
)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24599 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24601 if (!SWIG_IsOK(ecode2
)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24604 arg2
= static_cast< int >(val2
);
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->SetOrientation(arg2
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_Py_Void();
24618 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
= 0;
24620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char * kwnames
[] = {
24629 (char *) "self",(char *) "reversed", NULL
24632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24634 if (!SWIG_IsOK(res1
)) {
24635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24637 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24638 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24639 if (!SWIG_IsOK(ecode2
)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24642 arg2
= static_cast< bool >(val2
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->SetOrientationReversed(arg2
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_Py_Void();
24656 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
= 0;
24658 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24659 wxString
*arg2
= 0 ;
24662 bool temp2
= false ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 char * kwnames
[] = {
24666 (char *) "self",(char *) "name", NULL
24669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24674 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24676 arg2
= wxString_in_helper(obj1
);
24677 if (arg2
== NULL
) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= SWIG_Py_Void();
24701 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
= 0;
24703 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 char * kwnames
[] = {
24712 (char *) "self",(char *) "colour", NULL
24715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24717 if (!SWIG_IsOK(res1
)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24720 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24722 if (!SWIG_IsOK(ecode2
)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24725 arg2
= static_cast< bool >(val2
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->SetColour(arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_Py_Void();
24739 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24741 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24742 wxDuplexMode arg2
;
24747 PyObject
* obj0
= 0 ;
24748 PyObject
* obj1
= 0 ;
24749 char * kwnames
[] = {
24750 (char *) "self",(char *) "duplex", NULL
24753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24758 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24760 if (!SWIG_IsOK(ecode2
)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24763 arg2
= static_cast< wxDuplexMode
>(val2
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 (arg1
)->SetDuplex(arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_Py_Void();
24777 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char * kwnames
[] = {
24788 (char *) "self",(char *) "sizeId", NULL
24791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24796 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24798 if (!SWIG_IsOK(ecode2
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24801 arg2
= static_cast< wxPaperSize
>(val2
);
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 (arg1
)->SetPaperId(arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_Py_Void();
24815 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
= 0;
24817 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "self",(char *) "sz", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24833 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= SWIG_Py_Void();
24851 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
= 0;
24853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 char * kwnames
[] = {
24862 (char *) "self",(char *) "quality", NULL
24865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24870 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24872 if (!SWIG_IsOK(ecode2
)) {
24873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24875 arg2
= static_cast< int >(val2
);
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 (arg1
)->SetQuality(arg2
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= SWIG_Py_Void();
24889 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
= 0;
24891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "self",(char *) "bin", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24908 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24910 if (!SWIG_IsOK(ecode2
)) {
24911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24913 arg2
= static_cast< wxPrintBin
>(val2
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->SetBin(arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_Py_Void();
24927 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
= 0;
24929 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 char * kwnames
[] = {
24938 (char *) "self",(char *) "printMode", NULL
24941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24946 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24948 if (!SWIG_IsOK(ecode2
)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24951 arg2
= static_cast< wxPrintMode
>(val2
);
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 (arg1
)->SetPrintMode(arg2
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= SWIG_Py_Void();
24965 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
= 0;
24967 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 char * kwnames
[] = {
24976 (char *) "self",(char *) "media", NULL
24979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24984 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24986 if (!SWIG_IsOK(ecode2
)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24989 arg2
= static_cast< int >(val2
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 (arg1
)->SetMedia(arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_Py_Void();
25003 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25004 PyObject
*resultobj
= 0;
25005 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25009 PyObject
*swig_obj
[1] ;
25011 if (!args
) SWIG_fail
;
25012 swig_obj
[0] = args
;
25013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
25017 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= ((wxPrintData
const *)arg1
)->GetFilename();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25037 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
= 0;
25039 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25040 wxString
*arg2
= 0 ;
25043 bool temp2
= false ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char * kwnames
[] = {
25047 (char *) "self",(char *) "filename", NULL
25050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
25055 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25057 arg2
= wxString_in_helper(obj1
);
25058 if (arg2
== NULL
) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetFilename((wxString
const &)*arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_Py_Void();
25082 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25083 PyObject
*resultobj
= 0;
25084 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25085 PyObject
*result
= 0 ;
25088 PyObject
*swig_obj
[1] ;
25090 if (!args
) SWIG_fail
;
25091 swig_obj
[0] = args
;
25092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25096 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= result
;
25110 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
= 0;
25112 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25113 PyObject
*arg2
= (PyObject
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 char * kwnames
[] = {
25119 (char *) "self",(char *) "data", NULL
25122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25124 if (!SWIG_IsOK(res1
)) {
25125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25127 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 wxPrintData_SetPrivData(arg1
,arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_Py_Void();
25142 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
25146 return SWIG_Py_Void();
25149 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25150 return SWIG_Python_InitShadowInstance(args
);
25153 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25154 PyObject
*resultobj
= 0;
25155 wxPageSetupDialogData
*result
= 0 ;
25157 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25171 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25172 PyObject
*resultobj
= 0;
25173 wxPageSetupDialogData
*arg1
= 0 ;
25174 wxPageSetupDialogData
*result
= 0 ;
25178 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
25180 if (!SWIG_IsOK(res1
)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25186 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25200 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25201 PyObject
*resultobj
= 0;
25202 wxPrintData
*arg1
= 0 ;
25203 wxPageSetupDialogData
*result
= 0 ;
25207 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25215 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25229 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
25233 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
25236 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
25241 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
25242 _v
= SWIG_CheckState(res
);
25244 if (!_v
) goto check_2
;
25245 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
25250 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
25254 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
25259 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25260 PyObject
*resultobj
= 0;
25261 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25264 PyObject
*swig_obj
[1] ;
25266 if (!args
) SWIG_fail
;
25267 swig_obj
[0] = args
;
25268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
25269 if (!SWIG_IsOK(res1
)) {
25270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25272 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_Py_Void();
25287 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
= 0;
25289 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 char * kwnames
[] = {
25298 (char *) "self",(char *) "flag", NULL
25301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25303 if (!SWIG_IsOK(res1
)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25306 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25307 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25308 if (!SWIG_IsOK(ecode2
)) {
25309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25311 arg2
= static_cast< bool >(val2
);
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 (arg1
)->EnableHelp(arg2
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_Py_Void();
25325 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
= 0;
25327 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 PyObject
* obj1
= 0 ;
25335 char * kwnames
[] = {
25336 (char *) "self",(char *) "flag", NULL
25339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25341 if (!SWIG_IsOK(res1
)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25344 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25345 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25346 if (!SWIG_IsOK(ecode2
)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25349 arg2
= static_cast< bool >(val2
);
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 (arg1
)->EnableMargins(arg2
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= SWIG_Py_Void();
25363 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
= 0;
25365 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char * kwnames
[] = {
25374 (char *) "self",(char *) "flag", NULL
25377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25379 if (!SWIG_IsOK(res1
)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25382 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25383 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25384 if (!SWIG_IsOK(ecode2
)) {
25385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25387 arg2
= static_cast< bool >(val2
);
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 (arg1
)->EnableOrientation(arg2
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= SWIG_Py_Void();
25401 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "self",(char *) "flag", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25420 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25421 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25422 if (!SWIG_IsOK(ecode2
)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25425 arg2
= static_cast< bool >(val2
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 (arg1
)->EnablePaper(arg2
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_Py_Void();
25439 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
= 0;
25441 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char * kwnames
[] = {
25450 (char *) "self",(char *) "flag", NULL
25453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25455 if (!SWIG_IsOK(res1
)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25458 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25459 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25460 if (!SWIG_IsOK(ecode2
)) {
25461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25463 arg2
= static_cast< bool >(val2
);
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->EnablePrinter(arg2
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_Py_Void();
25477 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25478 PyObject
*resultobj
= 0;
25479 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25483 PyObject
*swig_obj
[1] ;
25485 if (!args
) SWIG_fail
;
25486 swig_obj
[0] = args
;
25487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25488 if (!SWIG_IsOK(res1
)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25491 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (bool)(arg1
)->GetDefaultMinMargins();
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25507 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25508 PyObject
*resultobj
= 0;
25509 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25513 PyObject
*swig_obj
[1] ;
25515 if (!args
) SWIG_fail
;
25516 swig_obj
[0] = args
;
25517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25518 if (!SWIG_IsOK(res1
)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25521 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (bool)(arg1
)->GetEnableMargins();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25537 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25538 PyObject
*resultobj
= 0;
25539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25551 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (bool)(arg1
)->GetEnableOrientation();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25567 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25568 PyObject
*resultobj
= 0;
25569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25573 PyObject
*swig_obj
[1] ;
25575 if (!args
) SWIG_fail
;
25576 swig_obj
[0] = args
;
25577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25581 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (bool)(arg1
)->GetEnablePaper();
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25597 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25598 PyObject
*resultobj
= 0;
25599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25603 PyObject
*swig_obj
[1] ;
25605 if (!args
) SWIG_fail
;
25606 swig_obj
[0] = args
;
25607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25608 if (!SWIG_IsOK(res1
)) {
25609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25611 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= (bool)(arg1
)->GetEnablePrinter();
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25627 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 PyObject
*resultobj
= 0;
25629 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25633 PyObject
*swig_obj
[1] ;
25635 if (!args
) SWIG_fail
;
25636 swig_obj
[0] = args
;
25637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25641 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (bool)(arg1
)->GetEnableHelp();
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25657 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25658 PyObject
*resultobj
= 0;
25659 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25663 PyObject
*swig_obj
[1] ;
25665 if (!args
) SWIG_fail
;
25666 swig_obj
[0] = args
;
25667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25668 if (!SWIG_IsOK(res1
)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25671 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (bool)(arg1
)->GetDefaultInfo();
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25687 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25688 PyObject
*resultobj
= 0;
25689 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25693 PyObject
*swig_obj
[1] ;
25695 if (!args
) SWIG_fail
;
25696 swig_obj
[0] = args
;
25697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25698 if (!SWIG_IsOK(res1
)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25701 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 result
= (arg1
)->GetMarginTopLeft();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25715 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25716 PyObject
*resultobj
= 0;
25717 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25721 PyObject
*swig_obj
[1] ;
25723 if (!args
) SWIG_fail
;
25724 swig_obj
[0] = args
;
25725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25726 if (!SWIG_IsOK(res1
)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25729 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (arg1
)->GetMarginBottomRight();
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25743 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25744 PyObject
*resultobj
= 0;
25745 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25749 PyObject
*swig_obj
[1] ;
25751 if (!args
) SWIG_fail
;
25752 swig_obj
[0] = args
;
25753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25754 if (!SWIG_IsOK(res1
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25757 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= (arg1
)->GetMinMarginTopLeft();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25771 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25772 PyObject
*resultobj
= 0;
25773 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25777 PyObject
*swig_obj
[1] ;
25779 if (!args
) SWIG_fail
;
25780 swig_obj
[0] = args
;
25781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25785 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (arg1
)->GetMinMarginBottomRight();
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25799 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25800 PyObject
*resultobj
= 0;
25801 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25802 wxPaperSize result
;
25805 PyObject
*swig_obj
[1] ;
25807 if (!args
) SWIG_fail
;
25808 swig_obj
[0] = args
;
25809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25813 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= SWIG_From_int(static_cast< int >(result
));
25827 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25828 PyObject
*resultobj
= 0;
25829 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25833 PyObject
*swig_obj
[1] ;
25835 if (!args
) SWIG_fail
;
25836 swig_obj
[0] = args
;
25837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25838 if (!SWIG_IsOK(res1
)) {
25839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25841 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (arg1
)->GetPaperSize();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25855 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25858 wxPrintData
*result
= 0 ;
25861 PyObject
*swig_obj
[1] ;
25863 if (!args
) SWIG_fail
;
25864 swig_obj
[0] = args
;
25865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25869 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25874 result
= (wxPrintData
*) &_result_ref
;
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25886 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25887 PyObject
*resultobj
= 0;
25888 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25892 PyObject
*swig_obj
[1] ;
25894 if (!args
) SWIG_fail
;
25895 swig_obj
[0] = args
;
25896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25897 if (!SWIG_IsOK(res1
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25900 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (bool)(arg1
)->IsOk();
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25916 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
= 0;
25918 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 char * kwnames
[] = {
25927 (char *) "self",(char *) "flag", NULL
25930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25932 if (!SWIG_IsOK(res1
)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25935 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25937 if (!SWIG_IsOK(ecode2
)) {
25938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25940 arg2
= static_cast< bool >(val2
);
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 (arg1
)->SetDefaultInfo(arg2
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= SWIG_Py_Void();
25954 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25955 PyObject
*resultobj
= 0;
25956 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj1
= 0 ;
25964 char * kwnames
[] = {
25965 (char *) "self",(char *) "flag", NULL
25968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25973 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25974 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25975 if (!SWIG_IsOK(ecode2
)) {
25976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25978 arg2
= static_cast< bool >(val2
);
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 (arg1
)->SetDefaultMinMargins(arg2
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_Py_Void();
25992 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= 0;
25994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25995 wxPoint
*arg2
= 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char * kwnames
[] = {
26002 (char *) "self",(char *) "pt", NULL
26005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26007 if (!SWIG_IsOK(res1
)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26010 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= SWIG_Py_Void();
26028 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
= 0;
26030 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26031 wxPoint
*arg2
= 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 char * kwnames
[] = {
26038 (char *) "self",(char *) "pt", NULL
26041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26043 if (!SWIG_IsOK(res1
)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26046 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_Py_Void();
26064 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
= 0;
26066 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26067 wxPoint
*arg2
= 0 ;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 char * kwnames
[] = {
26074 (char *) "self",(char *) "pt", NULL
26077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26079 if (!SWIG_IsOK(res1
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26082 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_Py_Void();
26100 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
= 0;
26102 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26103 wxPoint
*arg2
= 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char * kwnames
[] = {
26110 (char *) "self",(char *) "pt", NULL
26113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26118 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_Py_Void();
26136 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 char * kwnames
[] = {
26147 (char *) "self",(char *) "id", NULL
26150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26152 if (!SWIG_IsOK(res1
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26155 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26157 if (!SWIG_IsOK(ecode2
)) {
26158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26160 arg2
= static_cast< wxPaperSize
>(val2
);
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 (arg1
)->SetPaperId(arg2
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_Py_Void();
26174 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
= 0;
26176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char * kwnames
[] = {
26184 (char *) "self",(char *) "size", NULL
26187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26189 if (!SWIG_IsOK(res1
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26192 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_Py_Void();
26210 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
= 0;
26212 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26213 wxPrintData
*arg2
= 0 ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 char * kwnames
[] = {
26221 (char *) "self",(char *) "printData", NULL
26224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26226 if (!SWIG_IsOK(res1
)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26229 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26231 if (!SWIG_IsOK(res2
)) {
26232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26237 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_Py_Void();
26251 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26252 PyObject
*resultobj
= 0;
26253 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26256 PyObject
*swig_obj
[1] ;
26258 if (!args
) SWIG_fail
;
26259 swig_obj
[0] = args
;
26260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26261 if (!SWIG_IsOK(res1
)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26264 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 (arg1
)->CalculateIdFromPaperSize();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_Py_Void();
26278 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26279 PyObject
*resultobj
= 0;
26280 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26283 PyObject
*swig_obj
[1] ;
26285 if (!args
) SWIG_fail
;
26286 swig_obj
[0] = args
;
26287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26291 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 (arg1
)->CalculatePaperSizeFromId();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26309 return SWIG_Py_Void();
26312 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26313 return SWIG_Python_InitShadowInstance(args
);
26316 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
= 0;
26318 wxWindow
*arg1
= (wxWindow
*) 0 ;
26319 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26320 wxPageSetupDialog
*result
= 0 ;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 char * kwnames
[] = {
26328 (char *) "parent",(char *) "data", NULL
26331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26333 if (!SWIG_IsOK(res1
)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26339 if (!SWIG_IsOK(res2
)) {
26340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26342 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26345 if (!wxPyCheckForApp()) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26358 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26359 PyObject
*resultobj
= 0;
26360 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26363 PyObject
*swig_obj
[1] ;
26365 if (!args
) SWIG_fail
;
26366 swig_obj
[0] = args
;
26367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26371 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 resultobj
= SWIG_Py_Void();
26386 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26387 PyObject
*resultobj
= 0;
26388 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26389 wxPageSetupDialogData
*result
= 0 ;
26392 PyObject
*swig_obj
[1] ;
26394 if (!args
) SWIG_fail
;
26395 swig_obj
[0] = args
;
26396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26400 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26405 result
= (wxPageSetupDialogData
*) &_result_ref
;
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26417 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26418 PyObject
*resultobj
= 0;
26419 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26420 wxPageSetupDialogData
*result
= 0 ;
26423 PyObject
*swig_obj
[1] ;
26425 if (!args
) SWIG_fail
;
26426 swig_obj
[0] = args
;
26427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26431 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26436 result
= (wxPageSetupDialogData
*) &_result_ref
;
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26448 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26449 PyObject
*resultobj
= 0;
26450 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26454 PyObject
*swig_obj
[1] ;
26456 if (!args
) SWIG_fail
;
26457 swig_obj
[0] = args
;
26458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26459 if (!SWIG_IsOK(res1
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26462 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (int)(arg1
)->ShowModal();
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_From_int(static_cast< int >(result
));
26476 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26480 return SWIG_Py_Void();
26483 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26484 return SWIG_Python_InitShadowInstance(args
);
26487 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26488 PyObject
*resultobj
= 0;
26489 wxPrintDialogData
*result
= 0 ;
26491 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26505 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26506 PyObject
*resultobj
= 0;
26507 wxPrintData
*arg1
= 0 ;
26508 wxPrintDialogData
*result
= 0 ;
26512 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26520 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26534 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26535 PyObject
*resultobj
= 0;
26536 wxPrintDialogData
*arg1
= 0 ;
26537 wxPrintDialogData
*result
= 0 ;
26541 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26549 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26563 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26567 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26570 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26575 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26576 _v
= SWIG_CheckState(res
);
26578 if (!_v
) goto check_2
;
26579 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26584 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26588 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26593 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26594 PyObject
*resultobj
= 0;
26595 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26598 PyObject
*swig_obj
[1] ;
26600 if (!args
) SWIG_fail
;
26601 swig_obj
[0] = args
;
26602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26603 if (!SWIG_IsOK(res1
)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26606 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= SWIG_Py_Void();
26621 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26622 PyObject
*resultobj
= 0;
26623 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26627 PyObject
*swig_obj
[1] ;
26629 if (!args
) SWIG_fail
;
26630 swig_obj
[0] = args
;
26631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26632 if (!SWIG_IsOK(res1
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26635 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_From_int(static_cast< int >(result
));
26649 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26650 PyObject
*resultobj
= 0;
26651 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26655 PyObject
*swig_obj
[1] ;
26657 if (!args
) SWIG_fail
;
26658 swig_obj
[0] = args
;
26659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26663 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= SWIG_From_int(static_cast< int >(result
));
26677 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26678 PyObject
*resultobj
= 0;
26679 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26683 PyObject
*swig_obj
[1] ;
26685 if (!args
) SWIG_fail
;
26686 swig_obj
[0] = args
;
26687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26688 if (!SWIG_IsOK(res1
)) {
26689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26691 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_From_int(static_cast< int >(result
));
26705 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26706 PyObject
*resultobj
= 0;
26707 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26711 PyObject
*swig_obj
[1] ;
26713 if (!args
) SWIG_fail
;
26714 swig_obj
[0] = args
;
26715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26716 if (!SWIG_IsOK(res1
)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26719 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_From_int(static_cast< int >(result
));
26733 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26739 PyObject
*swig_obj
[1] ;
26741 if (!args
) SWIG_fail
;
26742 swig_obj
[0] = args
;
26743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26747 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_From_int(static_cast< int >(result
));
26761 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26762 PyObject
*resultobj
= 0;
26763 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26767 PyObject
*swig_obj
[1] ;
26769 if (!args
) SWIG_fail
;
26770 swig_obj
[0] = args
;
26771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26775 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26791 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26792 PyObject
*resultobj
= 0;
26793 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26797 PyObject
*swig_obj
[1] ;
26799 if (!args
) SWIG_fail
;
26800 swig_obj
[0] = args
;
26801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26805 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26821 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26822 PyObject
*resultobj
= 0;
26823 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26827 PyObject
*swig_obj
[1] ;
26829 if (!args
) SWIG_fail
;
26830 swig_obj
[0] = args
;
26831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26832 if (!SWIG_IsOK(res1
)) {
26833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26835 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26851 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26852 PyObject
*resultobj
= 0;
26853 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26857 PyObject
*swig_obj
[1] ;
26859 if (!args
) SWIG_fail
;
26860 swig_obj
[0] = args
;
26861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26865 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26881 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
= 0;
26883 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 char * kwnames
[] = {
26892 (char *) "self",(char *) "v", NULL
26895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26897 if (!SWIG_IsOK(res1
)) {
26898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26900 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26902 if (!SWIG_IsOK(ecode2
)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26905 arg2
= static_cast< int >(val2
);
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 (arg1
)->SetFromPage(arg2
);
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= SWIG_Py_Void();
26919 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
= 0;
26921 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26927 PyObject
* obj0
= 0 ;
26928 PyObject
* obj1
= 0 ;
26929 char * kwnames
[] = {
26930 (char *) "self",(char *) "v", NULL
26933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26935 if (!SWIG_IsOK(res1
)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26938 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26940 if (!SWIG_IsOK(ecode2
)) {
26941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26943 arg2
= static_cast< int >(val2
);
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 (arg1
)->SetToPage(arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= SWIG_Py_Void();
26957 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
= 0;
26959 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 char * kwnames
[] = {
26968 (char *) "self",(char *) "v", NULL
26971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26976 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26978 if (!SWIG_IsOK(ecode2
)) {
26979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26981 arg2
= static_cast< int >(val2
);
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 (arg1
)->SetMinPage(arg2
);
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_Py_Void();
26995 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26996 PyObject
*resultobj
= 0;
26997 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27003 PyObject
* obj0
= 0 ;
27004 PyObject
* obj1
= 0 ;
27005 char * kwnames
[] = {
27006 (char *) "self",(char *) "v", NULL
27009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27011 if (!SWIG_IsOK(res1
)) {
27012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27014 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27016 if (!SWIG_IsOK(ecode2
)) {
27017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
27019 arg2
= static_cast< int >(val2
);
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 (arg1
)->SetMaxPage(arg2
);
27023 wxPyEndAllowThreads(__tstate
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 resultobj
= SWIG_Py_Void();
27033 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
= 0;
27035 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 char * kwnames
[] = {
27044 (char *) "self",(char *) "v", NULL
27047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27052 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27054 if (!SWIG_IsOK(ecode2
)) {
27055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
27057 arg2
= static_cast< int >(val2
);
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->SetNoCopies(arg2
);
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_Py_Void();
27071 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
= 0;
27073 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 char * kwnames
[] = {
27082 (char *) "self",(char *) "flag", NULL
27085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27087 if (!SWIG_IsOK(res1
)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27090 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27091 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27092 if (!SWIG_IsOK(ecode2
)) {
27093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
27095 arg2
= static_cast< bool >(val2
);
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 (arg1
)->SetAllPages(arg2
);
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= SWIG_Py_Void();
27109 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
= 0;
27111 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27117 PyObject
* obj0
= 0 ;
27118 PyObject
* obj1
= 0 ;
27119 char * kwnames
[] = {
27120 (char *) "self",(char *) "flag", NULL
27123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27125 if (!SWIG_IsOK(res1
)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27128 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27129 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27130 if (!SWIG_IsOK(ecode2
)) {
27131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27133 arg2
= static_cast< bool >(val2
);
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 (arg1
)->SetSelection(arg2
);
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= SWIG_Py_Void();
27147 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
= 0;
27149 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 char * kwnames
[] = {
27158 (char *) "self",(char *) "flag", NULL
27161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27163 if (!SWIG_IsOK(res1
)) {
27164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27166 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27168 if (!SWIG_IsOK(ecode2
)) {
27169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27171 arg2
= static_cast< bool >(val2
);
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 (arg1
)->SetCollate(arg2
);
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= SWIG_Py_Void();
27185 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
= 0;
27187 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char * kwnames
[] = {
27196 (char *) "self",(char *) "flag", NULL
27199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27204 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27205 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27206 if (!SWIG_IsOK(ecode2
)) {
27207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27209 arg2
= static_cast< bool >(val2
);
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 (arg1
)->SetPrintToFile(arg2
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_Py_Void();
27223 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= 0;
27225 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 char * kwnames
[] = {
27234 (char *) "self",(char *) "flag", NULL
27237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27239 if (!SWIG_IsOK(res1
)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27242 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27243 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27244 if (!SWIG_IsOK(ecode2
)) {
27245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27247 arg2
= static_cast< bool >(val2
);
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 (arg1
)->EnablePrintToFile(arg2
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= SWIG_Py_Void();
27261 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
= 0;
27263 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 char * kwnames
[] = {
27272 (char *) "self",(char *) "flag", NULL
27275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27277 if (!SWIG_IsOK(res1
)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27280 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27281 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27282 if (!SWIG_IsOK(ecode2
)) {
27283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27285 arg2
= static_cast< bool >(val2
);
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 (arg1
)->EnableSelection(arg2
);
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= SWIG_Py_Void();
27299 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
= 0;
27301 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 char * kwnames
[] = {
27310 (char *) "self",(char *) "flag", NULL
27313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27315 if (!SWIG_IsOK(res1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27318 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27319 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27320 if (!SWIG_IsOK(ecode2
)) {
27321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27323 arg2
= static_cast< bool >(val2
);
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 (arg1
)->EnablePageNumbers(arg2
);
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= SWIG_Py_Void();
27337 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
= 0;
27339 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 char * kwnames
[] = {
27348 (char *) "self",(char *) "flag", NULL
27351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27356 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27357 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27358 if (!SWIG_IsOK(ecode2
)) {
27359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27361 arg2
= static_cast< bool >(val2
);
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 (arg1
)->EnableHelp(arg2
);
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= SWIG_Py_Void();
27375 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27376 PyObject
*resultobj
= 0;
27377 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27381 PyObject
*swig_obj
[1] ;
27383 if (!args
) SWIG_fail
;
27384 swig_obj
[0] = args
;
27385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27389 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27405 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27406 PyObject
*resultobj
= 0;
27407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27411 PyObject
*swig_obj
[1] ;
27413 if (!args
) SWIG_fail
;
27414 swig_obj
[0] = args
;
27415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27416 if (!SWIG_IsOK(res1
)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27419 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27435 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27436 PyObject
*resultobj
= 0;
27437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27441 PyObject
*swig_obj
[1] ;
27443 if (!args
) SWIG_fail
;
27444 swig_obj
[0] = args
;
27445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27446 if (!SWIG_IsOK(res1
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27449 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27465 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27466 PyObject
*resultobj
= 0;
27467 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27471 PyObject
*swig_obj
[1] ;
27473 if (!args
) SWIG_fail
;
27474 swig_obj
[0] = args
;
27475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27476 if (!SWIG_IsOK(res1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27479 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27495 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 PyObject
*resultobj
= 0;
27497 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27501 PyObject
*swig_obj
[1] ;
27503 if (!args
) SWIG_fail
;
27504 swig_obj
[0] = args
;
27505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27509 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27525 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 PyObject
*resultobj
= 0;
27527 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27528 wxPrintData
*result
= 0 ;
27531 PyObject
*swig_obj
[1] ;
27533 if (!args
) SWIG_fail
;
27534 swig_obj
[0] = args
;
27535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27539 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27544 result
= (wxPrintData
*) &_result_ref
;
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27556 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
= 0;
27558 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27559 wxPrintData
*arg2
= 0 ;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 char * kwnames
[] = {
27567 (char *) "self",(char *) "printData", NULL
27570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27575 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27577 if (!SWIG_IsOK(res2
)) {
27578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27583 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27587 wxPyEndAllowThreads(__tstate
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27590 resultobj
= SWIG_Py_Void();
27597 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27601 return SWIG_Py_Void();
27604 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 return SWIG_Python_InitShadowInstance(args
);
27608 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
= 0;
27610 wxWindow
*arg1
= (wxWindow
*) 0 ;
27611 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27612 wxPrintDialog
*result
= 0 ;
27617 PyObject
* obj0
= 0 ;
27618 PyObject
* obj1
= 0 ;
27619 char * kwnames
[] = {
27620 (char *) "parent",(char *) "data", NULL
27623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27631 if (!SWIG_IsOK(res2
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27634 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27637 if (!wxPyCheckForApp()) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27650 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 PyObject
*resultobj
= 0;
27652 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27655 PyObject
*swig_obj
[1] ;
27657 if (!args
) SWIG_fail
;
27658 swig_obj
[0] = args
;
27659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27663 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 wxPyEndAllowThreads(__tstate
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 resultobj
= SWIG_Py_Void();
27678 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27679 PyObject
*resultobj
= 0;
27680 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27684 PyObject
*swig_obj
[1] ;
27686 if (!args
) SWIG_fail
;
27687 swig_obj
[0] = args
;
27688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27689 if (!SWIG_IsOK(res1
)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27692 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (int)(arg1
)->ShowModal();
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= SWIG_From_int(static_cast< int >(result
));
27706 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27707 PyObject
*resultobj
= 0;
27708 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27709 wxPrintDialogData
*result
= 0 ;
27712 PyObject
*swig_obj
[1] ;
27714 if (!args
) SWIG_fail
;
27715 swig_obj
[0] = args
;
27716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27717 if (!SWIG_IsOK(res1
)) {
27718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27720 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27725 result
= (wxPrintDialogData
*) &_result_ref
;
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27737 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27738 PyObject
*resultobj
= 0;
27739 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27740 wxPrintData
*result
= 0 ;
27743 PyObject
*swig_obj
[1] ;
27745 if (!args
) SWIG_fail
;
27746 swig_obj
[0] = args
;
27747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27748 if (!SWIG_IsOK(res1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27751 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27756 result
= (wxPrintData
*) &_result_ref
;
27758 wxPyEndAllowThreads(__tstate
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27768 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27769 PyObject
*resultobj
= 0;
27770 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27774 PyObject
*swig_obj
[1] ;
27776 if (!args
) SWIG_fail
;
27777 swig_obj
[0] = args
;
27778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27779 if (!SWIG_IsOK(res1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27782 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (wxDC
*)(arg1
)->GetPrintDC();
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27798 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27802 return SWIG_Py_Void();
27805 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27806 return SWIG_Python_InitShadowInstance(args
);
27809 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
= 0;
27811 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27812 wxPrinter
*result
= 0 ;
27815 PyObject
* obj0
= 0 ;
27816 char * kwnames
[] = {
27817 (char *) "data", NULL
27820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27823 if (!SWIG_IsOK(res1
)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27826 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27829 if (!wxPyCheckForApp()) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (wxPrinter
*)new wxPrinter(arg1
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27842 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 PyObject
*resultobj
= 0;
27844 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27847 PyObject
*swig_obj
[1] ;
27849 if (!args
) SWIG_fail
;
27850 swig_obj
[0] = args
;
27851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27852 if (!SWIG_IsOK(res1
)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27855 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_Py_Void();
27870 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
= 0;
27872 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27873 wxWindow
*arg2
= (wxWindow
*) 0 ;
27874 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27875 wxWindow
*result
= 0 ;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 PyObject
* obj2
= 0 ;
27885 char * kwnames
[] = {
27886 (char *) "self",(char *) "parent",(char *) "printout", NULL
27889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27894 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27896 if (!SWIG_IsOK(res2
)) {
27897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27899 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27900 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27901 if (!SWIG_IsOK(res3
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27904 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= wxPyMake_wxObject(result
, 0);
27920 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
= 0;
27922 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27923 wxWindow
*arg2
= (wxWindow
*) 0 ;
27924 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27925 wxString
*arg4
= 0 ;
27932 bool temp4
= false ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 PyObject
* obj2
= 0 ;
27936 PyObject
* obj3
= 0 ;
27937 char * kwnames
[] = {
27938 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27943 if (!SWIG_IsOK(res1
)) {
27944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27946 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27948 if (!SWIG_IsOK(res2
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27951 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27952 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27953 if (!SWIG_IsOK(res3
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27956 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27958 arg4
= wxString_in_helper(obj3
);
27959 if (arg4
== NULL
) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_Py_Void();
27983 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
= 0;
27985 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27986 wxWindow
*arg2
= (wxWindow
*) 0 ;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "self",(char *) "parent", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
28003 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28005 if (!SWIG_IsOK(res2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
28008 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 result
= (bool)(arg1
)->Setup(arg2
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28024 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
= 0;
28026 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28027 wxWindow
*arg2
= (wxWindow
*) 0 ;
28028 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
28029 bool arg4
= (bool) true ;
28039 PyObject
* obj0
= 0 ;
28040 PyObject
* obj1
= 0 ;
28041 PyObject
* obj2
= 0 ;
28042 PyObject
* obj3
= 0 ;
28043 char * kwnames
[] = {
28044 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
28047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28049 if (!SWIG_IsOK(res1
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
28052 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28053 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28054 if (!SWIG_IsOK(res2
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
28057 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28058 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28059 if (!SWIG_IsOK(res3
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
28062 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
28064 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
28065 if (!SWIG_IsOK(ecode4
)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
28068 arg4
= static_cast< bool >(val4
);
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28085 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
= 0;
28087 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28088 wxWindow
*arg2
= (wxWindow
*) 0 ;
28094 PyObject
* obj0
= 0 ;
28095 PyObject
* obj1
= 0 ;
28096 char * kwnames
[] = {
28097 (char *) "self",(char *) "parent", NULL
28100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
28105 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28107 if (!SWIG_IsOK(res2
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
28110 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28126 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28127 PyObject
*resultobj
= 0;
28128 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28129 wxPrintDialogData
*result
= 0 ;
28132 PyObject
*swig_obj
[1] ;
28134 if (!args
) SWIG_fail
;
28135 swig_obj
[0] = args
;
28136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28137 if (!SWIG_IsOK(res1
)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28140 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
28145 result
= (wxPrintDialogData
*) &_result_ref
;
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28157 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28158 PyObject
*resultobj
= 0;
28159 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28163 PyObject
*swig_obj
[1] ;
28165 if (!args
) SWIG_fail
;
28166 swig_obj
[0] = args
;
28167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28168 if (!SWIG_IsOK(res1
)) {
28169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28171 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28174 result
= (bool)(arg1
)->GetAbort();
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28187 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28188 PyObject
*resultobj
= 0;
28189 wxPrinterError result
;
28191 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (wxPrinterError
)wxPrinter::GetLastError();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= SWIG_From_int(static_cast< int >(result
));
28205 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28208 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
28209 return SWIG_Py_Void();
28212 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28213 return SWIG_Python_InitShadowInstance(args
);
28216 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
= 0;
28218 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
28219 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28220 wxPyPrintout
*result
= 0 ;
28221 bool temp1
= false ;
28222 PyObject
* obj0
= 0 ;
28223 char * kwnames
[] = {
28224 (char *) "title", NULL
28227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
28230 arg1
= wxString_in_helper(obj0
);
28231 if (arg1
== NULL
) SWIG_fail
;
28236 if (!wxPyCheckForApp()) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
28257 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28258 PyObject
*resultobj
= 0;
28259 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28270 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= SWIG_Py_Void();
28285 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
= 0;
28287 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28288 PyObject
*arg2
= (PyObject
*) 0 ;
28289 PyObject
*arg3
= (PyObject
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 PyObject
* obj1
= 0 ;
28294 PyObject
* obj2
= 0 ;
28295 char * kwnames
[] = {
28296 (char *) "self",(char *) "self",(char *) "_class", NULL
28299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28301 if (!SWIG_IsOK(res1
)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28304 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= SWIG_Py_Void();
28320 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28321 PyObject
*resultobj
= 0;
28322 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28326 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28334 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28354 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28355 PyObject
*resultobj
= 0;
28356 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28360 PyObject
*swig_obj
[1] ;
28362 if (!args
) SWIG_fail
;
28363 swig_obj
[0] = args
;
28364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28368 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (wxDC
*)(arg1
)->GetDC();
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28384 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
= 0;
28386 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28387 wxDC
*arg2
= (wxDC
*) 0 ;
28392 PyObject
* obj0
= 0 ;
28393 PyObject
* obj1
= 0 ;
28394 char * kwnames
[] = {
28395 (char *) "self",(char *) "dc", NULL
28398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28400 if (!SWIG_IsOK(res1
)) {
28401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28403 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28405 if (!SWIG_IsOK(res2
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28408 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 (arg1
)->SetDC(arg2
);
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_Py_Void();
28422 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
= 0;
28424 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 char * kwnames
[] = {
28432 (char *) "self",(char *) "imageSize", NULL
28435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28440 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28443 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= SWIG_Py_Void();
28458 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
= 0;
28460 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28465 PyObject
* obj0
= 0 ;
28466 PyObject
* obj1
= 0 ;
28467 char * kwnames
[] = {
28468 (char *) "self",(char *) "imageSize", NULL
28471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28473 if (!SWIG_IsOK(res1
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28476 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= SWIG_Py_Void();
28494 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
= 0;
28496 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28498 wxPageSetupDialogData
*arg3
= 0 ;
28504 PyObject
* obj0
= 0 ;
28505 PyObject
* obj1
= 0 ;
28506 PyObject
* obj2
= 0 ;
28507 char * kwnames
[] = {
28508 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28516 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28521 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28522 if (!SWIG_IsOK(res3
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28528 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_Py_Void();
28542 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28543 PyObject
*resultobj
= 0;
28544 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28547 PyObject
*swig_obj
[1] ;
28549 if (!args
) SWIG_fail
;
28550 swig_obj
[0] = args
;
28551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28555 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 (arg1
)->MapScreenSizeToPaper();
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 resultobj
= SWIG_Py_Void();
28569 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28570 PyObject
*resultobj
= 0;
28571 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28574 PyObject
*swig_obj
[1] ;
28576 if (!args
) SWIG_fail
;
28577 swig_obj
[0] = args
;
28578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28579 if (!SWIG_IsOK(res1
)) {
28580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28582 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 (arg1
)->MapScreenSizeToPage();
28586 wxPyEndAllowThreads(__tstate
);
28587 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= SWIG_Py_Void();
28596 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
= 0;
28598 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28599 wxPageSetupDialogData
*arg2
= 0 ;
28604 PyObject
* obj0
= 0 ;
28605 PyObject
* obj1
= 0 ;
28606 char * kwnames
[] = {
28607 (char *) "self",(char *) "pageSetupData", NULL
28610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28612 if (!SWIG_IsOK(res1
)) {
28613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28615 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28617 if (!SWIG_IsOK(res2
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28623 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= SWIG_Py_Void();
28637 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28638 PyObject
*resultobj
= 0;
28639 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28642 PyObject
*swig_obj
[1] ;
28644 if (!args
) SWIG_fail
;
28645 swig_obj
[0] = args
;
28646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28650 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 (arg1
)->MapScreenSizeToDevice();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 resultobj
= SWIG_Py_Void();
28664 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28665 PyObject
*resultobj
= 0;
28666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28670 PyObject
*swig_obj
[1] ;
28672 if (!args
) SWIG_fail
;
28673 swig_obj
[0] = args
;
28674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28675 if (!SWIG_IsOK(res1
)) {
28676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28678 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28692 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28693 PyObject
*resultobj
= 0;
28694 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28698 PyObject
*swig_obj
[1] ;
28700 if (!args
) SWIG_fail
;
28701 swig_obj
[0] = args
;
28702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28706 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28720 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28721 PyObject
*resultobj
= 0;
28722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28723 wxPageSetupDialogData
*arg2
= 0 ;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 char * kwnames
[] = {
28732 (char *) "self",(char *) "pageSetupData", NULL
28735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28737 if (!SWIG_IsOK(res1
)) {
28738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28740 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28742 if (!SWIG_IsOK(res2
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28748 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28762 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
= 0;
28764 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 PyObject
* obj2
= 0 ;
28776 char * kwnames
[] = {
28777 (char *) "self",(char *) "x",(char *) "y", NULL
28780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28782 if (!SWIG_IsOK(res1
)) {
28783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28785 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28787 if (!SWIG_IsOK(ecode2
)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28790 arg2
= static_cast< int >(val2
);
28791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28792 if (!SWIG_IsOK(ecode3
)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28795 arg3
= static_cast< int >(val3
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_Py_Void();
28809 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
= 0;
28811 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 PyObject
* obj2
= 0 ;
28823 char * kwnames
[] = {
28824 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28829 if (!SWIG_IsOK(res1
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28832 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28834 if (!SWIG_IsOK(ecode2
)) {
28835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28837 arg2
= static_cast< int >(val2
);
28838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28839 if (!SWIG_IsOK(ecode3
)) {
28840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28842 arg3
= static_cast< int >(val3
);
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_Py_Void();
28856 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
= 0;
28858 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 PyObject
* obj2
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "w",(char *) "h", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28879 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28881 if (!SWIG_IsOK(ecode2
)) {
28882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28884 arg2
= static_cast< int >(val2
);
28885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28886 if (!SWIG_IsOK(ecode3
)) {
28887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28889 arg3
= static_cast< int >(val3
);
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_Py_Void();
28903 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28904 PyObject
*resultobj
= 0;
28905 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28906 int *arg2
= (int *) 0 ;
28907 int *arg3
= (int *) 0 ;
28911 int res2
= SWIG_TMPOBJ
;
28913 int res3
= SWIG_TMPOBJ
;
28914 PyObject
*swig_obj
[1] ;
28918 if (!args
) SWIG_fail
;
28919 swig_obj
[0] = args
;
28920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28921 if (!SWIG_IsOK(res1
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28924 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 resultobj
= SWIG_Py_Void();
28932 if (SWIG_IsTmpObj(res2
)) {
28933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28935 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28938 if (SWIG_IsTmpObj(res3
)) {
28939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28941 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28950 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
= 0;
28952 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28961 PyObject
* obj0
= 0 ;
28962 PyObject
* obj1
= 0 ;
28963 PyObject
* obj2
= 0 ;
28964 char * kwnames
[] = {
28965 (char *) "self",(char *) "w",(char *) "h", NULL
28968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28970 if (!SWIG_IsOK(res1
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28973 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28975 if (!SWIG_IsOK(ecode2
)) {
28976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28978 arg2
= static_cast< int >(val2
);
28979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28980 if (!SWIG_IsOK(ecode3
)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28983 arg3
= static_cast< int >(val3
);
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= SWIG_Py_Void();
28997 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28998 PyObject
*resultobj
= 0;
28999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29000 int *arg2
= (int *) 0 ;
29001 int *arg3
= (int *) 0 ;
29005 int res2
= SWIG_TMPOBJ
;
29007 int res3
= SWIG_TMPOBJ
;
29008 PyObject
*swig_obj
[1] ;
29012 if (!args
) SWIG_fail
;
29013 swig_obj
[0] = args
;
29014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29015 if (!SWIG_IsOK(res1
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29018 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 (arg1
)->GetPageSizeMM(arg2
,arg3
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= SWIG_Py_Void();
29026 if (SWIG_IsTmpObj(res2
)) {
29027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29029 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29032 if (SWIG_IsTmpObj(res3
)) {
29033 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29035 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29044 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
= 0;
29046 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 char * kwnames
[] = {
29059 (char *) "self",(char *) "x",(char *) "y", NULL
29062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29064 if (!SWIG_IsOK(res1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29067 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29069 if (!SWIG_IsOK(ecode2
)) {
29070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
29072 arg2
= static_cast< int >(val2
);
29073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29074 if (!SWIG_IsOK(ecode3
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
29077 arg3
= static_cast< int >(val3
);
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 (arg1
)->SetPPIScreen(arg2
,arg3
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 resultobj
= SWIG_Py_Void();
29091 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29092 PyObject
*resultobj
= 0;
29093 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29094 int *arg2
= (int *) 0 ;
29095 int *arg3
= (int *) 0 ;
29099 int res2
= SWIG_TMPOBJ
;
29101 int res3
= SWIG_TMPOBJ
;
29102 PyObject
*swig_obj
[1] ;
29106 if (!args
) SWIG_fail
;
29107 swig_obj
[0] = args
;
29108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29109 if (!SWIG_IsOK(res1
)) {
29110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29112 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 (arg1
)->GetPPIScreen(arg2
,arg3
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 resultobj
= SWIG_Py_Void();
29120 if (SWIG_IsTmpObj(res2
)) {
29121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29123 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29126 if (SWIG_IsTmpObj(res3
)) {
29127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29129 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29138 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
= 0;
29140 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 PyObject
* obj2
= 0 ;
29152 char * kwnames
[] = {
29153 (char *) "self",(char *) "x",(char *) "y", NULL
29156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29158 if (!SWIG_IsOK(res1
)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29161 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29163 if (!SWIG_IsOK(ecode2
)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29166 arg2
= static_cast< int >(val2
);
29167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29168 if (!SWIG_IsOK(ecode3
)) {
29169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29171 arg3
= static_cast< int >(val3
);
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 (arg1
)->SetPPIPrinter(arg2
,arg3
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 resultobj
= SWIG_Py_Void();
29185 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29186 PyObject
*resultobj
= 0;
29187 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29188 int *arg2
= (int *) 0 ;
29189 int *arg3
= (int *) 0 ;
29193 int res2
= SWIG_TMPOBJ
;
29195 int res3
= SWIG_TMPOBJ
;
29196 PyObject
*swig_obj
[1] ;
29200 if (!args
) SWIG_fail
;
29201 swig_obj
[0] = args
;
29202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29203 if (!SWIG_IsOK(res1
)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29206 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 (arg1
)->GetPPIPrinter(arg2
,arg3
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 resultobj
= SWIG_Py_Void();
29214 if (SWIG_IsTmpObj(res2
)) {
29215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29220 if (SWIG_IsTmpObj(res3
)) {
29221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29232 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
= 0;
29234 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 char * kwnames
[] = {
29242 (char *) "self",(char *) "paperRectPixels", NULL
29245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29247 if (!SWIG_IsOK(res1
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29250 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29253 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= SWIG_Py_Void();
29268 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29269 PyObject
*resultobj
= 0;
29270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29274 PyObject
*swig_obj
[1] ;
29276 if (!args
) SWIG_fail
;
29277 swig_obj
[0] = args
;
29278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29282 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29296 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29297 PyObject
*resultobj
= 0;
29298 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29302 PyObject
*swig_obj
[1] ;
29304 if (!args
) SWIG_fail
;
29305 swig_obj
[0] = args
;
29306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29307 if (!SWIG_IsOK(res1
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29310 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (bool)(arg1
)->IsPreview();
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29326 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29327 PyObject
*resultobj
= 0;
29328 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 char * kwnames
[] = {
29337 (char *) "self",(char *) "p", NULL
29340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29342 if (!SWIG_IsOK(res1
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29345 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29346 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29347 if (!SWIG_IsOK(ecode2
)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29350 arg2
= static_cast< bool >(val2
);
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 (arg1
)->SetIsPreview(arg2
);
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= SWIG_Py_Void();
29364 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
= 0;
29366 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 PyObject
* obj2
= 0 ;
29379 char * kwnames
[] = {
29380 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29385 if (!SWIG_IsOK(res1
)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29388 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29390 if (!SWIG_IsOK(ecode2
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29393 arg2
= static_cast< int >(val2
);
29394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29395 if (!SWIG_IsOK(ecode3
)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29398 arg3
= static_cast< int >(val3
);
29400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29414 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29415 PyObject
*resultobj
= 0;
29416 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29419 PyObject
*swig_obj
[1] ;
29421 if (!args
) SWIG_fail
;
29422 swig_obj
[0] = args
;
29423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29424 if (!SWIG_IsOK(res1
)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29427 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 (arg1
)->OnEndDocument();
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= SWIG_Py_Void();
29441 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29442 PyObject
*resultobj
= 0;
29443 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29446 PyObject
*swig_obj
[1] ;
29448 if (!args
) SWIG_fail
;
29449 swig_obj
[0] = args
;
29450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29451 if (!SWIG_IsOK(res1
)) {
29452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29454 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 (arg1
)->OnBeginPrinting();
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 resultobj
= SWIG_Py_Void();
29468 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29469 PyObject
*resultobj
= 0;
29470 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29473 PyObject
*swig_obj
[1] ;
29475 if (!args
) SWIG_fail
;
29476 swig_obj
[0] = args
;
29477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29478 if (!SWIG_IsOK(res1
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29481 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 (arg1
)->OnEndPrinting();
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= SWIG_Py_Void();
29495 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29496 PyObject
*resultobj
= 0;
29497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29500 PyObject
*swig_obj
[1] ;
29502 if (!args
) SWIG_fail
;
29503 swig_obj
[0] = args
;
29504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29505 if (!SWIG_IsOK(res1
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29508 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 (arg1
)->OnPreparePrinting();
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29515 resultobj
= SWIG_Py_Void();
29522 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
= 0;
29524 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 char * kwnames
[] = {
29534 (char *) "self",(char *) "page", NULL
29537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29539 if (!SWIG_IsOK(res1
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29542 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29544 if (!SWIG_IsOK(ecode2
)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29547 arg2
= static_cast< int >(val2
);
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (bool)(arg1
)->HasPage(arg2
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29563 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29564 PyObject
*resultobj
= 0;
29565 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29566 int *arg2
= (int *) 0 ;
29567 int *arg3
= (int *) 0 ;
29568 int *arg4
= (int *) 0 ;
29569 int *arg5
= (int *) 0 ;
29573 int res2
= SWIG_TMPOBJ
;
29575 int res3
= SWIG_TMPOBJ
;
29577 int res4
= SWIG_TMPOBJ
;
29579 int res5
= SWIG_TMPOBJ
;
29580 PyObject
*swig_obj
[1] ;
29586 if (!args
) SWIG_fail
;
29587 swig_obj
[0] = args
;
29588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29589 if (!SWIG_IsOK(res1
)) {
29590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29592 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= SWIG_Py_Void();
29600 if (SWIG_IsTmpObj(res2
)) {
29601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29603 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29606 if (SWIG_IsTmpObj(res3
)) {
29607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29609 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29612 if (SWIG_IsTmpObj(res4
)) {
29613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29615 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29618 if (SWIG_IsTmpObj(res5
)) {
29619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29621 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29630 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29634 return SWIG_Py_Void();
29637 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29638 return SWIG_Python_InitShadowInstance(args
);
29641 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
= 0;
29643 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29644 wxWindow
*arg2
= (wxWindow
*) 0 ;
29645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29649 long arg5
= (long) 0 ;
29650 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29651 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29652 wxPreviewCanvas
*result
= 0 ;
29661 bool temp6
= false ;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 PyObject
* obj2
= 0 ;
29665 PyObject
* obj3
= 0 ;
29666 PyObject
* obj4
= 0 ;
29667 PyObject
* obj5
= 0 ;
29668 char * kwnames
[] = {
29669 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29677 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29679 if (!SWIG_IsOK(res2
)) {
29680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29682 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29686 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29692 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29696 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29697 if (!SWIG_IsOK(ecode5
)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29700 arg5
= static_cast< long >(val5
);
29704 arg6
= wxString_in_helper(obj5
);
29705 if (arg6
== NULL
) SWIG_fail
;
29710 if (!wxPyCheckForApp()) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29731 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29734 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29735 return SWIG_Py_Void();
29738 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29739 return SWIG_Python_InitShadowInstance(args
);
29742 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
= 0;
29744 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29745 wxFrame
*arg2
= (wxFrame
*) 0 ;
29746 wxString
*arg3
= 0 ;
29747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29751 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29752 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29754 wxPreviewFrame
*result
= 0 ;
29758 bool temp3
= false ;
29763 bool temp7
= false ;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 PyObject
* obj2
= 0 ;
29767 PyObject
* obj3
= 0 ;
29768 PyObject
* obj4
= 0 ;
29769 PyObject
* obj5
= 0 ;
29770 PyObject
* obj6
= 0 ;
29771 char * kwnames
[] = {
29772 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29776 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29777 if (!SWIG_IsOK(res1
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29781 if (!SWIG_IsOK(res2
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29784 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29786 arg3
= wxString_in_helper(obj2
);
29787 if (arg3
== NULL
) SWIG_fail
;
29793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29803 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29804 if (!SWIG_IsOK(ecode6
)) {
29805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29807 arg6
= static_cast< long >(val6
);
29811 arg7
= wxString_in_helper(obj6
);
29812 if (arg7
== NULL
) SWIG_fail
;
29817 if (!wxPyCheckForApp()) SWIG_fail
;
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29846 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29847 PyObject
*resultobj
= 0;
29848 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29851 PyObject
*swig_obj
[1] ;
29853 if (!args
) SWIG_fail
;
29854 swig_obj
[0] = args
;
29855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29856 if (!SWIG_IsOK(res1
)) {
29857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29859 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29862 (arg1
)->Initialize();
29863 wxPyEndAllowThreads(__tstate
);
29864 if (PyErr_Occurred()) SWIG_fail
;
29866 resultobj
= SWIG_Py_Void();
29873 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29874 PyObject
*resultobj
= 0;
29875 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29878 PyObject
*swig_obj
[1] ;
29880 if (!args
) SWIG_fail
;
29881 swig_obj
[0] = args
;
29882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29883 if (!SWIG_IsOK(res1
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29886 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 (arg1
)->CreateControlBar();
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= SWIG_Py_Void();
29900 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29901 PyObject
*resultobj
= 0;
29902 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29905 PyObject
*swig_obj
[1] ;
29907 if (!args
) SWIG_fail
;
29908 swig_obj
[0] = args
;
29909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29910 if (!SWIG_IsOK(res1
)) {
29911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29913 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 (arg1
)->CreateCanvas();
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= SWIG_Py_Void();
29927 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29928 PyObject
*resultobj
= 0;
29929 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29930 wxPreviewControlBar
*result
= 0 ;
29933 PyObject
*swig_obj
[1] ;
29935 if (!args
) SWIG_fail
;
29936 swig_obj
[0] = args
;
29937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29941 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29955 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29958 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29959 return SWIG_Py_Void();
29962 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29963 return SWIG_Python_InitShadowInstance(args
);
29966 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
= 0;
29968 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29970 wxWindow
*arg3
= (wxWindow
*) 0 ;
29971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29975 long arg6
= (long) wxTAB_TRAVERSAL
;
29976 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29977 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29978 wxPreviewControlBar
*result
= 0 ;
29989 bool temp7
= false ;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 PyObject
* obj2
= 0 ;
29993 PyObject
* obj3
= 0 ;
29994 PyObject
* obj4
= 0 ;
29995 PyObject
* obj5
= 0 ;
29996 PyObject
* obj6
= 0 ;
29997 char * kwnames
[] = {
29998 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30003 if (!SWIG_IsOK(res1
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30006 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30007 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30008 if (!SWIG_IsOK(ecode2
)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30011 arg2
= static_cast< long >(val2
);
30012 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30013 if (!SWIG_IsOK(res3
)) {
30014 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30016 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30030 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30031 if (!SWIG_IsOK(ecode6
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30034 arg6
= static_cast< long >(val6
);
30038 arg7
= wxString_in_helper(obj6
);
30039 if (arg7
== NULL
) SWIG_fail
;
30044 if (!wxPyCheckForApp()) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30065 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30066 PyObject
*resultobj
= 0;
30067 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30071 PyObject
*swig_obj
[1] ;
30073 if (!args
) SWIG_fail
;
30074 swig_obj
[0] = args
;
30075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30076 if (!SWIG_IsOK(res1
)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30079 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= (int)(arg1
)->GetZoomControl();
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= SWIG_From_int(static_cast< int >(result
));
30093 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
= 0;
30095 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30101 PyObject
* obj0
= 0 ;
30102 PyObject
* obj1
= 0 ;
30103 char * kwnames
[] = {
30104 (char *) "self",(char *) "zoom", NULL
30107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30109 if (!SWIG_IsOK(res1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30112 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30114 if (!SWIG_IsOK(ecode2
)) {
30115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30117 arg2
= static_cast< int >(val2
);
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 (arg1
)->SetZoomControl(arg2
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= SWIG_Py_Void();
30131 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30132 PyObject
*resultobj
= 0;
30133 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30134 wxPrintPreview
*result
= 0 ;
30137 PyObject
*swig_obj
[1] ;
30139 if (!args
) SWIG_fail
;
30140 swig_obj
[0] = args
;
30141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30142 if (!SWIG_IsOK(res1
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30145 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
30149 wxPyEndAllowThreads(__tstate
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30159 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30160 PyObject
*resultobj
= 0;
30161 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30164 PyObject
*swig_obj
[1] ;
30166 if (!args
) SWIG_fail
;
30167 swig_obj
[0] = args
;
30168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30169 if (!SWIG_IsOK(res1
)) {
30170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30172 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 wxPyEndAllowThreads(__tstate
);
30177 if (PyErr_Occurred()) SWIG_fail
;
30179 resultobj
= SWIG_Py_Void();
30186 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30187 PyObject
*resultobj
= 0;
30188 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30191 PyObject
*swig_obj
[1] ;
30193 if (!args
) SWIG_fail
;
30194 swig_obj
[0] = args
;
30195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30196 if (!SWIG_IsOK(res1
)) {
30197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30199 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 (arg1
)->OnPrevious();
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= SWIG_Py_Void();
30213 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30214 PyObject
*resultobj
= 0;
30215 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30218 PyObject
*swig_obj
[1] ;
30220 if (!args
) SWIG_fail
;
30221 swig_obj
[0] = args
;
30222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30223 if (!SWIG_IsOK(res1
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30226 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 resultobj
= SWIG_Py_Void();
30240 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30241 PyObject
*resultobj
= 0;
30242 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30245 PyObject
*swig_obj
[1] ;
30247 if (!args
) SWIG_fail
;
30248 swig_obj
[0] = args
;
30249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30250 if (!SWIG_IsOK(res1
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30253 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 resultobj
= SWIG_Py_Void();
30267 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30268 PyObject
*resultobj
= 0;
30269 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30272 PyObject
*swig_obj
[1] ;
30274 if (!args
) SWIG_fail
;
30275 swig_obj
[0] = args
;
30276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30277 if (!SWIG_IsOK(res1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30280 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_Py_Void();
30294 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30298 return SWIG_Py_Void();
30301 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30302 return SWIG_Python_InitShadowInstance(args
);
30305 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30306 PyObject
*resultobj
= 0;
30307 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30308 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30309 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30310 wxPrintPreview
*result
= 0 ;
30316 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30317 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30321 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30322 if (!SWIG_IsOK(res2
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30326 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30327 if (!SWIG_IsOK(res3
)) {
30328 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30330 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30333 if (!wxPyCheckForApp()) SWIG_fail
;
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30346 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30347 PyObject
*resultobj
= 0;
30348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30349 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30350 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30351 wxPrintPreview
*result
= 0 ;
30357 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30358 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30359 if (!SWIG_IsOK(res1
)) {
30360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30362 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30363 if (!SWIG_IsOK(res2
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30366 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30367 if (!SWIG_IsOK(res3
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30370 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30372 if (!wxPyCheckForApp()) SWIG_fail
;
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30375 wxPyEndAllowThreads(__tstate
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30385 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30389 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30391 if ((argc
>= 2) && (argc
<= 3)) {
30396 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30397 _v
= SWIG_CheckState(res
);
30399 if (!_v
) goto check_1
;
30401 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30406 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30410 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30415 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30416 PyObject
*resultobj
= 0;
30417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30420 PyObject
*swig_obj
[1] ;
30422 if (!args
) SWIG_fail
;
30423 swig_obj
[0] = args
;
30424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30425 if (!SWIG_IsOK(res1
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30428 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= SWIG_Py_Void();
30443 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
= 0;
30445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 PyObject
* obj1
= 0 ;
30454 char * kwnames
[] = {
30455 (char *) "self",(char *) "pageNum", NULL
30458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30460 if (!SWIG_IsOK(res1
)) {
30461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30463 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30465 if (!SWIG_IsOK(ecode2
)) {
30466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30468 arg2
= static_cast< int >(val2
);
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30484 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30485 PyObject
*resultobj
= 0;
30486 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30490 PyObject
*swig_obj
[1] ;
30492 if (!args
) SWIG_fail
;
30493 swig_obj
[0] = args
;
30494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30495 if (!SWIG_IsOK(res1
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30498 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 result
= (int)(arg1
)->GetCurrentPage();
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= SWIG_From_int(static_cast< int >(result
));
30512 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
= 0;
30514 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30515 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30519 PyObject
* obj0
= 0 ;
30520 PyObject
* obj1
= 0 ;
30521 char * kwnames
[] = {
30522 (char *) "self",(char *) "printout", NULL
30525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30527 if (!SWIG_IsOK(res1
)) {
30528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30530 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30531 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30532 if (!SWIG_IsOK(res2
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 (arg1
)->SetPrintout(arg2
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= SWIG_Py_Void();
30548 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30549 PyObject
*resultobj
= 0;
30550 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30551 wxPyPrintout
*result
= 0 ;
30554 PyObject
*swig_obj
[1] ;
30556 if (!args
) SWIG_fail
;
30557 swig_obj
[0] = args
;
30558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30562 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= wxPyMake_wxObject(result
, 0);
30578 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30579 PyObject
*resultobj
= 0;
30580 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30581 wxPyPrintout
*result
= 0 ;
30584 PyObject
*swig_obj
[1] ;
30586 if (!args
) SWIG_fail
;
30587 swig_obj
[0] = args
;
30588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30589 if (!SWIG_IsOK(res1
)) {
30590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30592 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= wxPyMake_wxObject(result
, 0);
30608 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
= 0;
30610 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30611 wxFrame
*arg2
= (wxFrame
*) 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 char * kwnames
[] = {
30619 (char *) "self",(char *) "frame", NULL
30622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30627 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30629 if (!SWIG_IsOK(res2
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30632 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 (arg1
)->SetFrame(arg2
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= SWIG_Py_Void();
30646 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
= 0;
30648 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30649 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char * kwnames
[] = {
30657 (char *) "self",(char *) "canvas", NULL
30660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30662 if (!SWIG_IsOK(res1
)) {
30663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30665 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30667 if (!SWIG_IsOK(res2
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30670 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->SetCanvas(arg2
);
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_Py_Void();
30684 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30685 PyObject
*resultobj
= 0;
30686 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30687 wxFrame
*result
= 0 ;
30690 PyObject
*swig_obj
[1] ;
30692 if (!args
) SWIG_fail
;
30693 swig_obj
[0] = args
;
30694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30698 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= (wxFrame
*)(arg1
)->GetFrame();
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= wxPyMake_wxObject(result
, 0);
30714 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30715 PyObject
*resultobj
= 0;
30716 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30717 wxPreviewCanvas
*result
= 0 ;
30720 PyObject
*swig_obj
[1] ;
30722 if (!args
) SWIG_fail
;
30723 swig_obj
[0] = args
;
30724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30725 if (!SWIG_IsOK(res1
)) {
30726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30728 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30742 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30743 PyObject
*resultobj
= 0;
30744 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30745 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30754 PyObject
* obj0
= 0 ;
30755 PyObject
* obj1
= 0 ;
30756 PyObject
* obj2
= 0 ;
30757 char * kwnames
[] = {
30758 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30763 if (!SWIG_IsOK(res1
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30766 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30768 if (!SWIG_IsOK(res2
)) {
30769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30771 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30772 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30773 if (!SWIG_IsOK(res3
)) {
30774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30779 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30795 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30796 PyObject
*resultobj
= 0;
30797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30798 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30807 PyObject
* obj0
= 0 ;
30808 PyObject
* obj1
= 0 ;
30809 PyObject
* obj2
= 0 ;
30810 char * kwnames
[] = {
30811 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30816 if (!SWIG_IsOK(res1
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30819 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30821 if (!SWIG_IsOK(res2
)) {
30822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30824 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30825 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30826 if (!SWIG_IsOK(res3
)) {
30827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30832 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30848 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30849 PyObject
*resultobj
= 0;
30850 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30857 PyObject
* obj0
= 0 ;
30858 PyObject
* obj1
= 0 ;
30859 char * kwnames
[] = {
30860 (char *) "self",(char *) "pageNum", NULL
30863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30865 if (!SWIG_IsOK(res1
)) {
30866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30868 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30870 if (!SWIG_IsOK(ecode2
)) {
30871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30873 arg2
= static_cast< int >(val2
);
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 result
= (bool)(arg1
)->RenderPage(arg2
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30889 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
= 0;
30891 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30892 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30897 PyObject
* obj0
= 0 ;
30898 PyObject
* obj1
= 0 ;
30899 char * kwnames
[] = {
30900 (char *) "self",(char *) "canvas", NULL
30903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30905 if (!SWIG_IsOK(res1
)) {
30906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30908 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30910 if (!SWIG_IsOK(res2
)) {
30911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30913 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 (arg1
)->AdjustScrollbars(arg2
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_Py_Void();
30927 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30928 PyObject
*resultobj
= 0;
30929 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30930 wxPrintDialogData
*result
= 0 ;
30933 PyObject
*swig_obj
[1] ;
30935 if (!args
) SWIG_fail
;
30936 swig_obj
[0] = args
;
30937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30938 if (!SWIG_IsOK(res1
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30941 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30946 result
= (wxPrintDialogData
*) &_result_ref
;
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30958 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
= 0;
30960 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 char * kwnames
[] = {
30969 (char *) "self",(char *) "percent", NULL
30972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30974 if (!SWIG_IsOK(res1
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30977 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30979 if (!SWIG_IsOK(ecode2
)) {
30980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30982 arg2
= static_cast< int >(val2
);
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 (arg1
)->SetZoom(arg2
);
30986 wxPyEndAllowThreads(__tstate
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30989 resultobj
= SWIG_Py_Void();
30996 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30997 PyObject
*resultobj
= 0;
30998 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31002 PyObject
*swig_obj
[1] ;
31004 if (!args
) SWIG_fail
;
31005 swig_obj
[0] = args
;
31006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31010 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (int)(arg1
)->GetZoom();
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= SWIG_From_int(static_cast< int >(result
));
31024 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31025 PyObject
*resultobj
= 0;
31026 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31030 PyObject
*swig_obj
[1] ;
31032 if (!args
) SWIG_fail
;
31033 swig_obj
[0] = args
;
31034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31035 if (!SWIG_IsOK(res1
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31038 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (int)(arg1
)->GetMaxPage();
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= SWIG_From_int(static_cast< int >(result
));
31052 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31053 PyObject
*resultobj
= 0;
31054 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31058 PyObject
*swig_obj
[1] ;
31060 if (!args
) SWIG_fail
;
31061 swig_obj
[0] = args
;
31062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31063 if (!SWIG_IsOK(res1
)) {
31064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31066 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= (int)(arg1
)->GetMinPage();
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= SWIG_From_int(static_cast< int >(result
));
31080 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31081 PyObject
*resultobj
= 0;
31082 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31086 PyObject
*swig_obj
[1] ;
31088 if (!args
) SWIG_fail
;
31089 swig_obj
[0] = args
;
31090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31091 if (!SWIG_IsOK(res1
)) {
31092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31094 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (bool)(arg1
)->IsOk();
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31110 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
= 0;
31112 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "ok", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31129 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31130 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31131 if (!SWIG_IsOK(ecode2
)) {
31132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31134 arg2
= static_cast< bool >(val2
);
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 (arg1
)->SetOk(arg2
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= SWIG_Py_Void();
31148 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
= 0;
31150 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31157 PyObject
* obj0
= 0 ;
31158 PyObject
* obj1
= 0 ;
31159 char * kwnames
[] = {
31160 (char *) "self",(char *) "interactive", NULL
31163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31165 if (!SWIG_IsOK(res1
)) {
31166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31168 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31170 if (!SWIG_IsOK(ecode2
)) {
31171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31173 arg2
= static_cast< bool >(val2
);
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31176 result
= (bool)(arg1
)->Print(arg2
);
31177 wxPyEndAllowThreads(__tstate
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31189 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31190 PyObject
*resultobj
= 0;
31191 wxPrintPreview
*arg1
= (wxPrintPreview
*) 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_wxPrintPreview
, 0 | 0 );
31199 if (!SWIG_IsOK(res1
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31202 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 (arg1
)->DetermineScaling();
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= SWIG_Py_Void();
31216 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31219 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
31220 return SWIG_Py_Void();
31223 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31224 return SWIG_Python_InitShadowInstance(args
);
31227 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31228 PyObject
*resultobj
= 0;
31229 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31230 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31231 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
31232 wxPyPrintPreview
*result
= 0 ;
31238 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
31239 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31240 if (!SWIG_IsOK(res1
)) {
31241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31243 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31244 if (!SWIG_IsOK(res2
)) {
31245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31248 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
31249 if (!SWIG_IsOK(res3
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31252 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
31255 if (!wxPyCheckForApp()) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31268 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31269 PyObject
*resultobj
= 0;
31270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31271 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31272 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31273 wxPyPrintPreview
*result
= 0 ;
31279 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31280 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31281 if (!SWIG_IsOK(res1
)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31284 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31285 if (!SWIG_IsOK(res2
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31288 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31289 if (!SWIG_IsOK(res3
)) {
31290 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31292 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31294 if (!wxPyCheckForApp()) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31307 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31311 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31313 if ((argc
>= 2) && (argc
<= 3)) {
31318 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31319 _v
= SWIG_CheckState(res
);
31321 if (!_v
) goto check_1
;
31323 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31328 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31332 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31337 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
= 0;
31339 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31340 PyObject
*arg2
= (PyObject
*) 0 ;
31341 PyObject
*arg3
= (PyObject
*) 0 ;
31344 PyObject
* obj0
= 0 ;
31345 PyObject
* obj1
= 0 ;
31346 PyObject
* obj2
= 0 ;
31347 char * kwnames
[] = {
31348 (char *) "self",(char *) "self",(char *) "_class", NULL
31351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31353 if (!SWIG_IsOK(res1
)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31356 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= SWIG_Py_Void();
31372 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31375 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31376 return SWIG_Py_Void();
31379 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31380 return SWIG_Python_InitShadowInstance(args
);
31383 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
= 0;
31385 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31386 wxFrame
*arg2
= (wxFrame
*) 0 ;
31387 wxString
*arg3
= 0 ;
31388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31392 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31393 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31395 wxPyPreviewFrame
*result
= 0 ;
31399 bool temp3
= false ;
31404 bool temp7
= false ;
31405 PyObject
* obj0
= 0 ;
31406 PyObject
* obj1
= 0 ;
31407 PyObject
* obj2
= 0 ;
31408 PyObject
* obj3
= 0 ;
31409 PyObject
* obj4
= 0 ;
31410 PyObject
* obj5
= 0 ;
31411 PyObject
* obj6
= 0 ;
31412 char * kwnames
[] = {
31413 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31417 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31418 if (!SWIG_IsOK(res1
)) {
31419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31422 if (!SWIG_IsOK(res2
)) {
31423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31425 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31427 arg3
= wxString_in_helper(obj2
);
31428 if (arg3
== NULL
) SWIG_fail
;
31434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31445 if (!SWIG_IsOK(ecode6
)) {
31446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31448 arg6
= static_cast< long >(val6
);
31452 arg7
= wxString_in_helper(obj6
);
31453 if (arg7
== NULL
) SWIG_fail
;
31458 if (!wxPyCheckForApp()) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31487 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
= 0;
31489 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31490 PyObject
*arg2
= (PyObject
*) 0 ;
31491 PyObject
*arg3
= (PyObject
*) 0 ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 PyObject
* obj2
= 0 ;
31497 char * kwnames
[] = {
31498 (char *) "self",(char *) "self",(char *) "_class", NULL
31501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31503 if (!SWIG_IsOK(res1
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31506 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31512 wxPyEndAllowThreads(__tstate
);
31513 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= SWIG_Py_Void();
31522 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= 0;
31524 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31525 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31530 PyObject
* obj0
= 0 ;
31531 PyObject
* obj1
= 0 ;
31532 char * kwnames
[] = {
31533 (char *) "self",(char *) "canvas", NULL
31536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31538 if (!SWIG_IsOK(res1
)) {
31539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31541 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31543 if (!SWIG_IsOK(res2
)) {
31544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31546 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 (arg1
)->SetPreviewCanvas(arg2
);
31550 wxPyEndAllowThreads(__tstate
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31553 resultobj
= SWIG_Py_Void();
31560 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31561 PyObject
*resultobj
= 0;
31562 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31563 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31568 PyObject
* obj0
= 0 ;
31569 PyObject
* obj1
= 0 ;
31570 char * kwnames
[] = {
31571 (char *) "self",(char *) "bar", NULL
31574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31576 if (!SWIG_IsOK(res1
)) {
31577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31579 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31581 if (!SWIG_IsOK(res2
)) {
31582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31584 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 (arg1
)->SetControlBar(arg2
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_Py_Void();
31598 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31599 PyObject
*resultobj
= 0;
31600 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31603 PyObject
*swig_obj
[1] ;
31605 if (!args
) SWIG_fail
;
31606 swig_obj
[0] = args
;
31607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31608 if (!SWIG_IsOK(res1
)) {
31609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31611 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->Initialize();
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= SWIG_Py_Void();
31625 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31626 PyObject
*resultobj
= 0;
31627 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31630 PyObject
*swig_obj
[1] ;
31632 if (!args
) SWIG_fail
;
31633 swig_obj
[0] = args
;
31634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31635 if (!SWIG_IsOK(res1
)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31638 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 (arg1
)->CreateCanvas();
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= SWIG_Py_Void();
31652 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31653 PyObject
*resultobj
= 0;
31654 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31657 PyObject
*swig_obj
[1] ;
31659 if (!args
) SWIG_fail
;
31660 swig_obj
[0] = args
;
31661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31662 if (!SWIG_IsOK(res1
)) {
31663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31665 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 (arg1
)->CreateControlBar();
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_Py_Void();
31679 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31683 return SWIG_Py_Void();
31686 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31687 return SWIG_Python_InitShadowInstance(args
);
31690 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
= 0;
31692 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31694 wxWindow
*arg3
= (wxWindow
*) 0 ;
31695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31699 long arg6
= (long) 0 ;
31700 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31702 wxPyPreviewControlBar
*result
= 0 ;
31712 bool temp7
= false ;
31713 PyObject
* obj0
= 0 ;
31714 PyObject
* obj1
= 0 ;
31715 PyObject
* obj2
= 0 ;
31716 PyObject
* obj3
= 0 ;
31717 PyObject
* obj4
= 0 ;
31718 PyObject
* obj5
= 0 ;
31719 PyObject
* obj6
= 0 ;
31720 char * kwnames
[] = {
31721 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31725 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31726 if (!SWIG_IsOK(res1
)) {
31727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31730 if (!SWIG_IsOK(ecode2
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31733 arg2
= static_cast< long >(val2
);
31734 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31735 if (!SWIG_IsOK(res3
)) {
31736 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31738 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31752 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31753 if (!SWIG_IsOK(ecode6
)) {
31754 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31756 arg6
= static_cast< long >(val6
);
31760 arg7
= wxString_in_helper(obj6
);
31761 if (arg7
== NULL
) SWIG_fail
;
31766 if (!wxPyCheckForApp()) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31787 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
= 0;
31789 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31790 PyObject
*arg2
= (PyObject
*) 0 ;
31791 PyObject
*arg3
= (PyObject
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 PyObject
* obj1
= 0 ;
31796 PyObject
* obj2
= 0 ;
31797 char * kwnames
[] = {
31798 (char *) "self",(char *) "self",(char *) "_class", NULL
31801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31803 if (!SWIG_IsOK(res1
)) {
31804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31806 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31812 wxPyEndAllowThreads(__tstate
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 resultobj
= SWIG_Py_Void();
31822 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31823 PyObject
*resultobj
= 0;
31824 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31825 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31829 PyObject
* obj0
= 0 ;
31830 PyObject
* obj1
= 0 ;
31831 char * kwnames
[] = {
31832 (char *) "self",(char *) "preview", NULL
31835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31837 if (!SWIG_IsOK(res1
)) {
31838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31840 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31841 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31842 if (!SWIG_IsOK(res2
)) {
31843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31847 (arg1
)->SetPrintPreview(arg2
);
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= SWIG_Py_Void();
31858 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31859 PyObject
*resultobj
= 0;
31860 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31863 PyObject
*swig_obj
[1] ;
31865 if (!args
) SWIG_fail
;
31866 swig_obj
[0] = args
;
31867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31871 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 (arg1
)->CreateButtons();
31875 wxPyEndAllowThreads(__tstate
);
31876 if (PyErr_Occurred()) SWIG_fail
;
31878 resultobj
= SWIG_Py_Void();
31885 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
= 0;
31887 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31893 PyObject
* obj0
= 0 ;
31894 PyObject
* obj1
= 0 ;
31895 char * kwnames
[] = {
31896 (char *) "self",(char *) "zoom", NULL
31899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31901 if (!SWIG_IsOK(res1
)) {
31902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31904 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31906 if (!SWIG_IsOK(ecode2
)) {
31907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31909 arg2
= static_cast< int >(val2
);
31911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31912 (arg1
)->SetZoomControl(arg2
);
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= SWIG_Py_Void();
31923 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31926 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31927 return SWIG_Py_Void();
31930 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31931 return SWIG_Python_InitShadowInstance(args
);
31934 static PyMethodDef SwigMethods
[] = {
31935 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31937 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31939 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31941 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31942 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31944 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31951 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31953 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31955 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31956 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31957 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31958 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31959 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31962 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31964 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31968 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31970 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31972 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31973 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31974 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31975 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31979 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31981 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31985 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31987 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31989 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31992 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31993 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31995 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31997 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31999 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
32002 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
32009 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
32011 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
32016 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
32017 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
32019 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
32022 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
32024 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
32026 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
32031 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
32032 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
32035 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
32036 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
32038 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
32040 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
32041 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
32044 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
32045 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
32046 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
32048 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
32049 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
32050 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
32051 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
32052 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
32054 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
32057 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
32066 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
32067 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
32069 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
32070 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
32072 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
32074 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
32075 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
32077 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
32083 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
32084 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
32087 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
32088 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
32090 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
32092 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
32094 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
32096 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
32098 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
32100 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
32101 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
32104 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
32105 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
32106 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
32107 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
32109 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
32111 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
32119 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
32121 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
32124 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
32125 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
32128 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
32129 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
32131 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
32132 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
32133 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
32136 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
32138 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
32140 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
32142 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
32145 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
32147 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
32149 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
32151 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
32153 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
32154 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
32155 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
32158 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
32160 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
32161 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
32162 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
32164 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
32166 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
32167 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
32171 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
32172 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
32173 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
32174 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
32178 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
32179 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
32181 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
32184 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
32185 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
32187 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
32190 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
32191 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
32192 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
32195 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
32196 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
32197 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
32199 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
32208 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
32209 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
32210 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
32211 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
32213 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
32214 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32217 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32218 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
32220 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
32223 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
32224 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
32225 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
32228 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
32229 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
32231 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
32232 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
32234 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
32239 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
32240 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
32246 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
32247 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
32249 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
32253 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32255 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32256 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
32258 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32260 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32261 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
32262 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
32263 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
32265 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
32266 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
32267 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
32269 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
32271 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32272 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32274 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32275 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32276 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32277 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32278 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32279 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32284 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32285 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32287 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32288 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32289 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32292 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32293 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32296 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32297 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32305 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32306 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32307 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32308 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32309 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32310 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32311 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32312 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32313 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32314 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32317 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32318 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32319 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32321 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32322 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32324 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32325 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32327 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32329 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32330 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32332 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32333 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32335 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32336 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32337 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32338 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32339 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32341 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32342 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32343 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32344 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32345 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32346 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32353 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32354 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32356 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32357 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32358 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32361 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32362 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32366 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32367 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32368 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32370 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32371 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32372 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32373 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32377 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32378 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32380 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32381 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32382 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32383 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32387 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32388 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32390 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32392 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32394 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32395 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32397 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32399 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32400 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32401 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32402 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32403 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32404 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
32405 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32408 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32409 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32411 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32413 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32414 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32415 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32417 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32419 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32420 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32422 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32429 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32430 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32431 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32432 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32433 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32434 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32435 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32436 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32437 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32439 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32446 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32447 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32448 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32449 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32450 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32451 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32452 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32453 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32454 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32456 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32463 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32464 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32465 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32466 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32467 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32468 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32469 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32470 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32471 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32472 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32473 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32474 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32475 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32476 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32477 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32478 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32479 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32480 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32481 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32482 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32483 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32484 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32485 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32486 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32487 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32501 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32503 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32505 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32506 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32507 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32508 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32514 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32515 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32516 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32517 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32518 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32519 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32520 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32521 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32522 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32523 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32524 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32525 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32526 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32527 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32528 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32538 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32539 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32540 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32541 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32543 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32544 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32545 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32546 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32547 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32548 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32549 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32550 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32551 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32552 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32553 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32554 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32555 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32556 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32557 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32558 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32559 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32573 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32574 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32575 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32576 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32577 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32578 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32580 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32581 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32583 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32584 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32585 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32586 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32587 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32588 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32589 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32591 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32597 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32598 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32599 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32600 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32601 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32603 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32605 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32606 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32611 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32612 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32614 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32615 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32616 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32621 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32623 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32625 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32627 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32629 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32630 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32633 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32634 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32635 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32636 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32638 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32639 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32640 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32642 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32643 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32645 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32646 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32647 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32648 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32649 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32650 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32652 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32654 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32655 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32656 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32657 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32658 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32659 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32660 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32661 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32662 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32663 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32665 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32667 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32668 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32671 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32672 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32677 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32679 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32680 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32681 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32682 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32685 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32686 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32687 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32688 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32690 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32691 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32696 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32697 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32698 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32699 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32700 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32704 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32706 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32707 { NULL
, NULL
, 0, NULL
}
32711 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32713 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32714 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32716 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32717 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32719 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32720 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32722 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32723 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32725 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32726 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32728 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32729 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32731 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32732 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32734 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32735 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32737 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32738 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32740 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32743 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32746 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32747 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32749 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32750 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32752 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32753 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32755 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32756 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32758 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32759 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32761 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32762 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32764 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32765 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32767 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32768 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32770 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32771 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32773 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32774 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32776 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32777 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32779 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32780 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32782 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32783 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32785 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32786 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32788 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32789 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32791 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32794 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32797 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32798 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32800 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32801 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32803 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32804 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32806 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32807 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32809 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32810 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32812 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32813 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32815 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32816 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32818 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32821 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32822 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32824 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32825 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32827 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32828 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32830 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32831 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32833 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32834 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32836 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32837 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32839 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32840 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32842 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32843 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32845 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32846 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32848 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32849 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32851 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32852 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32854 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32855 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32857 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32858 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32860 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32863 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32866 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32869 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32870 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32872 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32873 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32875 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32876 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32878 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32879 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32881 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32884 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32887 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32890 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32893 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32896 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32899 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32902 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32905 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32908 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32909 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32911 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32912 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32914 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32917 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32920 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32923 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32924 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32926 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32929 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32930 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32932 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32933 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32935 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32938 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32939 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32941 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32944 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32945 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32947 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32948 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32950 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32953 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32954 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32956 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32959 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32962 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32965 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32966 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32968 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32971 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32972 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32974 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32977 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32980 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32983 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32986 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32989 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32992 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32993 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32995 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32998 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33001 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
33002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33004 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
33005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33007 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
33008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33010 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
33011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33013 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
33014 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33016 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
33017 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33019 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
33020 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33022 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
33023 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
33025 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
33026 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
33028 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
33029 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
33031 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
33032 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33034 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
33035 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
33037 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
33038 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
33040 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
33041 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
33043 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33046 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33049 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33052 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33055 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33058 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33061 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33064 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33067 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33070 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33073 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) ((wxSizer
*) x
));
33076 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33079 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33082 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33085 static void *_p_wxEventTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) ((wxEvent
*) x
));
33088 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) ((wxFontData
*) x
));
33091 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33094 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33097 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33100 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33103 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33106 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
33109 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33112 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33115 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33118 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33121 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33124 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33127 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33130 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33133 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33136 static void *_p_wxControlTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33139 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33142 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33145 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33148 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33151 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33154 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33157 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) ((wxColourData
*) x
));
33160 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33163 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33166 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33169 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33172 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33175 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33178 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33181 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33184 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33187 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33190 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33193 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33196 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33199 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33202 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33205 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33208 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33211 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33214 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33217 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33220 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33223 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33226 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33229 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33232 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33235 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33238 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33241 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33244 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33247 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33250 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33253 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33256 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33259 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33262 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33265 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33268 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33271 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33274 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33277 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33280 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33283 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33286 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33289 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33292 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33295 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33298 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33301 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33304 static void *_p_wxImageTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) ((wxImage
*) x
));
33307 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33310 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33313 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33316 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33319 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33322 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33325 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33328 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33329 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33331 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33332 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33334 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33335 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33337 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33338 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33340 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33343 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33346 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33349 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33352 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33355 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33358 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33361 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33364 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33367 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33370 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33373 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33376 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33379 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33382 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33383 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33385 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33386 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33388 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33391 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33394 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33397 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33400 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33403 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33404 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33406 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33407 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33409 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33410 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33412 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33415 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33416 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33418 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33419 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33421 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33422 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33424 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33425 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33427 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33428 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33430 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33433 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33434 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33436 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33439 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33442 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33443 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33445 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33446 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33448 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33451 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33454 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33455 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33457 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33458 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33460 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33463 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33464 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33466 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33467 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33469 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33470 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33472 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33473 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33475 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33476 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33478 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33479 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33481 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33482 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33484 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33485 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33487 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33488 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33490 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33491 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33493 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33494 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33496 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33497 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33499 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33500 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33502 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33503 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33505 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33506 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33508 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33509 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33511 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33512 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33514 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33515 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33517 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33518 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33520 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33521 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33523 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33524 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33526 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33527 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33529 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33530 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33532 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33533 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33535 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33536 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33538 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33539 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33541 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33542 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33544 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33545 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33547 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33550 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33553 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33554 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33556 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33557 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33559 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33562 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33563 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33565 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33566 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33568 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33569 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33571 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33572 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33574 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33575 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33577 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33578 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33580 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33581 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33583 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33586 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33587 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33589 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33590 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33592 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33593 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33595 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33596 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33598 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33599 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33601 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33602 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33604 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33605 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33607 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33608 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33610 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33611 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33613 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33614 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33616 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33617 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33619 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33620 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33622 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33623 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33625 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33626 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33628 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33629 return (void *)((wxWindow
*) ((wxControl
*) x
));
33631 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33632 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33634 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33635 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33637 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33638 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33640 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33641 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33643 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33644 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33646 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33647 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33649 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33650 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33652 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33653 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33655 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33656 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33658 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33659 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33661 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33662 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33664 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33665 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33667 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33668 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33670 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33671 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33673 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33674 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33676 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33677 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33679 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33680 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33682 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33683 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33685 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33686 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33688 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33689 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33691 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33692 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33694 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33695 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33697 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33698 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33700 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33701 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33703 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33704 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33706 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33707 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33709 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33710 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33712 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33713 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33715 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33716 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33718 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33719 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33721 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33722 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33724 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33725 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33727 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33728 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33730 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33731 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33733 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33734 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33736 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33737 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33739 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33740 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33742 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33743 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33745 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33746 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33748 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33749 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33751 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33752 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33754 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33755 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33757 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33758 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33760 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33761 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33763 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33764 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33766 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33767 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33769 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33770 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33772 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33773 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33775 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33776 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33778 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33779 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33781 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33782 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33784 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33785 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33787 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33788 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33790 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33791 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33793 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33794 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33796 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33797 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33799 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33801 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};
33802 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33815 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33816 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33817 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33818 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33819 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33820 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33821 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33822 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33823 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33829 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33830 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33831 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33832 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33833 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33834 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33835 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33836 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33837 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33838 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33839 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33840 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33841 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33842 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33843 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33844 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33845 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33846 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33847 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33848 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33849 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33850 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33851 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33852 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33853 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33854 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33855 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33856 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33857 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33858 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33859 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33860 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33861 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33862 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33863 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33864 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33865 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33866 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33867 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33868 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33869 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33870 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33871 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33872 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33873 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33874 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33875 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33876 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33877 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33878 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33879 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33880 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33881 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33882 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33883 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33884 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33885 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33886 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33887 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33888 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33889 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33890 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33891 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33892 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33893 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33894 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33895 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33896 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33897 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33898 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33899 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33900 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33901 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33902 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33903 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33904 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33905 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33906 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33907 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33908 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33909 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33910 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33911 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33912 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33913 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33914 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33915 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33916 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33917 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33918 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33919 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33920 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33921 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33922 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33923 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33924 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33925 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33926 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33927 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33928 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33929 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33930 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33931 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33932 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33933 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33934 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33935 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33936 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33937 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33938 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33939 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33940 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33941 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33942 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33943 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33944 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33945 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33946 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33947 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33948 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33949 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33950 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33951 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33952 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33953 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33954 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33955 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33956 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33957 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33958 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33959 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33960 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33961 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33962 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33963 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33964 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33965 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33966 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33967 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33969 static swig_type_info
*swig_type_initial
[] = {
33972 &_swigt__p_form_ops_t
,
33974 &_swigt__p_unsigned_char
,
33975 &_swigt__p_unsigned_int
,
33976 &_swigt__p_unsigned_long
,
33977 &_swigt__p_wxANIHandler
,
33978 &_swigt__p_wxAcceleratorTable
,
33979 &_swigt__p_wxActivateEvent
,
33980 &_swigt__p_wxArrayInt
,
33981 &_swigt__p_wxArrayString
,
33982 &_swigt__p_wxBMPHandler
,
33983 &_swigt__p_wxBitmap
,
33984 &_swigt__p_wxBoxSizer
,
33985 &_swigt__p_wxCURHandler
,
33986 &_swigt__p_wxCalculateLayoutEvent
,
33987 &_swigt__p_wxChildFocusEvent
,
33988 &_swigt__p_wxClipboardTextEvent
,
33989 &_swigt__p_wxCloseEvent
,
33990 &_swigt__p_wxColour
,
33991 &_swigt__p_wxColourData
,
33992 &_swigt__p_wxColourDialog
,
33993 &_swigt__p_wxCommandEvent
,
33994 &_swigt__p_wxContextMenuEvent
,
33995 &_swigt__p_wxControl
,
33996 &_swigt__p_wxControlWithItems
,
33998 &_swigt__p_wxDateEvent
,
33999 &_swigt__p_wxDialog
,
34000 &_swigt__p_wxDirDialog
,
34001 &_swigt__p_wxDisplayChangedEvent
,
34002 &_swigt__p_wxDropFilesEvent
,
34003 &_swigt__p_wxDuplexMode
,
34004 &_swigt__p_wxEraseEvent
,
34005 &_swigt__p_wxEvent
,
34006 &_swigt__p_wxEvtHandler
,
34007 &_swigt__p_wxFSFile
,
34008 &_swigt__p_wxFileDialog
,
34009 &_swigt__p_wxFileSystem
,
34010 &_swigt__p_wxFindDialogEvent
,
34011 &_swigt__p_wxFindReplaceData
,
34012 &_swigt__p_wxFindReplaceDialog
,
34013 &_swigt__p_wxFlexGridSizer
,
34014 &_swigt__p_wxFocusEvent
,
34016 &_swigt__p_wxFontData
,
34017 &_swigt__p_wxFontDialog
,
34018 &_swigt__p_wxFrame
,
34019 &_swigt__p_wxGBSizerItem
,
34020 &_swigt__p_wxGIFHandler
,
34021 &_swigt__p_wxGridBagSizer
,
34022 &_swigt__p_wxGridSizer
,
34023 &_swigt__p_wxHtmlLinkInfo
,
34024 &_swigt__p_wxICOHandler
,
34026 &_swigt__p_wxIconBundle
,
34027 &_swigt__p_wxIconizeEvent
,
34028 &_swigt__p_wxIdleEvent
,
34029 &_swigt__p_wxImage
,
34030 &_swigt__p_wxImageHandler
,
34031 &_swigt__p_wxIndividualLayoutConstraint
,
34032 &_swigt__p_wxInitDialogEvent
,
34033 &_swigt__p_wxItemContainer
,
34034 &_swigt__p_wxJPEGHandler
,
34035 &_swigt__p_wxKeyEvent
,
34036 &_swigt__p_wxLayoutAlgorithm
,
34037 &_swigt__p_wxLayoutConstraints
,
34038 &_swigt__p_wxMDIChildFrame
,
34039 &_swigt__p_wxMDIClientWindow
,
34040 &_swigt__p_wxMDIParentFrame
,
34041 &_swigt__p_wxMaximizeEvent
,
34043 &_swigt__p_wxMenuBar
,
34044 &_swigt__p_wxMenuEvent
,
34045 &_swigt__p_wxMenuItem
,
34046 &_swigt__p_wxMessageDialog
,
34047 &_swigt__p_wxMiniFrame
,
34048 &_swigt__p_wxMouseCaptureChangedEvent
,
34049 &_swigt__p_wxMouseCaptureLostEvent
,
34050 &_swigt__p_wxMouseEvent
,
34051 &_swigt__p_wxMoveEvent
,
34052 &_swigt__p_wxMultiChoiceDialog
,
34053 &_swigt__p_wxNavigationKeyEvent
,
34054 &_swigt__p_wxNcPaintEvent
,
34055 &_swigt__p_wxNotifyEvent
,
34056 &_swigt__p_wxNumberEntryDialog
,
34057 &_swigt__p_wxObject
,
34058 &_swigt__p_wxPCXHandler
,
34059 &_swigt__p_wxPNGHandler
,
34060 &_swigt__p_wxPNMHandler
,
34061 &_swigt__p_wxPageSetupDialog
,
34062 &_swigt__p_wxPageSetupDialogData
,
34063 &_swigt__p_wxPaintEvent
,
34064 &_swigt__p_wxPaletteChangedEvent
,
34065 &_swigt__p_wxPanel
,
34066 &_swigt__p_wxPaperSize
,
34067 &_swigt__p_wxPasswordEntryDialog
,
34068 &_swigt__p_wxPoint
,
34069 &_swigt__p_wxPopupWindow
,
34070 &_swigt__p_wxPreviewCanvas
,
34071 &_swigt__p_wxPreviewControlBar
,
34072 &_swigt__p_wxPreviewFrame
,
34073 &_swigt__p_wxPrintData
,
34074 &_swigt__p_wxPrintDialog
,
34075 &_swigt__p_wxPrintDialogData
,
34076 &_swigt__p_wxPrintPreview
,
34077 &_swigt__p_wxPrinter
,
34078 &_swigt__p_wxProgressDialog
,
34079 &_swigt__p_wxPyApp
,
34080 &_swigt__p_wxPyCommandEvent
,
34081 &_swigt__p_wxPyEvent
,
34082 &_swigt__p_wxPyHtmlListBox
,
34083 &_swigt__p_wxPyImageHandler
,
34084 &_swigt__p_wxPyPanel
,
34085 &_swigt__p_wxPyPopupTransientWindow
,
34086 &_swigt__p_wxPyPreviewControlBar
,
34087 &_swigt__p_wxPyPreviewFrame
,
34088 &_swigt__p_wxPyPrintPreview
,
34089 &_swigt__p_wxPyPrintout
,
34090 &_swigt__p_wxPyScrolledWindow
,
34091 &_swigt__p_wxPySizer
,
34092 &_swigt__p_wxPyTaskBarIcon
,
34093 &_swigt__p_wxPyVListBox
,
34094 &_swigt__p_wxPyVScrolledWindow
,
34095 &_swigt__p_wxPyValidator
,
34096 &_swigt__p_wxPyWindow
,
34097 &_swigt__p_wxQueryLayoutInfoEvent
,
34098 &_swigt__p_wxQueryNewPaletteEvent
,
34100 &_swigt__p_wxRegion
,
34101 &_swigt__p_wxSashEvent
,
34102 &_swigt__p_wxSashLayoutWindow
,
34103 &_swigt__p_wxSashWindow
,
34104 &_swigt__p_wxScrollEvent
,
34105 &_swigt__p_wxScrollWinEvent
,
34106 &_swigt__p_wxScrolledWindow
,
34107 &_swigt__p_wxSetCursorEvent
,
34108 &_swigt__p_wxShowEvent
,
34109 &_swigt__p_wxSimpleHtmlListBox
,
34110 &_swigt__p_wxSingleChoiceDialog
,
34112 &_swigt__p_wxSizeEvent
,
34113 &_swigt__p_wxSizer
,
34114 &_swigt__p_wxSizerItem
,
34115 &_swigt__p_wxSplashScreen
,
34116 &_swigt__p_wxSplashScreenWindow
,
34117 &_swigt__p_wxSplitterEvent
,
34118 &_swigt__p_wxSplitterWindow
,
34119 &_swigt__p_wxStaticBoxSizer
,
34120 &_swigt__p_wxStatusBar
,
34121 &_swigt__p_wxStdDialogButtonSizer
,
34122 &_swigt__p_wxString
,
34123 &_swigt__p_wxSysColourChangedEvent
,
34124 &_swigt__p_wxTGAHandler
,
34125 &_swigt__p_wxTIFFHandler
,
34126 &_swigt__p_wxTaskBarIcon
,
34127 &_swigt__p_wxTaskBarIconEvent
,
34128 &_swigt__p_wxTextEntryDialog
,
34129 &_swigt__p_wxTipWindow
,
34130 &_swigt__p_wxToolBar
,
34131 &_swigt__p_wxTopLevelWindow
,
34132 &_swigt__p_wxUpdateUIEvent
,
34133 &_swigt__p_wxValidator
,
34134 &_swigt__p_wxVisualAttributes
,
34135 &_swigt__p_wxWindow
,
34136 &_swigt__p_wxWindowCreateEvent
,
34137 &_swigt__p_wxWindowDestroyEvent
,
34138 &_swigt__p_wxXPMHandler
,
34141 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
34142 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34143 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34148 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34162 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34164 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}};
34165 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34166 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}};
34167 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34172 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34174 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34176 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
34177 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34178 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34180 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34181 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34182 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34183 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34184 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34185 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34186 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34187 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34188 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34189 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34190 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34191 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34192 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34193 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34194 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34195 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}};
34196 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34197 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34198 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34199 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34200 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_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34201 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
34202 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34203 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34204 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
34205 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34206 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34207 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
34208 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
34209 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}};
34210 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
34211 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34212 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
34213 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
34214 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
34215 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
34216 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34217 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
34218 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34219 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34220 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
34221 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
34222 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34223 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}};
34224 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34225 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34226 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34227 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34228 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34229 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34230 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34231 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34232 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34233 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34234 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34235 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34236 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34237 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34238 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34239 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34240 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34241 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34242 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34243 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34244 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34245 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34246 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34247 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34248 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34249 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34250 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34251 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
34252 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34253 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34254 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
34255 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
34256 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34257 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34258 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34259 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34260 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34261 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}};
34262 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
34263 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}};
34264 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}};
34265 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34266 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34267 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34268 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}};
34269 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34270 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34271 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox
, 0, 0},{0, 0, 0, 0}};
34272 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34273 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}};
34274 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34275 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34276 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34277 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34278 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34279 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34280 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
34281 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}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
34282 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34283 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34284 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34285 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34286 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34287 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34288 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}};
34289 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34290 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}};
34291 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34292 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34293 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34294 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34295 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34296 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34297 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34298 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34299 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34300 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34301 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34302 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34303 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}};
34304 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34305 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34306 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}};
34307 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
34308 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34309 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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34311 static swig_cast_info
*swig_cast_initial
[] = {
34314 _swigc__p_form_ops_t
,
34316 _swigc__p_unsigned_char
,
34317 _swigc__p_unsigned_int
,
34318 _swigc__p_unsigned_long
,
34319 _swigc__p_wxANIHandler
,
34320 _swigc__p_wxAcceleratorTable
,
34321 _swigc__p_wxActivateEvent
,
34322 _swigc__p_wxArrayInt
,
34323 _swigc__p_wxArrayString
,
34324 _swigc__p_wxBMPHandler
,
34325 _swigc__p_wxBitmap
,
34326 _swigc__p_wxBoxSizer
,
34327 _swigc__p_wxCURHandler
,
34328 _swigc__p_wxCalculateLayoutEvent
,
34329 _swigc__p_wxChildFocusEvent
,
34330 _swigc__p_wxClipboardTextEvent
,
34331 _swigc__p_wxCloseEvent
,
34332 _swigc__p_wxColour
,
34333 _swigc__p_wxColourData
,
34334 _swigc__p_wxColourDialog
,
34335 _swigc__p_wxCommandEvent
,
34336 _swigc__p_wxContextMenuEvent
,
34337 _swigc__p_wxControl
,
34338 _swigc__p_wxControlWithItems
,
34340 _swigc__p_wxDateEvent
,
34341 _swigc__p_wxDialog
,
34342 _swigc__p_wxDirDialog
,
34343 _swigc__p_wxDisplayChangedEvent
,
34344 _swigc__p_wxDropFilesEvent
,
34345 _swigc__p_wxDuplexMode
,
34346 _swigc__p_wxEraseEvent
,
34348 _swigc__p_wxEvtHandler
,
34349 _swigc__p_wxFSFile
,
34350 _swigc__p_wxFileDialog
,
34351 _swigc__p_wxFileSystem
,
34352 _swigc__p_wxFindDialogEvent
,
34353 _swigc__p_wxFindReplaceData
,
34354 _swigc__p_wxFindReplaceDialog
,
34355 _swigc__p_wxFlexGridSizer
,
34356 _swigc__p_wxFocusEvent
,
34358 _swigc__p_wxFontData
,
34359 _swigc__p_wxFontDialog
,
34361 _swigc__p_wxGBSizerItem
,
34362 _swigc__p_wxGIFHandler
,
34363 _swigc__p_wxGridBagSizer
,
34364 _swigc__p_wxGridSizer
,
34365 _swigc__p_wxHtmlLinkInfo
,
34366 _swigc__p_wxICOHandler
,
34368 _swigc__p_wxIconBundle
,
34369 _swigc__p_wxIconizeEvent
,
34370 _swigc__p_wxIdleEvent
,
34372 _swigc__p_wxImageHandler
,
34373 _swigc__p_wxIndividualLayoutConstraint
,
34374 _swigc__p_wxInitDialogEvent
,
34375 _swigc__p_wxItemContainer
,
34376 _swigc__p_wxJPEGHandler
,
34377 _swigc__p_wxKeyEvent
,
34378 _swigc__p_wxLayoutAlgorithm
,
34379 _swigc__p_wxLayoutConstraints
,
34380 _swigc__p_wxMDIChildFrame
,
34381 _swigc__p_wxMDIClientWindow
,
34382 _swigc__p_wxMDIParentFrame
,
34383 _swigc__p_wxMaximizeEvent
,
34385 _swigc__p_wxMenuBar
,
34386 _swigc__p_wxMenuEvent
,
34387 _swigc__p_wxMenuItem
,
34388 _swigc__p_wxMessageDialog
,
34389 _swigc__p_wxMiniFrame
,
34390 _swigc__p_wxMouseCaptureChangedEvent
,
34391 _swigc__p_wxMouseCaptureLostEvent
,
34392 _swigc__p_wxMouseEvent
,
34393 _swigc__p_wxMoveEvent
,
34394 _swigc__p_wxMultiChoiceDialog
,
34395 _swigc__p_wxNavigationKeyEvent
,
34396 _swigc__p_wxNcPaintEvent
,
34397 _swigc__p_wxNotifyEvent
,
34398 _swigc__p_wxNumberEntryDialog
,
34399 _swigc__p_wxObject
,
34400 _swigc__p_wxPCXHandler
,
34401 _swigc__p_wxPNGHandler
,
34402 _swigc__p_wxPNMHandler
,
34403 _swigc__p_wxPageSetupDialog
,
34404 _swigc__p_wxPageSetupDialogData
,
34405 _swigc__p_wxPaintEvent
,
34406 _swigc__p_wxPaletteChangedEvent
,
34408 _swigc__p_wxPaperSize
,
34409 _swigc__p_wxPasswordEntryDialog
,
34411 _swigc__p_wxPopupWindow
,
34412 _swigc__p_wxPreviewCanvas
,
34413 _swigc__p_wxPreviewControlBar
,
34414 _swigc__p_wxPreviewFrame
,
34415 _swigc__p_wxPrintData
,
34416 _swigc__p_wxPrintDialog
,
34417 _swigc__p_wxPrintDialogData
,
34418 _swigc__p_wxPrintPreview
,
34419 _swigc__p_wxPrinter
,
34420 _swigc__p_wxProgressDialog
,
34422 _swigc__p_wxPyCommandEvent
,
34423 _swigc__p_wxPyEvent
,
34424 _swigc__p_wxPyHtmlListBox
,
34425 _swigc__p_wxPyImageHandler
,
34426 _swigc__p_wxPyPanel
,
34427 _swigc__p_wxPyPopupTransientWindow
,
34428 _swigc__p_wxPyPreviewControlBar
,
34429 _swigc__p_wxPyPreviewFrame
,
34430 _swigc__p_wxPyPrintPreview
,
34431 _swigc__p_wxPyPrintout
,
34432 _swigc__p_wxPyScrolledWindow
,
34433 _swigc__p_wxPySizer
,
34434 _swigc__p_wxPyTaskBarIcon
,
34435 _swigc__p_wxPyVListBox
,
34436 _swigc__p_wxPyVScrolledWindow
,
34437 _swigc__p_wxPyValidator
,
34438 _swigc__p_wxPyWindow
,
34439 _swigc__p_wxQueryLayoutInfoEvent
,
34440 _swigc__p_wxQueryNewPaletteEvent
,
34442 _swigc__p_wxRegion
,
34443 _swigc__p_wxSashEvent
,
34444 _swigc__p_wxSashLayoutWindow
,
34445 _swigc__p_wxSashWindow
,
34446 _swigc__p_wxScrollEvent
,
34447 _swigc__p_wxScrollWinEvent
,
34448 _swigc__p_wxScrolledWindow
,
34449 _swigc__p_wxSetCursorEvent
,
34450 _swigc__p_wxShowEvent
,
34451 _swigc__p_wxSimpleHtmlListBox
,
34452 _swigc__p_wxSingleChoiceDialog
,
34454 _swigc__p_wxSizeEvent
,
34456 _swigc__p_wxSizerItem
,
34457 _swigc__p_wxSplashScreen
,
34458 _swigc__p_wxSplashScreenWindow
,
34459 _swigc__p_wxSplitterEvent
,
34460 _swigc__p_wxSplitterWindow
,
34461 _swigc__p_wxStaticBoxSizer
,
34462 _swigc__p_wxStatusBar
,
34463 _swigc__p_wxStdDialogButtonSizer
,
34464 _swigc__p_wxString
,
34465 _swigc__p_wxSysColourChangedEvent
,
34466 _swigc__p_wxTGAHandler
,
34467 _swigc__p_wxTIFFHandler
,
34468 _swigc__p_wxTaskBarIcon
,
34469 _swigc__p_wxTaskBarIconEvent
,
34470 _swigc__p_wxTextEntryDialog
,
34471 _swigc__p_wxTipWindow
,
34472 _swigc__p_wxToolBar
,
34473 _swigc__p_wxTopLevelWindow
,
34474 _swigc__p_wxUpdateUIEvent
,
34475 _swigc__p_wxValidator
,
34476 _swigc__p_wxVisualAttributes
,
34477 _swigc__p_wxWindow
,
34478 _swigc__p_wxWindowCreateEvent
,
34479 _swigc__p_wxWindowDestroyEvent
,
34480 _swigc__p_wxXPMHandler
,
34484 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34486 static swig_const_info swig_const_table
[] = {
34487 {0, 0, 0, 0.0, 0, 0}};
34492 /* -----------------------------------------------------------------------------
34493 * Type initialization:
34494 * This problem is tough by the requirement that no dynamic
34495 * memory is used. Also, since swig_type_info structures store pointers to
34496 * swig_cast_info structures and swig_cast_info structures store pointers back
34497 * to swig_type_info structures, we need some lookup code at initialization.
34498 * The idea is that swig generates all the structures that are needed.
34499 * The runtime then collects these partially filled structures.
34500 * The SWIG_InitializeModule function takes these initial arrays out of
34501 * swig_module, and does all the lookup, filling in the swig_module.types
34502 * array with the correct data and linking the correct swig_cast_info
34503 * structures together.
34505 * The generated swig_type_info structures are assigned staticly to an initial
34506 * array. We just loop though that array, and handle each type individually.
34507 * First we lookup if this type has been already loaded, and if so, use the
34508 * loaded structure instead of the generated one. Then we have to fill in the
34509 * cast linked list. The cast data is initially stored in something like a
34510 * two-dimensional array. Each row corresponds to a type (there are the same
34511 * number of rows as there are in the swig_type_initial array). Each entry in
34512 * a column is one of the swig_cast_info structures for that type.
34513 * The cast_initial array is actually an array of arrays, because each row has
34514 * a variable number of columns. So to actually build the cast linked list,
34515 * we find the array of casts associated with the type, and loop through it
34516 * adding the casts to the list. The one last trick we need to do is making
34517 * sure the type pointer in the swig_cast_info struct is correct.
34519 * First off, we lookup the cast->type name to see if it is already loaded.
34520 * There are three cases to handle:
34521 * 1) If the cast->type has already been loaded AND the type we are adding
34522 * casting info to has not been loaded (it is in this module), THEN we
34523 * replace the cast->type pointer with the type pointer that has already
34525 * 2) If BOTH types (the one we are adding casting info to, and the
34526 * cast->type) are loaded, THEN the cast info has already been loaded by
34527 * the previous module so we just ignore it.
34528 * 3) Finally, if cast->type has not already been loaded, then we add that
34529 * swig_cast_info to the linked list (because the cast->type) pointer will
34531 * ----------------------------------------------------------------------------- */
34541 #define SWIGRUNTIME_DEBUG
34545 SWIG_InitializeModule(void *clientdata
) {
34547 swig_module_info
*module_head
;
34548 static int init_run
= 0;
34550 clientdata
= clientdata
;
34552 if (init_run
) return;
34555 /* Initialize the swig_module */
34556 swig_module
.type_initial
= swig_type_initial
;
34557 swig_module
.cast_initial
= swig_cast_initial
;
34559 /* Try and load any already created modules */
34560 module_head
= SWIG_GetModule(clientdata
);
34562 swig_module
.next
= module_head
->next
;
34563 module_head
->next
= &swig_module
;
34565 /* This is the first module loaded */
34566 swig_module
.next
= &swig_module
;
34567 SWIG_SetModule(clientdata
, &swig_module
);
34570 /* Now work on filling in swig_module.types */
34571 #ifdef SWIGRUNTIME_DEBUG
34572 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34574 for (i
= 0; i
< swig_module
.size
; ++i
) {
34575 swig_type_info
*type
= 0;
34576 swig_type_info
*ret
;
34577 swig_cast_info
*cast
;
34579 #ifdef SWIGRUNTIME_DEBUG
34580 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34583 /* if there is another module already loaded */
34584 if (swig_module
.next
!= &swig_module
) {
34585 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34588 /* Overwrite clientdata field */
34589 #ifdef SWIGRUNTIME_DEBUG
34590 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34592 if (swig_module
.type_initial
[i
]->clientdata
) {
34593 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34594 #ifdef SWIGRUNTIME_DEBUG
34595 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34599 type
= swig_module
.type_initial
[i
];
34602 /* Insert casting types */
34603 cast
= swig_module
.cast_initial
[i
];
34604 while (cast
->type
) {
34605 /* Don't need to add information already in the list */
34607 #ifdef SWIGRUNTIME_DEBUG
34608 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34610 if (swig_module
.next
!= &swig_module
) {
34611 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34612 #ifdef SWIGRUNTIME_DEBUG
34613 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34617 if (type
== swig_module
.type_initial
[i
]) {
34618 #ifdef SWIGRUNTIME_DEBUG
34619 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34624 /* Check for casting already in the list */
34625 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34626 #ifdef SWIGRUNTIME_DEBUG
34627 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34629 if (!ocast
) ret
= 0;
34634 #ifdef SWIGRUNTIME_DEBUG
34635 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34638 type
->cast
->prev
= cast
;
34639 cast
->next
= type
->cast
;
34645 /* Set entry in modules->types array equal to the type */
34646 swig_module
.types
[i
] = type
;
34648 swig_module
.types
[i
] = 0;
34650 #ifdef SWIGRUNTIME_DEBUG
34651 printf("**** SWIG_InitializeModule: Cast List ******\n");
34652 for (i
= 0; i
< swig_module
.size
; ++i
) {
34654 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34655 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34656 while (cast
->type
) {
34657 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34661 printf("---- Total casts: %d\n",j
);
34663 printf("**** SWIG_InitializeModule: Cast List ******\n");
34667 /* This function will propagate the clientdata field of type to
34668 * any new swig_type_info structures that have been added into the list
34669 * of equivalent types. It is like calling
34670 * SWIG_TypeClientData(type, clientdata) a second time.
34673 SWIG_PropagateClientData(void) {
34675 swig_cast_info
*equiv
;
34676 static int init_run
= 0;
34678 if (init_run
) return;
34681 for (i
= 0; i
< swig_module
.size
; i
++) {
34682 if (swig_module
.types
[i
]->clientdata
) {
34683 equiv
= swig_module
.types
[i
]->cast
;
34685 if (!equiv
->converter
) {
34686 if (equiv
->type
&& !equiv
->type
->clientdata
)
34687 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34689 equiv
= equiv
->next
;
34709 /* Python-specific SWIG API */
34710 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34711 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34712 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34714 /* -----------------------------------------------------------------------------
34715 * global variable support code.
34716 * ----------------------------------------------------------------------------- */
34718 typedef struct swig_globalvar
{
34719 char *name
; /* Name of global variable */
34720 PyObject
*(*get_attr
)(void); /* Return the current value */
34721 int (*set_attr
)(PyObject
*); /* Set the value */
34722 struct swig_globalvar
*next
;
34725 typedef struct swig_varlinkobject
{
34727 swig_globalvar
*vars
;
34728 } swig_varlinkobject
;
34730 SWIGINTERN PyObject
*
34731 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34732 return PyString_FromString("<Swig global variables>");
34735 SWIGINTERN PyObject
*
34736 swig_varlink_str(swig_varlinkobject
*v
) {
34737 PyObject
*str
= PyString_FromString("(");
34738 swig_globalvar
*var
;
34739 for (var
= v
->vars
; var
; var
=var
->next
) {
34740 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34741 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34743 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34748 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34749 PyObject
*str
= swig_varlink_str(v
);
34750 fprintf(fp
,"Swig global variables ");
34751 fprintf(fp
,"%s\n", PyString_AsString(str
));
34757 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34758 swig_globalvar
*var
= v
->vars
;
34760 swig_globalvar
*n
= var
->next
;
34767 SWIGINTERN PyObject
*
34768 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34769 PyObject
*res
= NULL
;
34770 swig_globalvar
*var
= v
->vars
;
34772 if (strcmp(var
->name
,n
) == 0) {
34773 res
= (*var
->get_attr
)();
34778 if (res
== NULL
&& !PyErr_Occurred()) {
34779 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34785 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34787 swig_globalvar
*var
= v
->vars
;
34789 if (strcmp(var
->name
,n
) == 0) {
34790 res
= (*var
->set_attr
)(p
);
34795 if (res
== 1 && !PyErr_Occurred()) {
34796 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34801 SWIGINTERN PyTypeObject
*
34802 swig_varlink_type(void) {
34803 static char varlink__doc__
[] = "Swig var link object";
34804 static PyTypeObject varlink_type
;
34805 static int type_init
= 0;
34807 const PyTypeObject tmp
34809 PyObject_HEAD_INIT(NULL
)
34810 0, /* Number of items in variable part (ob_size) */
34811 (char *)"swigvarlink", /* Type name (tp_name) */
34812 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34813 0, /* Itemsize (tp_itemsize) */
34814 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34815 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34816 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34817 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34818 0, /* tp_compare */
34819 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34820 0, /* tp_as_number */
34821 0, /* tp_as_sequence */
34822 0, /* tp_as_mapping */
34825 (reprfunc
)swig_varlink_str
, /* tp_str */
34826 0, /* tp_getattro */
34827 0, /* tp_setattro */
34828 0, /* tp_as_buffer */
34830 varlink__doc__
, /* tp_doc */
34831 0, /* tp_traverse */
34833 0, /* tp_richcompare */
34834 0, /* tp_weaklistoffset */
34835 #if PY_VERSION_HEX >= 0x02020000
34836 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34838 #if PY_VERSION_HEX >= 0x02030000
34841 #ifdef COUNT_ALLOCS
34842 0,0,0,0 /* tp_alloc -> tp_next */
34845 varlink_type
= tmp
;
34846 varlink_type
.ob_type
= &PyType_Type
;
34849 return &varlink_type
;
34852 /* Create a variable linking object for use later */
34853 SWIGINTERN PyObject
*
34854 SWIG_Python_newvarlink(void) {
34855 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34859 return ((PyObject
*) result
);
34863 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34864 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34865 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34867 size_t size
= strlen(name
)+1;
34868 gv
->name
= (char *)malloc(size
);
34870 strncpy(gv
->name
,name
,size
);
34871 gv
->get_attr
= get_attr
;
34872 gv
->set_attr
= set_attr
;
34873 gv
->next
= v
->vars
;
34879 SWIGINTERN PyObject
*
34881 static PyObject
*_SWIG_globals
= 0;
34882 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34883 return _SWIG_globals
;
34886 /* -----------------------------------------------------------------------------
34887 * constants/methods manipulation
34888 * ----------------------------------------------------------------------------- */
34890 /* Install Constants */
34892 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34895 for (i
= 0; constants
[i
].type
; ++i
) {
34896 switch(constants
[i
].type
) {
34897 case SWIG_PY_POINTER
:
34898 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34900 case SWIG_PY_BINARY
:
34901 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34908 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34914 /* -----------------------------------------------------------------------------*/
34915 /* Fix SwigMethods to carry the callback ptrs when needed */
34916 /* -----------------------------------------------------------------------------*/
34919 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34920 swig_const_info
*const_table
,
34921 swig_type_info
**types
,
34922 swig_type_info
**types_initial
) {
34924 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34925 const char *c
= methods
[i
].ml_doc
;
34926 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34928 swig_const_info
*ci
= 0;
34929 const char *name
= c
+ 10;
34930 for (j
= 0; const_table
[j
].type
; ++j
) {
34931 if (strncmp(const_table
[j
].name
, name
,
34932 strlen(const_table
[j
].name
)) == 0) {
34933 ci
= &(const_table
[j
]);
34938 size_t shift
= (ci
->ptype
) - types
;
34939 swig_type_info
*ty
= types_initial
[shift
];
34940 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34941 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34942 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34945 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34947 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34949 strncpy(buff
, "swig_ptr: ", 10);
34951 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34952 methods
[i
].ml_doc
= ndoc
;
34964 /* -----------------------------------------------------------------------------*
34965 * Partial Init method
34966 * -----------------------------------------------------------------------------*/
34971 SWIGEXPORT
void SWIG_init(void) {
34974 /* Fix SwigMethods to carry the callback ptrs when needed */
34975 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34977 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34978 d
= PyModule_GetDict(m
);
34980 SWIG_InitializeModule(0);
34981 SWIG_InstallConstants(d
,swig_const_table
);
34984 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34985 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34986 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34987 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34988 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34989 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34990 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34991 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34992 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34993 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34994 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34995 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34996 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34997 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34998 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34999 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
35000 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
35001 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
35002 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
35003 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
35004 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
35005 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
35006 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
35007 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
35008 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
35009 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
35010 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
35011 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
35012 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
35013 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
35014 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
35015 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
35016 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
35017 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
35018 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
35019 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
35020 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
35021 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
35022 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
35023 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
35024 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
35025 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
35026 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
35027 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
35028 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
35029 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
35030 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
35031 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
35032 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
35033 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
35034 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
35035 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
35036 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
35037 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
35038 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
35039 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
35040 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
35041 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
35042 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
35043 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
35044 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
35045 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
35046 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
35047 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
35048 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
35049 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
35050 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
35051 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
35052 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
35053 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
35054 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
35055 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
35056 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
35057 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
35058 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
35059 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
35060 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
35061 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
35062 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
35063 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
35064 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
35065 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
35066 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
35067 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
35068 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
35069 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
35070 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
35071 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
35072 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
35073 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
35074 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
35075 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
35076 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
35077 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
35078 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
35079 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
35080 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
35081 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
35082 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
35083 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
35084 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
35085 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
35086 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
35087 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
35088 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
35089 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
35090 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
35091 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
35092 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
35094 // Map renamed classes back to their common name for OOR
35095 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
35096 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
35097 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
35099 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
35100 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
35101 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
35102 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
35103 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
35104 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
35105 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
35106 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
35107 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
35108 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
35109 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
35110 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
35111 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
35112 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
35113 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
35114 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
35115 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
35116 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
35117 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
35118 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
35119 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
35120 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
35121 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
35122 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
35123 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
35124 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
35125 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
35126 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
35127 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
35128 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
35129 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
35130 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
35131 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
35132 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
35133 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
35134 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
35135 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
35136 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
35137 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
35138 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
35139 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
35140 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
35141 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
35142 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
35143 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
35144 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
35145 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
35146 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
35147 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
35148 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
35149 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
35150 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
35151 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
35152 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
35153 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
35154 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35155 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35156 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35157 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35158 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35159 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35160 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35161 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35162 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35163 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
35164 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
35165 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
35166 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
35167 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
35168 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
35169 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
35170 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
35171 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
35172 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
35173 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
35174 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
35175 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
35176 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
35177 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
35178 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
35179 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
35180 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
35181 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
35182 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
35183 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
35184 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
35185 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
35186 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
35187 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
35188 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
35189 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
35190 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
35191 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
35192 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
35193 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
35194 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
35195 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
35196 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
35197 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
35198 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
35199 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
35200 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
35201 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
35202 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
35203 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
35205 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");