1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2829 self
->GetFieldRect(i
, r
);
2832 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2836 #include <wx/popupwin.h>
2839 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2844 : wxPopupTransientWindow(parent
, style
) {}
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2847 DEC_PYCALLBACK__(OnDismiss
);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2858 #include <wx/tipwin.h>
2860 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2861 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2864 #include <wx/tipwin.h>
2867 #include <wx/vscroll.h>
2870 class wxPyVScrolledWindow
: public wxVScrolledWindow
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876 wxPyVScrolledWindow(wxWindow
*parent
,
2877 wxWindowID id
= wxID_ANY
,
2878 const wxPoint
& pos
= wxDefaultPosition
,
2879 const wxSize
& size
= wxDefaultSize
,
2881 const wxString
& name
= wxPyPanelNameStr
)
2882 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2885 // Overridable virtuals
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2914 // this function should return the best guess for the total height it may
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2919 // Also expose some other interesting protected methods
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2949 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2952 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2953 return SWIG_TypeError
;
2956 *val
= (unsigned long)v
;
2961 SWIGINTERNINLINE
int
2962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 SWIGINTERNINLINE PyObject
*
2972 SWIG_From_unsigned_SS_long (unsigned long value
)
2974 return (value
> LONG_MAX
) ?
2975 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_size_t (size_t value
)
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2986 #include <wx/vlbox.h>
2988 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2990 class wxPyVListBox
: public wxVListBox
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2994 wxPyVListBox() : wxVListBox() {}
2996 wxPyVListBox(wxWindow
*parent
,
2997 wxWindowID id
= wxID_ANY
,
2998 const wxPoint
& pos
= wxDefaultPosition
,
2999 const wxSize
& size
= wxDefaultSize
,
3001 const wxString
& name
= wxPyVListBoxNameStr
)
3002 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3005 // Overridable virtuals
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3013 // the derived class must implement this method to return the height of the
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3028 // this method is used to draw the items background and, maybe, a border
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3050 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3051 unsigned long cookie
= 0;
3052 int selected
= self
->GetFirstSelected(cookie
);
3053 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3054 PyObject
* tup
= PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3056 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3057 wxPyEndBlockThreads(blocked
);
3060 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3061 int selected
= self
->GetNextSelected(cookie
);
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 PyObject
* tup
= PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3065 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3066 wxPyEndBlockThreads(blocked
);
3070 #include <wx/htmllbox.h>
3073 class wxPyHtmlListBox
: public wxHtmlListBox
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3079 wxPyHtmlListBox(wxWindow
*parent
,
3080 wxWindowID id
= wxID_ANY
,
3081 const wxPoint
& pos
= wxDefaultPosition
,
3082 const wxSize
& size
= wxDefaultSize
,
3084 const wxString
& name
= wxPyVListBoxNameStr
)
3085 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3088 // Overridable virtuals
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n
,
3119 const wxHtmlLinkInfo
& link
);
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3134 const wxHtmlLinkInfo
& link
) {
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3138 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3142 wxPyEndBlockThreads(blocked
);
3144 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3154 class wxTaskBarIcon
: public wxEvtHandler
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3161 class wxTaskBarIconEvent
: public wxEvent
3164 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent
* Clone() const { return NULL
; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu
*menu
) { return false; }
3175 wxEVT_TASKBAR_MOVE
= 0,
3176 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3177 wxEVT_TASKBAR_LEFT_UP
= 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3179 wxEVT_TASKBAR_RIGHT_UP
= 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon
: public wxTaskBarIcon
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 wxMenu
* CreatePopupMenu() {
3195 wxMenu
*rval
= NULL
;
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3201 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3203 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3208 wxPyEndBlockThreads(blocked
);
3210 rval
= wxTaskBarIcon::CreatePopupMenu();
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3221 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3225 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3226 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3227 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3228 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3229 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3230 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3235 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3237 self
->GetFilenames(arr
);
3238 return wxArrayString2PyList_helper(arr
);
3240 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3242 self
->GetPaths(arr
);
3243 return wxArrayString2PyList_helper(arr
);
3245 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3246 return wxArrayInt2PyList_helper(self
->GetSelections());
3248 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3249 return new wxSingleChoiceDialog(parent
, message
, caption
,
3250 choices
, choices_array
, NULL
, style
, pos
);
3252 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow
: public wxWindow
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxString
& name
= wxPyPanelNameStr
)
3274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel
: public wxPanel
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3362 const wxPoint
& pos
= wxDefaultPosition
,
3363 const wxSize
& size
= wxDefaultSize
,
3365 const wxString
& name
= wxPyPanelNameStr
)
3366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3369 bool DoEraseBackground(wxDC
* dc
) {
3371 return wxWindow::DoEraseBackground(dc
->GetHDC());
3373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3392 DEC_PYCALLBACK__(InitDialog
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3395 DEC_PYCALLBACK_BOOL_(Validate
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow
: public wxScrolledWindow
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3454 const wxPoint
& pos
= wxDefaultPosition
,
3455 const wxSize
& size
= wxDefaultSize
,
3457 const wxString
& name
= wxPyPanelNameStr
)
3458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3461 bool DoEraseBackground(wxDC
* dc
) {
3463 return wxWindow::DoEraseBackground(dc
->GetHDC());
3465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3483 DEC_PYCALLBACK__(InitDialog
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3486 DEC_PYCALLBACK_BOOL_(Validate
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3539 #include "wx/wxPython/printfw.h"
3542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3548 self
->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked
);
3552 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3553 if (! PyString_Check(data
)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3555 "Expected string object"));
3559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3561 wxPyEndBlockThreads(blocked
);
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3569 bool hadErr
= false;
3572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3578 val
= PyTuple_GetItem(result
, 0);
3579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3582 val
= PyTuple_GetItem(result
, 1);
3583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3586 val
= PyTuple_GetItem(result
, 2);
3587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 3);
3591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3603 wxPyEndBlockThreads(blocked
);
3605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3638 wxPyEndBlockThreads(blocked); \
3640 rval = PCLASS::CBNAME(a, b); \
3647 class wxPyPrintPreview
: public wxPrintPreview
3649 DECLARE_CLASS(wxPyPrintPreview
)
3651 wxPyPrintPreview(wxPyPrintout
* printout
,
3652 wxPyPrintout
* printoutForPrinting
,
3653 wxPrintDialogData
* data
=NULL
)
3654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3656 wxPyPrintPreview(wxPyPrintout
* printout
,
3657 wxPyPrintout
* printoutForPrinting
,
3659 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3691 class wxPyPreviewFrame
: public wxPreviewFrame
3693 DECLARE_CLASS(wxPyPreviewFrame
)
3695 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3696 const wxString
& title
,
3697 const wxPoint
& pos
= wxDefaultPosition
,
3698 const wxSize
& size
= wxDefaultSize
,
3699 long style
= wxDEFAULT_FRAME_STYLE
,
3700 const wxString
& name
= wxPyFrameNameStr
)
3701 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3704 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3705 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3707 DEC_PYCALLBACK_VOID_(Initialize
);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3714 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3721 class wxPyPreviewControlBar
: public wxPreviewControlBar
3723 DECLARE_CLASS(wxPyPreviewControlBar
)
3725 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3728 const wxPoint
& pos
= wxDefaultPosition
,
3729 const wxSize
& size
= wxDefaultSize
,
3731 const wxString
& name
= wxPyPanelNameStr
)
3732 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3735 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3737 DEC_PYCALLBACK_VOID_(CreateButtons
);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3750 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= 0;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 int arg2
= (int) (int)-1 ;
3754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3758 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3761 wxPanel
*result
= 0 ;
3770 bool temp6
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 char * kwnames
[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3789 if (!SWIG_IsOK(ecode2
)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 arg2
= static_cast< int >(val2
);
3797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3807 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3808 if (!SWIG_IsOK(ecode5
)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 arg5
= static_cast< long >(val5
);
3815 arg6
= wxString_in_helper(obj5
);
3816 if (arg6
== NULL
) SWIG_fail
;
3821 if (!wxPyCheckForApp()) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3842 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3843 PyObject
*resultobj
= 0;
3844 wxPanel
*result
= 0 ;
3846 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3848 if (!wxPyCheckForApp()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxPanel
*)new wxPanel();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3861 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
= 0;
3863 wxPanel
*arg1
= (wxPanel
*) 0 ;
3864 wxWindow
*arg2
= (wxWindow
*) 0 ;
3865 int arg3
= (int) (int)-1 ;
3866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3870 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3871 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3884 bool temp7
= false ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3887 PyObject
* obj2
= 0 ;
3888 PyObject
* obj3
= 0 ;
3889 PyObject
* obj4
= 0 ;
3890 PyObject
* obj5
= 0 ;
3891 PyObject
* obj6
= 0 ;
3892 char * kwnames
[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3898 if (!SWIG_IsOK(res1
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3903 if (!SWIG_IsOK(res2
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3909 if (!SWIG_IsOK(ecode3
)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 arg3
= static_cast< int >(val3
);
3917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3928 if (!SWIG_IsOK(ecode6
)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 arg6
= static_cast< long >(val6
);
3935 arg7
= wxString_in_helper(obj6
);
3936 if (arg7
== NULL
) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3963 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3964 PyObject
*resultobj
= 0;
3965 wxPanel
*arg1
= (wxPanel
*) 0 ;
3968 PyObject
*swig_obj
[1] ;
3970 if (!args
) SWIG_fail
;
3972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3973 if (!SWIG_IsOK(res1
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 (arg1
)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_Py_Void();
3990 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
= 0;
3992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3993 SwigValueWrapper
<wxVisualAttributes
> result
;
3996 PyObject
* obj0
= 0 ;
3997 char * kwnames
[] = {
3998 (char *) "variant", NULL
4001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4004 if (!SWIG_IsOK(ecode1
)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 arg1
= static_cast< wxWindowVariant
>(val1
);
4010 if (!wxPyCheckForApp()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4023 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4027 return SWIG_Py_Void();
4030 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4031 return SWIG_Python_InitShadowInstance(args
);
4034 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
= 0;
4036 wxWindow
*arg1
= (wxWindow
*) 0 ;
4037 int arg2
= (int) (int)-1 ;
4038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4042 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4043 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4045 wxScrolledWindow
*result
= 0 ;
4054 bool temp6
= false ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4057 PyObject
* obj2
= 0 ;
4058 PyObject
* obj3
= 0 ;
4059 PyObject
* obj4
= 0 ;
4060 PyObject
* obj5
= 0 ;
4061 char * kwnames
[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4067 if (!SWIG_IsOK(res1
)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4073 if (!SWIG_IsOK(ecode2
)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 arg2
= static_cast< int >(val2
);
4081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4092 if (!SWIG_IsOK(ecode5
)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 arg5
= static_cast< long >(val5
);
4099 arg6
= wxString_in_helper(obj5
);
4100 if (arg6
== NULL
) SWIG_fail
;
4105 if (!wxPyCheckForApp()) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4126 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxScrolledWindow
*result
= 0 ;
4130 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4132 if (!wxPyCheckForApp()) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4145 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
= 0;
4147 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4148 wxWindow
*arg2
= (wxWindow
*) 0 ;
4149 int arg3
= (int) (int)-1 ;
4150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4154 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4155 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4168 bool temp7
= false ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 PyObject
* obj2
= 0 ;
4172 PyObject
* obj3
= 0 ;
4173 PyObject
* obj4
= 0 ;
4174 PyObject
* obj5
= 0 ;
4175 PyObject
* obj6
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4187 if (!SWIG_IsOK(res2
)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4193 if (!SWIG_IsOK(ecode3
)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 arg3
= static_cast< int >(val3
);
4201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4212 if (!SWIG_IsOK(ecode6
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 arg6
= static_cast< long >(val6
);
4219 arg7
= wxString_in_helper(obj6
);
4220 if (arg7
== NULL
) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4254 int arg6
= (int) 0 ;
4255 int arg7
= (int) 0 ;
4256 bool arg8
= (bool) false ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 PyObject
* obj2
= 0 ;
4276 PyObject
* obj3
= 0 ;
4277 PyObject
* obj4
= 0 ;
4278 PyObject
* obj5
= 0 ;
4279 PyObject
* obj6
= 0 ;
4280 PyObject
* obj7
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 arg2
= static_cast< int >(val2
);
4296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4297 if (!SWIG_IsOK(ecode3
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 arg3
= static_cast< int >(val3
);
4301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4302 if (!SWIG_IsOK(ecode4
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 arg4
= static_cast< int >(val4
);
4306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4307 if (!SWIG_IsOK(ecode5
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 arg5
= static_cast< int >(val5
);
4312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4313 if (!SWIG_IsOK(ecode6
)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 arg6
= static_cast< int >(val6
);
4319 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4320 if (!SWIG_IsOK(ecode7
)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 arg7
= static_cast< int >(val7
);
4326 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4327 if (!SWIG_IsOK(ecode8
)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 arg8
= static_cast< bool >(val8
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4370 if (!SWIG_IsOK(ecode2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 arg2
= static_cast< int >(val2
);
4374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4375 if (!SWIG_IsOK(ecode3
)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 arg3
= static_cast< int >(val3
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->Scroll(arg2
,arg3
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_Py_Void();
4392 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
= 0;
4394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "orient", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_From_int(static_cast< int >(result
));
4431 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 arg2
= static_cast< int >(val2
);
4460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 arg3
= static_cast< int >(val3
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj2
= 0 ;
4492 char * kwnames
[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4503 if (!SWIG_IsOK(ecode2
)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 arg2
= static_cast< int >(val2
);
4507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4508 if (!SWIG_IsOK(ecode3
)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 arg3
= static_cast< int >(val3
);
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->SetScrollRate(arg2
,arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_Py_Void();
4525 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4526 PyObject
*resultobj
= 0;
4527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4528 int *arg2
= (int *) 0 ;
4529 int *arg3
= (int *) 0 ;
4533 int res2
= SWIG_TMPOBJ
;
4535 int res3
= SWIG_TMPOBJ
;
4536 PyObject
*swig_obj
[1] ;
4540 if (!args
) SWIG_fail
;
4542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4543 if (!SWIG_IsOK(res1
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2
)) {
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4557 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4560 if (SWIG_IsTmpObj(res3
)) {
4561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4563 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4572 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4596 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4597 if (!SWIG_IsOK(ecode2
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 arg2
= static_cast< bool >(val2
);
4601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4602 if (!SWIG_IsOK(ecode3
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 arg3
= static_cast< bool >(val3
);
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 (arg1
)->EnableScrolling(arg2
,arg3
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_Py_Void();
4619 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4622 int *arg2
= (int *) 0 ;
4623 int *arg3
= (int *) 0 ;
4627 int res2
= SWIG_TMPOBJ
;
4629 int res3
= SWIG_TMPOBJ
;
4630 PyObject
*swig_obj
[1] ;
4634 if (!args
) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2
)) {
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4651 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4654 if (SWIG_IsTmpObj(res3
)) {
4655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4666 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 char * kwnames
[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4686 if (!SWIG_IsOK(res1
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4690 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4691 if (!SWIG_IsOK(ecode2
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 arg2
= static_cast< double >(val2
);
4695 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 arg3
= static_cast< double >(val3
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->SetScale(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_Py_Void();
4713 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_From_double(static_cast< double >(result
));
4741 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_From_double(static_cast< double >(result
));
4769 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4770 PyObject
*resultobj
= 0;
4771 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4780 if (!SWIG_IsOK(res1
)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4786 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4801 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4802 PyObject
*resultobj
= 0;
4803 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4806 int *arg4
= (int *) 0 ;
4807 int *arg5
= (int *) 0 ;
4815 int res4
= SWIG_TMPOBJ
;
4817 int res5
= SWIG_TMPOBJ
;
4821 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4823 if (!SWIG_IsOK(res1
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4827 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4828 if (!SWIG_IsOK(ecode2
)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 arg2
= static_cast< int >(val2
);
4832 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4833 if (!SWIG_IsOK(ecode3
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 arg3
= static_cast< int >(val3
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4
)) {
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4847 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4850 if (SWIG_IsTmpObj(res5
)) {
4851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4853 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4862 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4866 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4881 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4882 PyObject
*resultobj
= 0;
4883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4890 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4898 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4913 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4914 PyObject
*resultobj
= 0;
4915 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4918 int *arg4
= (int *) 0 ;
4919 int *arg5
= (int *) 0 ;
4927 int res4
= SWIG_TMPOBJ
;
4929 int res5
= SWIG_TMPOBJ
;
4933 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4935 if (!SWIG_IsOK(res1
)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4939 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4940 if (!SWIG_IsOK(ecode2
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 arg2
= static_cast< int >(val2
);
4944 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4945 if (!SWIG_IsOK(ecode3
)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 arg3
= static_cast< int >(val3
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4959 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4962 if (SWIG_IsTmpObj(res5
)) {
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4965 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4974 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4993 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5023 wxScrollWinEvent
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "self",(char *) "event", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5037 if (!SWIG_IsOK(res1
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5042 if (!SWIG_IsOK(res2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_From_int(static_cast< int >(result
));
5062 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5065 wxWindow
*arg2
= (wxWindow
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "self",(char *) "target", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5078 if (!SWIG_IsOK(res1
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5083 if (!SWIG_IsOK(res2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetTargetWindow(arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5103 wxWindow
*result
= 0 ;
5106 PyObject
*swig_obj
[1] ;
5108 if (!args
) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= wxPyMake_wxObject(result
, 0);
5130 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
= 0;
5132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5139 char * kwnames
[] = {
5140 (char *) "self",(char *) "rect", NULL
5143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5180 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5194 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 char * kwnames
[] = {
5205 (char *) "self",(char *) "dc", NULL
5208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5210 if (!SWIG_IsOK(res1
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5213 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5215 if (!SWIG_IsOK(res2
)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->DoPrepareDC(*arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_Py_Void();
5235 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= 0;
5237 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5238 SwigValueWrapper
<wxVisualAttributes
> result
;
5241 PyObject
* obj0
= 0 ;
5242 char * kwnames
[] = {
5243 (char *) "variant", NULL
5246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5248 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5249 if (!SWIG_IsOK(ecode1
)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5252 arg1
= static_cast< wxWindowVariant
>(val1
);
5255 if (!wxPyCheckForApp()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5268 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5272 return SWIG_Py_Void();
5275 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 return SWIG_Python_InitShadowInstance(args
);
5279 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5280 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5285 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5286 PyObject
*pyobj
= 0;
5290 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5292 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5299 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5300 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5305 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5306 PyObject
*pyobj
= 0;
5310 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5312 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5319 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5320 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5325 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5326 PyObject
*pyobj
= 0;
5330 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5332 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5339 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5340 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5345 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5346 PyObject
*pyobj
= 0;
5350 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5352 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5359 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
= 0;
5361 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5362 bool arg2
= (bool) true ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "maximize", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5380 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5384 arg2
= static_cast< bool >(val2
);
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->Maximize(arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_Py_Void();
5399 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5401 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5404 PyObject
*swig_obj
[1] ;
5406 if (!args
) SWIG_fail
;
5408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5409 if (!SWIG_IsOK(res1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5412 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_Py_Void();
5426 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= 0;
5428 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5429 bool arg2
= (bool) true ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "self",(char *) "iconize", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5445 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5447 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5448 if (!SWIG_IsOK(ecode2
)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5451 arg2
= static_cast< bool >(val2
);
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->Iconize(arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_Py_Void();
5466 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5467 PyObject
*resultobj
= 0;
5468 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5472 PyObject
*swig_obj
[1] ;
5474 if (!args
) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5480 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5496 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 PyObject
*resultobj
= 0;
5498 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5502 PyObject
*swig_obj
[1] ;
5504 if (!args
) SWIG_fail
;
5506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5507 if (!SWIG_IsOK(res1
)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5510 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5526 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5527 PyObject
*resultobj
= 0;
5528 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5532 PyObject
*swig_obj
[1] ;
5534 if (!args
) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5556 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5557 PyObject
*resultobj
= 0;
5558 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5562 PyObject
*swig_obj
[1] ;
5564 if (!args
) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5570 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5584 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
= 0;
5586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 char * kwnames
[] = {
5595 (char *) "self",(char *) "icon", NULL
5598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5603 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5605 if (!SWIG_IsOK(res2
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_Py_Void();
5625 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5628 wxIconBundle
*arg2
= 0 ;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5635 char * kwnames
[] = {
5636 (char *) "self",(char *) "icons", NULL
5639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5641 if (!SWIG_IsOK(res1
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5644 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5646 if (!SWIG_IsOK(res2
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_Py_Void();
5666 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5670 long arg3
= (long) wxFULLSCREEN_ALL
;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 PyObject
* obj2
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5691 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5692 if (!SWIG_IsOK(ecode2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5695 arg2
= static_cast< bool >(val2
);
5697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5698 if (!SWIG_IsOK(ecode3
)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5701 arg3
= static_cast< long >(val3
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 PyObject
*resultobj
= 0;
5720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5724 PyObject
*swig_obj
[1] ;
5726 if (!args
) SWIG_fail
;
5728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5729 if (!SWIG_IsOK(res1
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5748 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
= 0;
5750 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5751 wxString
*arg2
= 0 ;
5754 bool temp2
= false ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "self",(char *) "title", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5763 if (!SWIG_IsOK(res1
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5768 arg2
= wxString_in_helper(obj1
);
5769 if (arg2
== NULL
) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->SetTitle((wxString
const &)*arg2
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_Py_Void();
5793 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5794 PyObject
*resultobj
= 0;
5795 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5799 PyObject
*swig_obj
[1] ;
5801 if (!args
) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5807 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5827 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
= 0;
5829 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "enable", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5847 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5849 if (!SWIG_IsOK(ecode2
)) {
5850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5852 arg2
= static_cast< bool >(val2
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5868 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
= 0;
5870 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5871 wxRegion
*arg2
= 0 ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "self",(char *) "region", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5890 if (!SWIG_IsOK(res2
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5896 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5912 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
= 0;
5914 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5915 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5922 char * kwnames
[] = {
5923 (char *) "self",(char *) "flags", NULL
5926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5928 if (!SWIG_IsOK(res1
)) {
5929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5931 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5934 if (!SWIG_IsOK(ecode2
)) {
5935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5937 arg2
= static_cast< int >(val2
);
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 (arg1
)->RequestUserAttention(arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_Py_Void();
5952 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5953 PyObject
*resultobj
= 0;
5954 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5966 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (bool)(arg1
)->IsActive();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5982 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
= 0;
5984 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5992 char * kwnames
[] = {
5993 (char *) "self",(char *) "on", NULL
5996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5998 if (!SWIG_IsOK(res1
)) {
5999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6001 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6002 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6003 if (!SWIG_IsOK(ecode2
)) {
6004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6006 arg2
= static_cast< bool >(val2
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_Py_Void();
6020 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6021 PyObject
*resultobj
= 0;
6022 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6026 PyObject
*swig_obj
[1] ;
6028 if (!args
) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6034 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
= 0;
6052 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6053 int arg2
= (int) wxBOTH
;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 char * kwnames
[] = {
6061 (char *) "self",(char *) "dir", NULL
6064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6066 if (!SWIG_IsOK(res1
)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6069 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6075 arg2
= static_cast< int >(val2
);
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 (arg1
)->CenterOnScreen(arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_Py_Void();
6090 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 PyObject
*resultobj
= 0;
6092 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6093 wxWindow
*result
= 0 ;
6096 PyObject
*swig_obj
[1] ;
6098 if (!args
) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6104 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= wxPyMake_wxObject(result
, 0);
6120 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
= 0;
6122 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6123 wxWindow
*arg2
= (wxWindow
*) 0 ;
6124 wxWindow
*result
= 0 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 char * kwnames
[] = {
6132 (char *) "self",(char *) "child", NULL
6135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6137 if (!SWIG_IsOK(res1
)) {
6138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6140 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6142 if (!SWIG_IsOK(res2
)) {
6143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= wxPyMake_wxObject(result
, 0);
6161 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= 0;
6163 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6164 wxWindow
*arg2
= (wxWindow
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 char * kwnames
[] = {
6172 (char *) "self",(char *) "win", NULL
6175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6180 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6182 if (!SWIG_IsOK(res2
)) {
6183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 (arg1
)->SetTmpDefaultItem(arg2
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_Py_Void();
6199 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6200 PyObject
*resultobj
= 0;
6201 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6202 wxWindow
*result
= 0 ;
6205 PyObject
*swig_obj
[1] ;
6207 if (!args
) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6213 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= wxPyMake_wxObject(result
, 0);
6229 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6232 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6233 return SWIG_Py_Void();
6236 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
= 0;
6238 wxWindow
*arg1
= (wxWindow
*) 0 ;
6239 int arg2
= (int) (int)-1 ;
6240 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6241 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6242 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6243 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6244 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6245 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6246 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6247 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6248 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6249 wxFrame
*result
= 0 ;
6254 bool temp3
= false ;
6259 bool temp7
= false ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6263 PyObject
* obj3
= 0 ;
6264 PyObject
* obj4
= 0 ;
6265 PyObject
* obj5
= 0 ;
6266 PyObject
* obj6
= 0 ;
6267 char * kwnames
[] = {
6268 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6273 if (!SWIG_IsOK(res1
)) {
6274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6279 if (!SWIG_IsOK(ecode2
)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6282 arg2
= static_cast< int >(val2
);
6286 arg3
= wxString_in_helper(obj2
);
6287 if (arg3
== NULL
) SWIG_fail
;
6294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6304 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6305 if (!SWIG_IsOK(ecode6
)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6308 arg6
= static_cast< long >(val6
);
6312 arg7
= wxString_in_helper(obj6
);
6313 if (arg7
== NULL
) SWIG_fail
;
6318 if (!wxPyCheckForApp()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6347 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6348 PyObject
*resultobj
= 0;
6349 wxFrame
*result
= 0 ;
6351 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6353 if (!wxPyCheckForApp()) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (wxFrame
*)new wxFrame();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6366 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
= 0;
6368 wxFrame
*arg1
= (wxFrame
*) 0 ;
6369 wxWindow
*arg2
= (wxWindow
*) 0 ;
6370 int arg3
= (int) (int)-1 ;
6371 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6372 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6373 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6374 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6375 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6376 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6377 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6378 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6387 bool temp4
= false ;
6392 bool temp8
= false ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 PyObject
* obj3
= 0 ;
6397 PyObject
* obj4
= 0 ;
6398 PyObject
* obj5
= 0 ;
6399 PyObject
* obj6
= 0 ;
6400 PyObject
* obj7
= 0 ;
6401 char * kwnames
[] = {
6402 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6407 if (!SWIG_IsOK(res1
)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6410 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6412 if (!SWIG_IsOK(res2
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6418 if (!SWIG_IsOK(ecode3
)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6421 arg3
= static_cast< int >(val3
);
6425 arg4
= wxString_in_helper(obj3
);
6426 if (arg4
== NULL
) SWIG_fail
;
6433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6439 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6443 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6444 if (!SWIG_IsOK(ecode7
)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6447 arg7
= static_cast< long >(val7
);
6451 arg8
= wxString_in_helper(obj7
);
6452 if (arg8
== NULL
) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 PyObject
*resultobj
= 0;
6489 wxFrame
*arg1
= (wxFrame
*) 0 ;
6492 PyObject
*swig_obj
[1] ;
6494 if (!args
) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 (arg1
)->SendSizeEvent();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_Py_Void();
6514 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
= 0;
6516 wxFrame
*arg1
= (wxFrame
*) 0 ;
6517 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6524 char * kwnames
[] = {
6525 (char *) "self",(char *) "menubar", NULL
6528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6530 if (!SWIG_IsOK(res1
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6533 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6535 if (!SWIG_IsOK(res2
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6538 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 (arg1
)->SetMenuBar(arg2
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_Py_Void();
6552 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6553 PyObject
*resultobj
= 0;
6554 wxFrame
*arg1
= (wxFrame
*) 0 ;
6555 wxMenuBar
*result
= 0 ;
6558 PyObject
*swig_obj
[1] ;
6560 if (!args
) SWIG_fail
;
6562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6563 if (!SWIG_IsOK(res1
)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6566 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= wxPyMake_wxObject(result
, 0);
6582 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
= 0;
6584 wxFrame
*arg1
= (wxFrame
*) 0 ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6593 char * kwnames
[] = {
6594 (char *) "self",(char *) "winid", NULL
6597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6602 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6604 if (!SWIG_IsOK(ecode2
)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6607 arg2
= static_cast< int >(val2
);
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6623 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
= 0;
6625 wxFrame
*arg1
= (wxFrame
*) 0 ;
6626 int arg2
= (int) 1 ;
6627 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6628 int arg4
= (int) 0 ;
6629 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6630 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6631 wxStatusBar
*result
= 0 ;
6640 bool temp5
= false ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 PyObject
* obj2
= 0 ;
6644 PyObject
* obj3
= 0 ;
6645 PyObject
* obj4
= 0 ;
6646 char * kwnames
[] = {
6647 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6655 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6658 if (!SWIG_IsOK(ecode2
)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6661 arg2
= static_cast< int >(val2
);
6664 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6665 if (!SWIG_IsOK(ecode3
)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6668 arg3
= static_cast< long >(val3
);
6671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6672 if (!SWIG_IsOK(ecode4
)) {
6673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6675 arg4
= static_cast< int >(val4
);
6679 arg5
= wxString_in_helper(obj4
);
6680 if (arg5
== NULL
) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6707 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6708 PyObject
*resultobj
= 0;
6709 wxFrame
*arg1
= (wxFrame
*) 0 ;
6710 wxStatusBar
*result
= 0 ;
6713 PyObject
*swig_obj
[1] ;
6715 if (!args
) SWIG_fail
;
6717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6718 if (!SWIG_IsOK(res1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6721 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6737 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
= 0;
6739 wxFrame
*arg1
= (wxFrame
*) 0 ;
6740 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 char * kwnames
[] = {
6748 (char *) "self",(char *) "statBar", NULL
6751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6753 if (!SWIG_IsOK(res1
)) {
6754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6756 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6757 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6758 if (!SWIG_IsOK(res2
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6761 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 (arg1
)->SetStatusBar(arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_Py_Void();
6775 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= 0;
6777 wxFrame
*arg1
= (wxFrame
*) 0 ;
6778 wxString
*arg2
= 0 ;
6779 int arg3
= (int) 0 ;
6782 bool temp2
= false ;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6787 PyObject
* obj2
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "self",(char *) "text",(char *) "number", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6797 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6799 arg2
= wxString_in_helper(obj1
);
6800 if (arg2
== NULL
) SWIG_fail
;
6804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6805 if (!SWIG_IsOK(ecode3
)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6808 arg3
= static_cast< int >(val3
);
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_Py_Void();
6831 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
= 0;
6833 wxFrame
*arg1
= (wxFrame
*) 0 ;
6835 int *arg3
= (int *) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6840 char * kwnames
[] = {
6841 (char *) "self",(char *) "widths", NULL
6844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6846 if (!SWIG_IsOK(res1
)) {
6847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6849 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6851 arg2
= PyList_Size(obj1
);
6852 arg3
= int_LIST_helper(obj1
);
6853 if (arg3
== NULL
) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_Py_Void();
6863 if (arg3
) delete [] arg3
;
6868 if (arg3
) delete [] arg3
;
6874 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
= 0;
6876 wxFrame
*arg1
= (wxFrame
*) 0 ;
6877 wxString
*arg2
= 0 ;
6878 int arg3
= (int) 0 ;
6881 bool temp2
= false ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6886 PyObject
* obj2
= 0 ;
6887 char * kwnames
[] = {
6888 (char *) "self",(char *) "text",(char *) "number", NULL
6891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6893 if (!SWIG_IsOK(res1
)) {
6894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6896 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6898 arg2
= wxString_in_helper(obj1
);
6899 if (arg2
== NULL
) SWIG_fail
;
6903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6904 if (!SWIG_IsOK(ecode3
)) {
6905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6907 arg3
= static_cast< int >(val3
);
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_Py_Void();
6930 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
= 0;
6932 wxFrame
*arg1
= (wxFrame
*) 0 ;
6933 int arg2
= (int) 0 ;
6938 PyObject
* obj0
= 0 ;
6939 PyObject
* obj1
= 0 ;
6940 char * kwnames
[] = {
6941 (char *) "self",(char *) "number", NULL
6944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6946 if (!SWIG_IsOK(res1
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6949 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6952 if (!SWIG_IsOK(ecode2
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6955 arg2
= static_cast< int >(val2
);
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 (arg1
)->PopStatusText(arg2
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_Py_Void();
6970 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
= 0;
6972 wxFrame
*arg1
= (wxFrame
*) 0 ;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6980 char * kwnames
[] = {
6981 (char *) "self",(char *) "n", NULL
6984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6986 if (!SWIG_IsOK(res1
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6989 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6991 if (!SWIG_IsOK(ecode2
)) {
6992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6994 arg2
= static_cast< int >(val2
);
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 (arg1
)->SetStatusBarPane(arg2
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_Py_Void();
7008 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7009 PyObject
*resultobj
= 0;
7010 wxFrame
*arg1
= (wxFrame
*) 0 ;
7014 PyObject
*swig_obj
[1] ;
7016 if (!args
) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7022 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_From_int(static_cast< int >(result
));
7036 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
= 0;
7038 wxFrame
*arg1
= (wxFrame
*) 0 ;
7039 long arg2
= (long) -1 ;
7040 int arg3
= (int) -1 ;
7041 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7042 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7043 wxToolBar
*result
= 0 ;
7050 bool temp4
= false ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 PyObject
* obj2
= 0 ;
7054 PyObject
* obj3
= 0 ;
7055 char * kwnames
[] = {
7056 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7061 if (!SWIG_IsOK(res1
)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7064 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7066 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7067 if (!SWIG_IsOK(ecode2
)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7070 arg2
= static_cast< long >(val2
);
7073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7074 if (!SWIG_IsOK(ecode3
)) {
7075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7077 arg3
= static_cast< int >(val3
);
7081 arg4
= wxString_in_helper(obj3
);
7082 if (arg4
== NULL
) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7109 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7110 PyObject
*resultobj
= 0;
7111 wxFrame
*arg1
= (wxFrame
*) 0 ;
7112 wxToolBar
*result
= 0 ;
7115 PyObject
*swig_obj
[1] ;
7117 if (!args
) SWIG_fail
;
7119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7120 if (!SWIG_IsOK(res1
)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7123 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7139 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
= 0;
7141 wxFrame
*arg1
= (wxFrame
*) 0 ;
7142 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7149 char * kwnames
[] = {
7150 (char *) "self",(char *) "toolbar", NULL
7153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7155 if (!SWIG_IsOK(res1
)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7158 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7160 if (!SWIG_IsOK(res2
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7163 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 (arg1
)->SetToolBar(arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_Py_Void();
7177 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= 0;
7179 wxFrame
*arg1
= (wxFrame
*) 0 ;
7180 wxString
*arg2
= 0 ;
7184 bool temp2
= false ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 PyObject
* obj2
= 0 ;
7190 char * kwnames
[] = {
7191 (char *) "self",(char *) "text",(char *) "show", NULL
7194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7196 if (!SWIG_IsOK(res1
)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7199 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7201 arg2
= wxString_in_helper(obj1
);
7202 if (arg2
== NULL
) SWIG_fail
;
7205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7206 if (!SWIG_IsOK(ecode3
)) {
7207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7209 arg3
= static_cast< bool >(val3
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7231 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
= 0;
7233 wxFrame
*arg1
= (wxFrame
*) 0 ;
7234 wxMenu
*arg2
= (wxMenu
*) NULL
;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7241 char * kwnames
[] = {
7242 (char *) "self",(char *) "menu", NULL
7245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7247 if (!SWIG_IsOK(res1
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7250 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7253 if (!SWIG_IsOK(res2
)) {
7254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7256 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 (arg1
)->DoMenuUpdates(arg2
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= SWIG_Py_Void();
7271 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
= 0;
7273 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7274 SwigValueWrapper
<wxVisualAttributes
> result
;
7277 PyObject
* obj0
= 0 ;
7278 char * kwnames
[] = {
7279 (char *) "variant", NULL
7282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7284 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7285 if (!SWIG_IsOK(ecode1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7288 arg1
= static_cast< wxWindowVariant
>(val1
);
7291 if (!wxPyCheckForApp()) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7304 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7307 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7308 return SWIG_Py_Void();
7311 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7312 return SWIG_Python_InitShadowInstance(args
);
7315 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
= 0;
7317 wxWindow
*arg1
= (wxWindow
*) 0 ;
7318 int arg2
= (int) (int)-1 ;
7319 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7325 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7326 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7328 wxDialog
*result
= 0 ;
7333 bool temp3
= false ;
7338 bool temp7
= false ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7341 PyObject
* obj2
= 0 ;
7342 PyObject
* obj3
= 0 ;
7343 PyObject
* obj4
= 0 ;
7344 PyObject
* obj5
= 0 ;
7345 PyObject
* obj6
= 0 ;
7346 char * kwnames
[] = {
7347 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7352 if (!SWIG_IsOK(res1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7358 if (!SWIG_IsOK(ecode2
)) {
7359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7361 arg2
= static_cast< int >(val2
);
7365 arg3
= wxString_in_helper(obj2
);
7366 if (arg3
== NULL
) SWIG_fail
;
7373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7383 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7384 if (!SWIG_IsOK(ecode6
)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7387 arg6
= static_cast< long >(val6
);
7391 arg7
= wxString_in_helper(obj6
);
7392 if (arg7
== NULL
) SWIG_fail
;
7397 if (!wxPyCheckForApp()) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7426 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7427 PyObject
*resultobj
= 0;
7428 wxDialog
*result
= 0 ;
7430 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7432 if (!wxPyCheckForApp()) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (wxDialog
*)new wxDialog();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7445 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= 0;
7447 wxDialog
*arg1
= (wxDialog
*) 0 ;
7448 wxWindow
*arg2
= (wxWindow
*) 0 ;
7449 int arg3
= (int) (int)-1 ;
7450 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7451 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7452 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7453 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7454 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7455 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7456 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7457 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7458 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7466 bool temp4
= false ;
7471 bool temp8
= false ;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7474 PyObject
* obj2
= 0 ;
7475 PyObject
* obj3
= 0 ;
7476 PyObject
* obj4
= 0 ;
7477 PyObject
* obj5
= 0 ;
7478 PyObject
* obj6
= 0 ;
7479 PyObject
* obj7
= 0 ;
7480 char * kwnames
[] = {
7481 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7486 if (!SWIG_IsOK(res1
)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7489 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7490 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7491 if (!SWIG_IsOK(res2
)) {
7492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7494 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7497 if (!SWIG_IsOK(ecode3
)) {
7498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7500 arg3
= static_cast< int >(val3
);
7504 arg4
= wxString_in_helper(obj3
);
7505 if (arg4
== NULL
) SWIG_fail
;
7512 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7518 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7522 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7523 if (!SWIG_IsOK(ecode7
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7526 arg7
= static_cast< long >(val7
);
7530 arg8
= wxString_in_helper(obj7
);
7531 if (arg8
== NULL
) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7566 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= 0;
7568 wxDialog
*arg1
= (wxDialog
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 char * kwnames
[] = {
7577 (char *) "self",(char *) "returnCode", NULL
7580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7587 if (!SWIG_IsOK(ecode2
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7590 arg2
= static_cast< int >(val2
);
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 (arg1
)->SetReturnCode(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_Py_Void();
7604 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7605 PyObject
*resultobj
= 0;
7606 wxDialog
*arg1
= (wxDialog
*) 0 ;
7610 PyObject
*swig_obj
[1] ;
7612 if (!args
) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7618 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_From_int(static_cast< int >(result
));
7632 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
= 0;
7634 wxDialog
*arg1
= (wxDialog
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7642 char * kwnames
[] = {
7643 (char *) "self",(char *) "affirmativeId", NULL
7646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7651 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7653 if (!SWIG_IsOK(ecode2
)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7656 arg2
= static_cast< int >(val2
);
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 (arg1
)->SetAffirmativeId(arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= SWIG_Py_Void();
7670 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 PyObject
*resultobj
= 0;
7672 wxDialog
*arg1
= (wxDialog
*) 0 ;
7676 PyObject
*swig_obj
[1] ;
7678 if (!args
) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7684 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_From_int(static_cast< int >(result
));
7698 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
= 0;
7700 wxDialog
*arg1
= (wxDialog
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "self",(char *) "escapeId", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7717 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7719 if (!SWIG_IsOK(ecode2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7722 arg2
= static_cast< int >(val2
);
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 (arg1
)->SetEscapeId(arg2
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_Py_Void();
7736 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7737 PyObject
*resultobj
= 0;
7738 wxDialog
*arg1
= (wxDialog
*) 0 ;
7742 PyObject
*swig_obj
[1] ;
7744 if (!args
) SWIG_fail
;
7746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7747 if (!SWIG_IsOK(res1
)) {
7748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7750 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= SWIG_From_int(static_cast< int >(result
));
7764 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= 0;
7766 wxDialog
*arg1
= (wxDialog
*) 0 ;
7767 wxString
*arg2
= 0 ;
7768 wxSizer
*result
= 0 ;
7771 bool temp2
= false ;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7774 char * kwnames
[] = {
7775 (char *) "self",(char *) "message", NULL
7778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7780 if (!SWIG_IsOK(res1
)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7783 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7785 arg2
= wxString_in_helper(obj1
);
7786 if (arg2
== NULL
) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7812 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
= 0;
7814 wxDialog
*arg1
= (wxDialog
*) 0 ;
7816 wxSizer
*result
= 0 ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 char * kwnames
[] = {
7824 (char *) "self",(char *) "flags", NULL
7827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7829 if (!SWIG_IsOK(res1
)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7832 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7834 if (!SWIG_IsOK(ecode2
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7837 arg2
= static_cast< long >(val2
);
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7853 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
= 0;
7855 wxDialog
*arg1
= (wxDialog
*) 0 ;
7857 wxSizer
*result
= 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 char * kwnames
[] = {
7865 (char *) "self",(char *) "flags", NULL
7868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7870 if (!SWIG_IsOK(res1
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7873 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7875 if (!SWIG_IsOK(ecode2
)) {
7876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7878 arg2
= static_cast< long >(val2
);
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7894 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
= 0;
7896 wxDialog
*arg1
= (wxDialog
*) 0 ;
7898 wxStdDialogButtonSizer
*result
= 0 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7905 char * kwnames
[] = {
7906 (char *) "self",(char *) "flags", NULL
7909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7914 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7916 if (!SWIG_IsOK(ecode2
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7919 arg2
= static_cast< long >(val2
);
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7933 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7934 PyObject
*resultobj
= 0;
7935 wxDialog
*arg1
= (wxDialog
*) 0 ;
7939 PyObject
*swig_obj
[1] ;
7941 if (!args
) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7947 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7963 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7964 PyObject
*resultobj
= 0;
7965 wxDialog
*arg1
= (wxDialog
*) 0 ;
7969 PyObject
*swig_obj
[1] ;
7971 if (!args
) SWIG_fail
;
7973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7974 if (!SWIG_IsOK(res1
)) {
7975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7977 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (int)(arg1
)->ShowModal();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_From_int(static_cast< int >(result
));
7991 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxDialog
*arg1
= (wxDialog
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8001 char * kwnames
[] = {
8002 (char *) "self",(char *) "retCode", NULL
8005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8010 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8012 if (!SWIG_IsOK(ecode2
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8015 arg2
= static_cast< int >(val2
);
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 (arg1
)->EndModal(arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= SWIG_Py_Void();
8029 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
= 0;
8031 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8032 SwigValueWrapper
<wxVisualAttributes
> result
;
8035 PyObject
* obj0
= 0 ;
8036 char * kwnames
[] = {
8037 (char *) "variant", NULL
8040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8043 if (!SWIG_IsOK(ecode1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8046 arg1
= static_cast< wxWindowVariant
>(val1
);
8049 if (!wxPyCheckForApp()) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8062 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8065 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8066 return SWIG_Py_Void();
8069 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8070 return SWIG_Python_InitShadowInstance(args
);
8073 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
= 0;
8075 wxWindow
*arg1
= (wxWindow
*) 0 ;
8076 int arg2
= (int) (int)-1 ;
8077 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8078 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8079 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8080 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8081 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8082 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8083 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8084 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8085 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8086 wxMiniFrame
*result
= 0 ;
8091 bool temp3
= false ;
8096 bool temp7
= false ;
8097 PyObject
* obj0
= 0 ;
8098 PyObject
* obj1
= 0 ;
8099 PyObject
* obj2
= 0 ;
8100 PyObject
* obj3
= 0 ;
8101 PyObject
* obj4
= 0 ;
8102 PyObject
* obj5
= 0 ;
8103 PyObject
* obj6
= 0 ;
8104 char * kwnames
[] = {
8105 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8110 if (!SWIG_IsOK(res1
)) {
8111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8116 if (!SWIG_IsOK(ecode2
)) {
8117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8119 arg2
= static_cast< int >(val2
);
8123 arg3
= wxString_in_helper(obj2
);
8124 if (arg3
== NULL
) SWIG_fail
;
8131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8141 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8142 if (!SWIG_IsOK(ecode6
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8145 arg6
= static_cast< long >(val6
);
8149 arg7
= wxString_in_helper(obj6
);
8150 if (arg7
== NULL
) SWIG_fail
;
8155 if (!wxPyCheckForApp()) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8184 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 PyObject
*resultobj
= 0;
8186 wxMiniFrame
*result
= 0 ;
8188 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8190 if (!wxPyCheckForApp()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxMiniFrame
*)new wxMiniFrame();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8203 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
= 0;
8205 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8206 wxWindow
*arg2
= (wxWindow
*) 0 ;
8207 int arg3
= (int) (int)-1 ;
8208 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8210 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8211 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8212 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8213 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8214 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8215 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8216 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8224 bool temp4
= false ;
8229 bool temp8
= false ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8232 PyObject
* obj2
= 0 ;
8233 PyObject
* obj3
= 0 ;
8234 PyObject
* obj4
= 0 ;
8235 PyObject
* obj5
= 0 ;
8236 PyObject
* obj6
= 0 ;
8237 PyObject
* obj7
= 0 ;
8238 char * kwnames
[] = {
8239 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8244 if (!SWIG_IsOK(res1
)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8247 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8249 if (!SWIG_IsOK(res2
)) {
8250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8255 if (!SWIG_IsOK(ecode3
)) {
8256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8258 arg3
= static_cast< int >(val3
);
8262 arg4
= wxString_in_helper(obj3
);
8263 if (arg4
== NULL
) SWIG_fail
;
8270 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8276 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8280 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8281 if (!SWIG_IsOK(ecode7
)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8284 arg7
= static_cast< long >(val7
);
8288 arg8
= wxString_in_helper(obj7
);
8289 if (arg8
== NULL
) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8324 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8327 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8328 return SWIG_Py_Void();
8331 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8332 return SWIG_Python_InitShadowInstance(args
);
8335 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
= 0;
8337 wxBitmap
*arg1
= 0 ;
8338 wxWindow
*arg2
= (wxWindow
*) 0 ;
8340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8344 long arg6
= (long) wxNO_BORDER
;
8345 wxSplashScreenWindow
*result
= 0 ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 PyObject
* obj2
= 0 ;
8359 PyObject
* obj3
= 0 ;
8360 PyObject
* obj4
= 0 ;
8361 PyObject
* obj5
= 0 ;
8362 char * kwnames
[] = {
8363 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8374 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8376 if (!SWIG_IsOK(res2
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8381 if (!SWIG_IsOK(ecode3
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8384 arg3
= static_cast< int >(val3
);
8388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8399 if (!SWIG_IsOK(ecode6
)) {
8400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8402 arg6
= static_cast< long >(val6
);
8405 if (!wxPyCheckForApp()) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8418 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
= 0;
8420 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8421 wxBitmap
*arg2
= 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 char * kwnames
[] = {
8429 (char *) "self",(char *) "bitmap", NULL
8432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8437 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8439 if (!SWIG_IsOK(res2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8445 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_Py_Void();
8459 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8460 PyObject
*resultobj
= 0;
8461 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8462 wxBitmap
*result
= 0 ;
8465 PyObject
*swig_obj
[1] ;
8467 if (!args
) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8473 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8478 result
= (wxBitmap
*) &_result_ref
;
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 wxBitmap
* resultptr
= new wxBitmap(*result
);
8485 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8493 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8496 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8497 return SWIG_Py_Void();
8500 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 return SWIG_Python_InitShadowInstance(args
);
8504 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= 0;
8506 wxBitmap
*arg1
= 0 ;
8509 wxWindow
*arg4
= (wxWindow
*) 0 ;
8510 int arg5
= (int) -1 ;
8511 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8512 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8513 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8514 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8515 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8516 wxSplashScreen
*result
= 0 ;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8533 PyObject
* obj2
= 0 ;
8534 PyObject
* obj3
= 0 ;
8535 PyObject
* obj4
= 0 ;
8536 PyObject
* obj5
= 0 ;
8537 PyObject
* obj6
= 0 ;
8538 PyObject
* obj7
= 0 ;
8539 char * kwnames
[] = {
8540 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8545 if (!SWIG_IsOK(res1
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8551 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8553 if (!SWIG_IsOK(ecode2
)) {
8554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8556 arg2
= static_cast< long >(val2
);
8557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8558 if (!SWIG_IsOK(ecode3
)) {
8559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8561 arg3
= static_cast< int >(val3
);
8562 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8563 if (!SWIG_IsOK(res4
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8566 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8569 if (!SWIG_IsOK(ecode5
)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8572 arg5
= static_cast< int >(val5
);
8577 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8583 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8587 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8588 if (!SWIG_IsOK(ecode8
)) {
8589 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8591 arg8
= static_cast< long >(val8
);
8594 if (!wxPyCheckForApp()) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8607 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8608 PyObject
*resultobj
= 0;
8609 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8613 PyObject
*swig_obj
[1] ;
8615 if (!args
) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_From_long(static_cast< long >(result
));
8635 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8636 PyObject
*resultobj
= 0;
8637 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8638 wxSplashScreenWindow
*result
= 0 ;
8641 PyObject
*swig_obj
[1] ;
8643 if (!args
) SWIG_fail
;
8645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8646 if (!SWIG_IsOK(res1
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8649 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8663 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8664 PyObject
*resultobj
= 0;
8665 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8669 PyObject
*swig_obj
[1] ;
8671 if (!args
) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8677 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_From_int(static_cast< int >(result
));
8691 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8694 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8695 return SWIG_Py_Void();
8698 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8699 return SWIG_Python_InitShadowInstance(args
);
8702 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
= 0;
8704 wxWindow
*arg1
= (wxWindow
*) 0 ;
8705 int arg2
= (int) -1 ;
8706 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8707 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8708 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8709 wxStatusBar
*result
= 0 ;
8716 bool temp4
= false ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 PyObject
* obj2
= 0 ;
8720 PyObject
* obj3
= 0 ;
8721 char * kwnames
[] = {
8722 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8727 if (!SWIG_IsOK(res1
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8733 if (!SWIG_IsOK(ecode2
)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8736 arg2
= static_cast< int >(val2
);
8739 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8743 arg3
= static_cast< long >(val3
);
8747 arg4
= wxString_in_helper(obj3
);
8748 if (arg4
== NULL
) SWIG_fail
;
8753 if (!wxPyCheckForApp()) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8774 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8775 PyObject
*resultobj
= 0;
8776 wxStatusBar
*result
= 0 ;
8778 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8780 if (!wxPyCheckForApp()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxStatusBar
*)new wxStatusBar();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8793 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
= 0;
8795 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8796 wxWindow
*arg2
= (wxWindow
*) 0 ;
8797 int arg3
= (int) -1 ;
8798 long arg4
= (long) wxST_SIZEGRIP
;
8799 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8800 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8810 bool temp5
= false ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8814 PyObject
* obj3
= 0 ;
8815 PyObject
* obj4
= 0 ;
8816 char * kwnames
[] = {
8817 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8822 if (!SWIG_IsOK(res1
)) {
8823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8825 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8827 if (!SWIG_IsOK(res2
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8833 if (!SWIG_IsOK(ecode3
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8836 arg3
= static_cast< int >(val3
);
8839 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8840 if (!SWIG_IsOK(ecode4
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8843 arg4
= static_cast< long >(val4
);
8847 arg5
= wxString_in_helper(obj4
);
8848 if (arg5
== NULL
) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
= 0;
8877 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8878 int arg2
= (int) 1 ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 char * kwnames
[] = {
8886 (char *) "self",(char *) "number", NULL
8889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8891 if (!SWIG_IsOK(res1
)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8897 if (!SWIG_IsOK(ecode2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8900 arg2
= static_cast< int >(val2
);
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->SetFieldsCount(arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= SWIG_Py_Void();
8915 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8916 PyObject
*resultobj
= 0;
8917 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8921 PyObject
*swig_obj
[1] ;
8923 if (!args
) SWIG_fail
;
8925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8926 if (!SWIG_IsOK(res1
)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8929 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_From_int(static_cast< int >(result
));
8943 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8946 wxString
*arg2
= 0 ;
8947 int arg3
= (int) 0 ;
8950 bool temp2
= false ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 PyObject
* obj2
= 0 ;
8956 char * kwnames
[] = {
8957 (char *) "self",(char *) "text",(char *) "number", NULL
8960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8962 if (!SWIG_IsOK(res1
)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8965 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8967 arg2
= wxString_in_helper(obj1
);
8968 if (arg2
== NULL
) SWIG_fail
;
8972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8973 if (!SWIG_IsOK(ecode3
)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8976 arg3
= static_cast< int >(val3
);
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_Py_Void();
8999 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
= 0;
9001 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9002 int arg2
= (int) 0 ;
9008 PyObject
* obj0
= 0 ;
9009 PyObject
* obj1
= 0 ;
9010 char * kwnames
[] = {
9011 (char *) "self",(char *) "number", NULL
9014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9016 if (!SWIG_IsOK(res1
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9019 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9022 if (!SWIG_IsOK(ecode2
)) {
9023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9025 arg2
= static_cast< int >(val2
);
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9046 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9049 wxString
*arg2
= 0 ;
9050 int arg3
= (int) 0 ;
9053 bool temp2
= false ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 PyObject
* obj2
= 0 ;
9059 char * kwnames
[] = {
9060 (char *) "self",(char *) "text",(char *) "number", NULL
9063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9065 if (!SWIG_IsOK(res1
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9068 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9070 arg2
= wxString_in_helper(obj1
);
9071 if (arg2
== NULL
) SWIG_fail
;
9075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9076 if (!SWIG_IsOK(ecode3
)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9079 arg3
= static_cast< int >(val3
);
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_Py_Void();
9102 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= 0;
9104 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9105 int arg2
= (int) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "self",(char *) "number", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9118 if (!SWIG_IsOK(res1
)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9121 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9124 if (!SWIG_IsOK(ecode2
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9127 arg2
= static_cast< int >(val2
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 (arg1
)->PopStatusText(arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9142 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
= 0;
9144 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9146 int *arg3
= (int *) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9151 char * kwnames
[] = {
9152 (char *) "self",(char *) "widths", NULL
9155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9160 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9162 arg2
= PyList_Size(obj1
);
9163 arg3
= int_LIST_helper(obj1
);
9164 if (arg3
== NULL
) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_Py_Void();
9174 if (arg3
) delete [] arg3
;
9179 if (arg3
) delete [] arg3
;
9185 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
= 0;
9187 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9189 int *arg3
= (int *) 0 ;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 char * kwnames
[] = {
9195 (char *) "self",(char *) "styles", NULL
9198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9200 if (!SWIG_IsOK(res1
)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9203 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9205 arg2
= PyList_Size(obj1
);
9206 arg3
= int_LIST_helper(obj1
);
9207 if (arg3
== NULL
) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_Py_Void();
9217 if (arg3
) delete [] arg3
;
9222 if (arg3
) delete [] arg3
;
9228 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= 0;
9230 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 char * kwnames
[] = {
9240 (char *) "self",(char *) "i", NULL
9243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9245 if (!SWIG_IsOK(res1
)) {
9246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9248 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9250 if (!SWIG_IsOK(ecode2
)) {
9251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9253 arg2
= static_cast< int >(val2
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9267 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
= 0;
9269 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 char * kwnames
[] = {
9278 (char *) "self",(char *) "height", NULL
9281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9283 if (!SWIG_IsOK(res1
)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9286 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9288 if (!SWIG_IsOK(ecode2
)) {
9289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9291 arg2
= static_cast< int >(val2
);
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetMinHeight(arg2
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_Py_Void();
9305 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9306 PyObject
*resultobj
= 0;
9307 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9311 PyObject
*swig_obj
[1] ;
9313 if (!args
) SWIG_fail
;
9315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9316 if (!SWIG_IsOK(res1
)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9319 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_From_int(static_cast< int >(result
));
9333 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9334 PyObject
*resultobj
= 0;
9335 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9339 PyObject
*swig_obj
[1] ;
9341 if (!args
) SWIG_fail
;
9343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9344 if (!SWIG_IsOK(res1
)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9347 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_From_int(static_cast< int >(result
));
9361 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9364 SwigValueWrapper
<wxVisualAttributes
> result
;
9367 PyObject
* obj0
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "variant", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9375 if (!SWIG_IsOK(ecode1
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9378 arg1
= static_cast< wxWindowVariant
>(val1
);
9381 if (!wxPyCheckForApp()) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9394 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9397 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9398 return SWIG_Py_Void();
9401 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 return SWIG_Python_InitShadowInstance(args
);
9405 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9406 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9411 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9412 PyObject
*pyobj
= 0;
9416 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9418 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9425 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxWindow
*arg1
= (wxWindow
*) 0 ;
9428 int arg2
= (int) -1 ;
9429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9433 long arg5
= (long) wxSP_3D
;
9434 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9435 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9436 wxSplitterWindow
*result
= 0 ;
9445 bool temp6
= false ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 PyObject
* obj2
= 0 ;
9449 PyObject
* obj3
= 0 ;
9450 PyObject
* obj4
= 0 ;
9451 PyObject
* obj5
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9464 if (!SWIG_IsOK(ecode2
)) {
9465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9467 arg2
= static_cast< int >(val2
);
9472 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9478 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9482 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9483 if (!SWIG_IsOK(ecode5
)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9486 arg5
= static_cast< long >(val5
);
9490 arg6
= wxString_in_helper(obj5
);
9491 if (arg6
== NULL
) SWIG_fail
;
9496 if (!wxPyCheckForApp()) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9517 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9518 PyObject
*resultobj
= 0;
9519 wxSplitterWindow
*result
= 0 ;
9521 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9523 if (!wxPyCheckForApp()) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9536 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= 0;
9538 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9539 wxWindow
*arg2
= (wxWindow
*) 0 ;
9540 int arg3
= (int) -1 ;
9541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9545 long arg6
= (long) wxSP_3D
;
9546 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9547 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9559 bool temp7
= false ;
9560 PyObject
* obj0
= 0 ;
9561 PyObject
* obj1
= 0 ;
9562 PyObject
* obj2
= 0 ;
9563 PyObject
* obj3
= 0 ;
9564 PyObject
* obj4
= 0 ;
9565 PyObject
* obj5
= 0 ;
9566 PyObject
* obj6
= 0 ;
9567 char * kwnames
[] = {
9568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9576 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9578 if (!SWIG_IsOK(res2
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9581 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9584 if (!SWIG_IsOK(ecode3
)) {
9585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9587 arg3
= static_cast< int >(val3
);
9592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9602 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9603 if (!SWIG_IsOK(ecode6
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9606 arg6
= static_cast< long >(val6
);
9610 arg7
= wxString_in_helper(obj6
);
9611 if (arg7
== NULL
) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9638 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9639 PyObject
*resultobj
= 0;
9640 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9641 wxWindow
*result
= 0 ;
9644 PyObject
*swig_obj
[1] ;
9646 if (!args
) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9652 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= wxPyMake_wxObject(result
, 0);
9668 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 PyObject
*resultobj
= 0;
9670 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9671 wxWindow
*result
= 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9682 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= wxPyMake_wxObject(result
, 0);
9698 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "mode", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9719 if (!SWIG_IsOK(ecode2
)) {
9720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9722 arg2
= static_cast< int >(val2
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetSplitMode(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9736 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9737 PyObject
*resultobj
= 0;
9738 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9742 PyObject
*swig_obj
[1] ;
9744 if (!args
) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9750 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_From_int(static_cast< int >(result
));
9764 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= 0;
9766 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9767 wxWindow
*arg2
= (wxWindow
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "window", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9783 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9785 if (!SWIG_IsOK(res2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->Initialize(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_Py_Void();
9802 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
= 0;
9804 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9805 wxWindow
*arg2
= (wxWindow
*) 0 ;
9806 wxWindow
*arg3
= (wxWindow
*) 0 ;
9807 int arg4
= (int) 0 ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 PyObject
* obj2
= 0 ;
9820 PyObject
* obj3
= 0 ;
9821 char * kwnames
[] = {
9822 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9830 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9832 if (!SWIG_IsOK(res2
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9836 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9837 if (!SWIG_IsOK(res3
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9840 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9843 if (!SWIG_IsOK(ecode4
)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9846 arg4
= static_cast< int >(val4
);
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9866 wxWindow
*arg2
= (wxWindow
*) 0 ;
9867 wxWindow
*arg3
= (wxWindow
*) 0 ;
9868 int arg4
= (int) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 PyObject
* obj2
= 0 ;
9881 PyObject
* obj3
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9891 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9893 if (!SWIG_IsOK(res2
)) {
9894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9896 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9897 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9898 if (!SWIG_IsOK(res3
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9901 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9903 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9904 if (!SWIG_IsOK(ecode4
)) {
9905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9907 arg4
= static_cast< int >(val4
);
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9924 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
= 0;
9926 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9927 wxWindow
*arg2
= (wxWindow
*) NULL
;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 char * kwnames
[] = {
9936 (char *) "self",(char *) "toRemove", NULL
9939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9941 if (!SWIG_IsOK(res1
)) {
9942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9944 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9947 if (!SWIG_IsOK(res2
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9950 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (bool)(arg1
)->Unsplit(arg2
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9967 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9969 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9970 wxWindow
*arg2
= (wxWindow
*) 0 ;
9971 wxWindow
*arg3
= (wxWindow
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9980 PyObject
* obj1
= 0 ;
9981 PyObject
* obj2
= 0 ;
9982 char * kwnames
[] = {
9983 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9988 if (!SWIG_IsOK(res1
)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9991 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9993 if (!SWIG_IsOK(res2
)) {
9994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9997 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9998 if (!SWIG_IsOK(res3
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10001 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10017 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10018 PyObject
*resultobj
= 0;
10019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10022 PyObject
*swig_obj
[1] ;
10024 if (!args
) SWIG_fail
;
10025 swig_obj
[0] = args
;
10026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 (arg1
)->UpdateSize();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_Py_Void();
10044 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10045 PyObject
*resultobj
= 0;
10046 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10050 PyObject
*swig_obj
[1] ;
10052 if (!args
) SWIG_fail
;
10053 swig_obj
[0] = args
;
10054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10055 if (!SWIG_IsOK(res1
)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10058 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10074 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "width", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetSashSize(arg2
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_Py_Void();
10112 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
= 0;
10114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 char * kwnames
[] = {
10123 (char *) "self",(char *) "width", NULL
10126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10131 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10133 if (!SWIG_IsOK(ecode2
)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10136 arg2
= static_cast< int >(val2
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->SetBorderSize(arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_Py_Void();
10150 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10151 PyObject
*resultobj
= 0;
10152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10156 PyObject
*swig_obj
[1] ;
10158 if (!args
) SWIG_fail
;
10159 swig_obj
[0] = args
;
10160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10161 if (!SWIG_IsOK(res1
)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10164 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_From_int(static_cast< int >(result
));
10178 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10179 PyObject
*resultobj
= 0;
10180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10184 PyObject
*swig_obj
[1] ;
10186 if (!args
) SWIG_fail
;
10187 swig_obj
[0] = args
;
10188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10189 if (!SWIG_IsOK(res1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10192 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_From_int(static_cast< int >(result
));
10206 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
= 0;
10208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10210 bool arg3
= (bool) true ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 PyObject
* obj2
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "self",(char *) "position",(char *) "redraw", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10229 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10231 if (!SWIG_IsOK(ecode2
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10234 arg2
= static_cast< int >(val2
);
10236 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10237 if (!SWIG_IsOK(ecode3
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10240 arg3
= static_cast< bool >(val3
);
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 (arg1
)->SetSashPosition(arg2
,arg3
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_Py_Void();
10255 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10256 PyObject
*resultobj
= 0;
10257 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10261 PyObject
*swig_obj
[1] ;
10263 if (!args
) SWIG_fail
;
10264 swig_obj
[0] = args
;
10265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10266 if (!SWIG_IsOK(res1
)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10269 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= SWIG_From_int(static_cast< int >(result
));
10283 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
= 0;
10285 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "gravity", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10302 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10303 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10307 arg2
= static_cast< double >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->SetSashGravity(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_Py_Void();
10321 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10322 PyObject
*resultobj
= 0;
10323 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10327 PyObject
*swig_obj
[1] ;
10329 if (!args
) SWIG_fail
;
10330 swig_obj
[0] = args
;
10331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10332 if (!SWIG_IsOK(res1
)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10335 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_From_double(static_cast< double >(result
));
10349 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "min", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10368 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10370 if (!SWIG_IsOK(ecode2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10373 arg2
= static_cast< int >(val2
);
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 (arg1
)->SetMinimumPaneSize(arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= SWIG_Py_Void();
10387 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10388 PyObject
*resultobj
= 0;
10389 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10393 PyObject
*swig_obj
[1] ;
10395 if (!args
) SWIG_fail
;
10396 swig_obj
[0] = args
;
10397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10398 if (!SWIG_IsOK(res1
)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10401 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= SWIG_From_int(static_cast< int >(result
));
10415 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
= 0;
10417 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10420 int arg4
= (int) 5 ;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 PyObject
* obj2
= 0 ;
10433 PyObject
* obj3
= 0 ;
10434 char * kwnames
[] = {
10435 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10440 if (!SWIG_IsOK(res1
)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10443 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10445 if (!SWIG_IsOK(ecode2
)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10448 arg2
= static_cast< int >(val2
);
10449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10450 if (!SWIG_IsOK(ecode3
)) {
10451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10453 arg3
= static_cast< int >(val3
);
10455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10456 if (!SWIG_IsOK(ecode4
)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10459 arg4
= static_cast< int >(val4
);
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10476 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10477 PyObject
*resultobj
= 0;
10478 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10481 PyObject
*swig_obj
[1] ;
10483 if (!args
) SWIG_fail
;
10484 swig_obj
[0] = args
;
10485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10489 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 (arg1
)->SizeWindows();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_Py_Void();
10503 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= 0;
10505 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char * kwnames
[] = {
10514 (char *) "self",(char *) "needUpdating", NULL
10517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10519 if (!SWIG_IsOK(res1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10522 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10523 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10524 if (!SWIG_IsOK(ecode2
)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10527 arg2
= static_cast< bool >(val2
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 (arg1
)->SetNeedUpdating(arg2
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_Py_Void();
10541 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10542 PyObject
*resultobj
= 0;
10543 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10547 PyObject
*swig_obj
[1] ;
10549 if (!args
) SWIG_fail
;
10550 swig_obj
[0] = args
;
10551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10555 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10571 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
= 0;
10573 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10574 SwigValueWrapper
<wxVisualAttributes
> result
;
10577 PyObject
* obj0
= 0 ;
10578 char * kwnames
[] = {
10579 (char *) "variant", NULL
10582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10584 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10585 if (!SWIG_IsOK(ecode1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10588 arg1
= static_cast< wxWindowVariant
>(val1
);
10591 if (!wxPyCheckForApp()) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10604 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10607 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10608 return SWIG_Py_Void();
10611 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10612 return SWIG_Python_InitShadowInstance(args
);
10615 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10618 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10619 wxSplitterEvent
*result
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char * kwnames
[] = {
10627 (char *) "type",(char *) "splitter", NULL
10630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10633 if (!SWIG_IsOK(ecode1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10636 arg1
= static_cast< wxEventType
>(val1
);
10639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10640 if (!SWIG_IsOK(res2
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10643 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10658 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
= 0;
10660 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 char * kwnames
[] = {
10669 (char *) "self",(char *) "pos", NULL
10672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10674 if (!SWIG_IsOK(res1
)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10677 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10679 if (!SWIG_IsOK(ecode2
)) {
10680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10682 arg2
= static_cast< int >(val2
);
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 (arg1
)->SetSashPosition(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_Py_Void();
10696 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10697 PyObject
*resultobj
= 0;
10698 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10702 PyObject
*swig_obj
[1] ;
10704 if (!args
) SWIG_fail
;
10705 swig_obj
[0] = args
;
10706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10707 if (!SWIG_IsOK(res1
)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10710 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= SWIG_From_int(static_cast< int >(result
));
10724 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10725 PyObject
*resultobj
= 0;
10726 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10727 wxWindow
*result
= 0 ;
10730 PyObject
*swig_obj
[1] ;
10732 if (!args
) SWIG_fail
;
10733 swig_obj
[0] = args
;
10734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10738 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= wxPyMake_wxObject(result
, 0);
10754 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 PyObject
*resultobj
= 0;
10756 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10760 PyObject
*swig_obj
[1] ;
10762 if (!args
) SWIG_fail
;
10763 swig_obj
[0] = args
;
10764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10768 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_From_int(static_cast< int >(result
));
10782 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10783 PyObject
*resultobj
= 0;
10784 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10788 PyObject
*swig_obj
[1] ;
10790 if (!args
) SWIG_fail
;
10791 swig_obj
[0] = args
;
10792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10796 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_From_int(static_cast< int >(result
));
10810 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10814 return SWIG_Py_Void();
10817 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10818 return SWIG_Python_InitShadowInstance(args
);
10821 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10822 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10827 SWIGINTERN PyObject
*SashNameStr_get(void) {
10828 PyObject
*pyobj
= 0;
10832 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10834 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10841 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10842 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10847 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10848 PyObject
*pyobj
= 0;
10852 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10854 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10861 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxWindow
*arg1
= (wxWindow
*) 0 ;
10864 int arg2
= (int) -1 ;
10865 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10866 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10867 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10868 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10869 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10870 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10871 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10872 wxSashWindow
*result
= 0 ;
10881 bool temp6
= false ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 PyObject
* obj2
= 0 ;
10885 PyObject
* obj3
= 0 ;
10886 PyObject
* obj4
= 0 ;
10887 PyObject
* obj5
= 0 ;
10888 char * kwnames
[] = {
10889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10900 if (!SWIG_IsOK(ecode2
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10903 arg2
= static_cast< int >(val2
);
10908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10914 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10918 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10919 if (!SWIG_IsOK(ecode5
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10922 arg5
= static_cast< long >(val5
);
10926 arg6
= wxString_in_helper(obj5
);
10927 if (arg6
== NULL
) SWIG_fail
;
10932 if (!wxPyCheckForApp()) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10953 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10954 PyObject
*resultobj
= 0;
10955 wxSashWindow
*result
= 0 ;
10957 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10959 if (!wxPyCheckForApp()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (wxSashWindow
*)new wxSashWindow();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10972 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10975 wxWindow
*arg2
= (wxWindow
*) 0 ;
10976 int arg3
= (int) -1 ;
10977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10981 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10982 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10983 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10995 bool temp7
= false ;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 PyObject
* obj2
= 0 ;
10999 PyObject
* obj3
= 0 ;
11000 PyObject
* obj4
= 0 ;
11001 PyObject
* obj5
= 0 ;
11002 PyObject
* obj6
= 0 ;
11003 char * kwnames
[] = {
11004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11012 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11014 if (!SWIG_IsOK(res2
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11020 if (!SWIG_IsOK(ecode3
)) {
11021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11023 arg3
= static_cast< int >(val3
);
11028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11039 if (!SWIG_IsOK(ecode6
)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11042 arg6
= static_cast< long >(val6
);
11046 arg7
= wxString_in_helper(obj6
);
11047 if (arg7
== NULL
) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11074 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
= 0;
11076 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11077 wxSashEdgePosition arg2
;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 PyObject
* obj2
= 0 ;
11088 char * kwnames
[] = {
11089 (char *) "self",(char *) "edge",(char *) "sash", NULL
11092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11097 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11099 if (!SWIG_IsOK(ecode2
)) {
11100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11102 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11103 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11104 if (!SWIG_IsOK(ecode3
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11107 arg3
= static_cast< bool >(val3
);
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 (arg1
)->SetSashVisible(arg2
,arg3
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_Py_Void();
11121 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= 0;
11123 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11124 wxSashEdgePosition arg2
;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "edge", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11141 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11143 if (!SWIG_IsOK(ecode2
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11146 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
= 0;
11164 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11165 wxSashEdgePosition arg2
;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 PyObject
* obj2
= 0 ;
11176 char * kwnames
[] = {
11177 (char *) "self",(char *) "edge",(char *) "border", NULL
11180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11185 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11187 if (!SWIG_IsOK(ecode2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11190 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11191 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11192 if (!SWIG_IsOK(ecode3
)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11195 arg3
= static_cast< bool >(val3
);
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 (arg1
)->SetSashBorder(arg2
,arg3
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= SWIG_Py_Void();
11209 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
= 0;
11211 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11212 wxSashEdgePosition arg2
;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 char * kwnames
[] = {
11221 (char *) "self",(char *) "edge", NULL
11224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11226 if (!SWIG_IsOK(res1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11229 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11231 if (!SWIG_IsOK(ecode2
)) {
11232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11234 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11250 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= 0;
11252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11253 wxSashEdgePosition arg2
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "edge", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11272 if (!SWIG_IsOK(ecode2
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11275 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_From_int(static_cast< int >(result
));
11289 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= 0;
11291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char * kwnames
[] = {
11300 (char *) "self",(char *) "width", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11308 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11310 if (!SWIG_IsOK(ecode2
)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11313 arg2
= static_cast< int >(val2
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->SetDefaultBorderSize(arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_Py_Void();
11327 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11328 PyObject
*resultobj
= 0;
11329 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11333 PyObject
*swig_obj
[1] ;
11335 if (!args
) SWIG_fail
;
11336 swig_obj
[0] = args
;
11337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_int(static_cast< int >(result
));
11355 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char * kwnames
[] = {
11366 (char *) "self",(char *) "width", NULL
11369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11374 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11376 if (!SWIG_IsOK(ecode2
)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11379 arg2
= static_cast< int >(val2
);
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->SetExtraBorderSize(arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_Py_Void();
11393 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11394 PyObject
*resultobj
= 0;
11395 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11399 PyObject
*swig_obj
[1] ;
11401 if (!args
) SWIG_fail
;
11402 swig_obj
[0] = args
;
11403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11404 if (!SWIG_IsOK(res1
)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11407 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_From_int(static_cast< int >(result
));
11421 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
= 0;
11423 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "self",(char *) "min", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11442 if (!SWIG_IsOK(ecode2
)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11445 arg2
= static_cast< int >(val2
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 (arg1
)->SetMinimumSizeX(arg2
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_Py_Void();
11459 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
= 0;
11461 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char * kwnames
[] = {
11470 (char *) "self",(char *) "min", NULL
11473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11478 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11480 if (!SWIG_IsOK(ecode2
)) {
11481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11483 arg2
= static_cast< int >(val2
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 (arg1
)->SetMinimumSizeY(arg2
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_Py_Void();
11497 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11498 PyObject
*resultobj
= 0;
11499 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11503 PyObject
*swig_obj
[1] ;
11505 if (!args
) SWIG_fail
;
11506 swig_obj
[0] = args
;
11507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11508 if (!SWIG_IsOK(res1
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11511 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_From_int(static_cast< int >(result
));
11525 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11526 PyObject
*resultobj
= 0;
11527 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11531 PyObject
*swig_obj
[1] ;
11533 if (!args
) SWIG_fail
;
11534 swig_obj
[0] = args
;
11535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11539 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_From_int(static_cast< int >(result
));
11553 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
= 0;
11555 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 char * kwnames
[] = {
11564 (char *) "self",(char *) "max", NULL
11567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11569 if (!SWIG_IsOK(res1
)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11572 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11574 if (!SWIG_IsOK(ecode2
)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11577 arg2
= static_cast< int >(val2
);
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 (arg1
)->SetMaximumSizeX(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= SWIG_Py_Void();
11591 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
= 0;
11593 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char * kwnames
[] = {
11602 (char *) "self",(char *) "max", NULL
11605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11610 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11612 if (!SWIG_IsOK(ecode2
)) {
11613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11615 arg2
= static_cast< int >(val2
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 (arg1
)->SetMaximumSizeY(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_Py_Void();
11629 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11630 PyObject
*resultobj
= 0;
11631 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11635 PyObject
*swig_obj
[1] ;
11637 if (!args
) SWIG_fail
;
11638 swig_obj
[0] = args
;
11639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11640 if (!SWIG_IsOK(res1
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11643 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_From_int(static_cast< int >(result
));
11657 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11658 PyObject
*resultobj
= 0;
11659 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11663 PyObject
*swig_obj
[1] ;
11665 if (!args
) SWIG_fail
;
11666 swig_obj
[0] = args
;
11667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11668 if (!SWIG_IsOK(res1
)) {
11669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11671 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= SWIG_From_int(static_cast< int >(result
));
11685 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
= 0;
11687 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11690 int arg4
= (int) 2 ;
11691 wxSashEdgePosition result
;
11700 PyObject
* obj0
= 0 ;
11701 PyObject
* obj1
= 0 ;
11702 PyObject
* obj2
= 0 ;
11703 PyObject
* obj3
= 0 ;
11704 char * kwnames
[] = {
11705 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11713 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11715 if (!SWIG_IsOK(ecode2
)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11718 arg2
= static_cast< int >(val2
);
11719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11720 if (!SWIG_IsOK(ecode3
)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11723 arg3
= static_cast< int >(val3
);
11725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11726 if (!SWIG_IsOK(ecode4
)) {
11727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11729 arg4
= static_cast< int >(val4
);
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_From_int(static_cast< int >(result
));
11744 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11745 PyObject
*resultobj
= 0;
11746 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11749 PyObject
*swig_obj
[1] ;
11751 if (!args
) SWIG_fail
;
11752 swig_obj
[0] = args
;
11753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11754 if (!SWIG_IsOK(res1
)) {
11755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11757 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 (arg1
)->SizeWindows();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= SWIG_Py_Void();
11771 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11774 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11775 return SWIG_Py_Void();
11778 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 return SWIG_Python_InitShadowInstance(args
);
11782 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
= 0;
11784 int arg1
= (int) 0 ;
11785 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11786 wxSashEvent
*result
= 0 ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 char * kwnames
[] = {
11794 (char *) "id",(char *) "edge", NULL
11797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11800 if (!SWIG_IsOK(ecode1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11803 arg1
= static_cast< int >(val1
);
11806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11807 if (!SWIG_IsOK(ecode2
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11810 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11825 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= 0;
11827 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11828 wxSashEdgePosition arg2
;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char * kwnames
[] = {
11836 (char *) "self",(char *) "edge", NULL
11839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11841 if (!SWIG_IsOK(res1
)) {
11842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11844 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11846 if (!SWIG_IsOK(ecode2
)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11849 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->SetEdge(arg2
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_Py_Void();
11863 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 PyObject
*resultobj
= 0;
11865 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11866 wxSashEdgePosition result
;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11877 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_From_int(static_cast< int >(result
));
11891 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "rect", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11909 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_Py_Void();
11927 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 PyObject
*resultobj
= 0;
11929 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11933 PyObject
*swig_obj
[1] ;
11935 if (!args
) SWIG_fail
;
11936 swig_obj
[0] = args
;
11937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11941 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11955 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
= 0;
11957 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11958 wxSashDragStatus arg2
;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 char * kwnames
[] = {
11966 (char *) "self",(char *) "status", NULL
11969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11974 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11976 if (!SWIG_IsOK(ecode2
)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11979 arg2
= static_cast< wxSashDragStatus
>(val2
);
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 (arg1
)->SetDragStatus(arg2
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= SWIG_Py_Void();
11993 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11994 PyObject
*resultobj
= 0;
11995 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11996 wxSashDragStatus result
;
11999 PyObject
*swig_obj
[1] ;
12001 if (!args
) SWIG_fail
;
12002 swig_obj
[0] = args
;
12003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12007 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_From_int(static_cast< int >(result
));
12021 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12024 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12025 return SWIG_Py_Void();
12028 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 return SWIG_Python_InitShadowInstance(args
);
12032 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= 0;
12034 int arg1
= (int) 0 ;
12035 wxQueryLayoutInfoEvent
*result
= 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char * kwnames
[] = {
12040 (char *) "id", NULL
12043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12046 if (!SWIG_IsOK(ecode1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12049 arg1
= static_cast< int >(val1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12064 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
= 0;
12066 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char * kwnames
[] = {
12075 (char *) "self",(char *) "length", NULL
12078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12080 if (!SWIG_IsOK(res1
)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12083 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12085 if (!SWIG_IsOK(ecode2
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12088 arg2
= static_cast< int >(val2
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->SetRequestedLength(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12116 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_From_int(static_cast< int >(result
));
12130 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char * kwnames
[] = {
12141 (char *) "self",(char *) "flags", NULL
12144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12149 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12151 if (!SWIG_IsOK(ecode2
)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12154 arg2
= static_cast< int >(val2
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetFlags(arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_Py_Void();
12168 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12169 PyObject
*resultobj
= 0;
12170 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12174 PyObject
*swig_obj
[1] ;
12176 if (!args
) SWIG_fail
;
12177 swig_obj
[0] = args
;
12178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12179 if (!SWIG_IsOK(res1
)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12182 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_From_int(static_cast< int >(result
));
12196 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= 0;
12198 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char * kwnames
[] = {
12206 (char *) "self",(char *) "size", NULL
12209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12214 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->SetSize((wxSize
const &)*arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_Py_Void();
12232 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12238 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12246 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12260 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
= 0;
12262 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12263 wxLayoutOrientation arg2
;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char * kwnames
[] = {
12271 (char *) "self",(char *) "orient", NULL
12274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12279 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12281 if (!SWIG_IsOK(ecode2
)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12284 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->SetOrientation(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_Py_Void();
12298 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12301 wxLayoutOrientation result
;
12304 PyObject
*swig_obj
[1] ;
12306 if (!args
) SWIG_fail
;
12307 swig_obj
[0] = args
;
12308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12312 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_From_int(static_cast< int >(result
));
12326 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
= 0;
12328 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12329 wxLayoutAlignment arg2
;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char * kwnames
[] = {
12337 (char *) "self",(char *) "align", NULL
12340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12345 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12347 if (!SWIG_IsOK(ecode2
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12350 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->SetAlignment(arg2
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_Py_Void();
12364 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12365 PyObject
*resultobj
= 0;
12366 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12367 wxLayoutAlignment result
;
12370 PyObject
*swig_obj
[1] ;
12372 if (!args
) SWIG_fail
;
12373 swig_obj
[0] = args
;
12374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12375 if (!SWIG_IsOK(res1
)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12378 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_From_int(static_cast< int >(result
));
12392 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12395 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12396 return SWIG_Py_Void();
12399 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12400 return SWIG_Python_InitShadowInstance(args
);
12403 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
= 0;
12405 int arg1
= (int) 0 ;
12406 wxCalculateLayoutEvent
*result
= 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "id", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12416 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12417 if (!SWIG_IsOK(ecode1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12420 arg1
= static_cast< int >(val1
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12435 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= 0;
12437 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "flags", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12454 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12456 if (!SWIG_IsOK(ecode2
)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12459 arg2
= static_cast< int >(val2
);
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->SetFlags(arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_Py_Void();
12473 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12479 PyObject
*swig_obj
[1] ;
12481 if (!args
) SWIG_fail
;
12482 swig_obj
[0] = args
;
12483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12484 if (!SWIG_IsOK(res1
)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12487 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_From_int(static_cast< int >(result
));
12501 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
= 0;
12503 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char * kwnames
[] = {
12511 (char *) "self",(char *) "rect", NULL
12514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12516 if (!SWIG_IsOK(res1
)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12519 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12522 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->SetRect((wxRect
const &)*arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_Py_Void();
12537 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12538 PyObject
*resultobj
= 0;
12539 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12543 PyObject
*swig_obj
[1] ;
12545 if (!args
) SWIG_fail
;
12546 swig_obj
[0] = args
;
12547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12548 if (!SWIG_IsOK(res1
)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12551 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12565 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12568 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12569 return SWIG_Py_Void();
12572 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12573 return SWIG_Python_InitShadowInstance(args
);
12576 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
= 0;
12578 wxWindow
*arg1
= (wxWindow
*) 0 ;
12579 int arg2
= (int) -1 ;
12580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12584 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12585 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12587 wxSashLayoutWindow
*result
= 0 ;
12596 bool temp6
= false ;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 PyObject
* obj2
= 0 ;
12600 PyObject
* obj3
= 0 ;
12601 PyObject
* obj4
= 0 ;
12602 PyObject
* obj5
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12615 if (!SWIG_IsOK(ecode2
)) {
12616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12618 arg2
= static_cast< int >(val2
);
12623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12633 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12634 if (!SWIG_IsOK(ecode5
)) {
12635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12637 arg5
= static_cast< long >(val5
);
12641 arg6
= wxString_in_helper(obj5
);
12642 if (arg6
== NULL
) SWIG_fail
;
12647 if (!wxPyCheckForApp()) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12668 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12669 PyObject
*resultobj
= 0;
12670 wxSashLayoutWindow
*result
= 0 ;
12672 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12674 if (!wxPyCheckForApp()) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12687 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
= 0;
12689 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12690 wxWindow
*arg2
= (wxWindow
*) 0 ;
12691 int arg3
= (int) -1 ;
12692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12696 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12697 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12710 bool temp7
= false ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 PyObject
* obj2
= 0 ;
12714 PyObject
* obj3
= 0 ;
12715 PyObject
* obj4
= 0 ;
12716 PyObject
* obj5
= 0 ;
12717 PyObject
* obj6
= 0 ;
12718 char * kwnames
[] = {
12719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12724 if (!SWIG_IsOK(res1
)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12727 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12729 if (!SWIG_IsOK(res2
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12735 if (!SWIG_IsOK(ecode3
)) {
12736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12738 arg3
= static_cast< int >(val3
);
12743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12753 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12754 if (!SWIG_IsOK(ecode6
)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12757 arg6
= static_cast< long >(val6
);
12761 arg7
= wxString_in_helper(obj6
);
12762 if (arg7
== NULL
) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12789 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12790 PyObject
*resultobj
= 0;
12791 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12792 wxLayoutAlignment result
;
12795 PyObject
*swig_obj
[1] ;
12797 if (!args
) SWIG_fail
;
12798 swig_obj
[0] = args
;
12799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12800 if (!SWIG_IsOK(res1
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12803 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_From_int(static_cast< int >(result
));
12817 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12818 PyObject
*resultobj
= 0;
12819 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12820 wxLayoutOrientation result
;
12823 PyObject
*swig_obj
[1] ;
12825 if (!args
) SWIG_fail
;
12826 swig_obj
[0] = args
;
12827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12831 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= SWIG_From_int(static_cast< int >(result
));
12845 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12848 wxLayoutAlignment arg2
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 char * kwnames
[] = {
12856 (char *) "self",(char *) "alignment", NULL
12859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12861 if (!SWIG_IsOK(res1
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12864 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12866 if (!SWIG_IsOK(ecode2
)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12869 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->SetAlignment(arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_Py_Void();
12883 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char * kwnames
[] = {
12893 (char *) "self",(char *) "size", NULL
12896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12901 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= SWIG_Py_Void();
12919 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
= 0;
12921 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12922 wxLayoutOrientation arg2
;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "orientation", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12938 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12940 if (!SWIG_IsOK(ecode2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12943 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetOrientation(arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_Py_Void();
12957 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12960 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12961 return SWIG_Py_Void();
12964 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12965 return SWIG_Python_InitShadowInstance(args
);
12968 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 PyObject
*resultobj
= 0;
12970 wxLayoutAlgorithm
*result
= 0 ;
12972 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12986 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12987 PyObject
*resultobj
= 0;
12988 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12991 PyObject
*swig_obj
[1] ;
12993 if (!args
) SWIG_fail
;
12994 swig_obj
[0] = args
;
12995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12996 if (!SWIG_IsOK(res1
)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12999 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_Py_Void();
13014 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
= 0;
13016 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13017 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13018 wxRect
*arg3
= (wxRect
*) NULL
;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 PyObject
* obj2
= 0 ;
13029 char * kwnames
[] = {
13030 (char *) "self",(char *) "frame",(char *) "rect", NULL
13033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13038 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13040 if (!SWIG_IsOK(res2
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13043 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13045 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13046 if (!SWIG_IsOK(res3
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13049 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13066 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13069 wxFrame
*arg2
= (wxFrame
*) 0 ;
13070 wxWindow
*arg3
= (wxWindow
*) NULL
;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13090 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13092 if (!SWIG_IsOK(res2
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13095 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13097 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13098 if (!SWIG_IsOK(res3
)) {
13099 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13101 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13118 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13121 wxWindow
*arg2
= (wxWindow
*) 0 ;
13122 wxWindow
*arg3
= (wxWindow
*) NULL
;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 PyObject
* obj2
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13142 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13144 if (!SWIG_IsOK(res2
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13149 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13150 if (!SWIG_IsOK(res3
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13153 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13170 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13173 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13174 return SWIG_Py_Void();
13177 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 return SWIG_Python_InitShadowInstance(args
);
13181 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
= 0;
13183 wxWindow
*arg1
= (wxWindow
*) 0 ;
13184 int arg2
= (int) wxBORDER_NONE
;
13185 wxPopupWindow
*result
= 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 char * kwnames
[] = {
13193 (char *) "parent",(char *) "flags", NULL
13196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13198 if (!SWIG_IsOK(res1
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13201 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13204 if (!SWIG_IsOK(ecode2
)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13207 arg2
= static_cast< int >(val2
);
13210 if (!wxPyCheckForApp()) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13223 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13224 PyObject
*resultobj
= 0;
13225 wxPopupWindow
*result
= 0 ;
13227 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13229 if (!wxPyCheckForApp()) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxPopupWindow
*)new wxPopupWindow();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13242 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13245 wxWindow
*arg2
= (wxWindow
*) 0 ;
13246 int arg3
= (int) wxBORDER_NONE
;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 PyObject
* obj2
= 0 ;
13257 char * kwnames
[] = {
13258 (char *) "self",(char *) "parent",(char *) "flags", NULL
13261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13263 if (!SWIG_IsOK(res1
)) {
13264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13266 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13268 if (!SWIG_IsOK(res2
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13274 if (!SWIG_IsOK(ecode3
)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13277 arg3
= static_cast< int >(val3
);
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13294 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
= 0;
13296 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13297 wxPoint
*arg2
= 0 ;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 PyObject
* obj2
= 0 ;
13306 char * kwnames
[] = {
13307 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13315 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13322 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13341 return SWIG_Py_Void();
13344 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 return SWIG_Python_InitShadowInstance(args
);
13348 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
= 0;
13350 wxWindow
*arg1
= (wxWindow
*) 0 ;
13351 int arg2
= (int) wxBORDER_NONE
;
13352 wxPyPopupTransientWindow
*result
= 0 ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 char * kwnames
[] = {
13360 (char *) "parent",(char *) "style", NULL
13363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13365 if (!SWIG_IsOK(res1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13368 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13371 if (!SWIG_IsOK(ecode2
)) {
13372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13374 arg2
= static_cast< int >(val2
);
13377 if (!wxPyCheckForApp()) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13390 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxPyPopupTransientWindow
*result
= 0 ;
13394 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13396 if (!wxPyCheckForApp()) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13409 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13412 PyObject
*arg2
= (PyObject
*) 0 ;
13413 PyObject
*arg3
= (PyObject
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 PyObject
* obj2
= 0 ;
13419 char * kwnames
[] = {
13420 (char *) "self",(char *) "self",(char *) "_class", NULL
13423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13425 if (!SWIG_IsOK(res1
)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13428 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_Py_Void();
13444 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
= 0;
13446 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13447 wxWindow
*arg2
= (wxWindow
*) NULL
;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "self",(char *) "focus", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13460 if (!SWIG_IsOK(res1
)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13463 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13466 if (!SWIG_IsOK(res2
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13469 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->Popup(arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_Py_Void();
13484 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13489 PyObject
*swig_obj
[1] ;
13491 if (!args
) SWIG_fail
;
13492 swig_obj
[0] = args
;
13493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13497 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_Py_Void();
13511 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13515 return SWIG_Py_Void();
13518 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13519 return SWIG_Python_InitShadowInstance(args
);
13522 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
= 0;
13524 wxWindow
*arg1
= (wxWindow
*) 0 ;
13525 wxString
*arg2
= 0 ;
13526 int arg3
= (int) 100 ;
13527 wxRect
*arg4
= (wxRect
*) NULL
;
13528 wxTipWindow
*result
= 0 ;
13531 bool temp2
= false ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 PyObject
* obj2
= 0 ;
13539 PyObject
* obj3
= 0 ;
13540 char * kwnames
[] = {
13541 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13546 if (!SWIG_IsOK(res1
)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13551 arg2
= wxString_in_helper(obj1
);
13552 if (arg2
== NULL
) SWIG_fail
;
13556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13557 if (!SWIG_IsOK(ecode3
)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13560 arg3
= static_cast< int >(val3
);
13563 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13564 if (!SWIG_IsOK(res4
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13567 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13570 if (!wxPyCheckForApp()) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13591 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
= 0;
13593 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char * kwnames
[] = {
13601 (char *) "self",(char *) "rectBound", NULL
13604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13609 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_Py_Void();
13627 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13628 PyObject
*resultobj
= 0;
13629 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13632 PyObject
*swig_obj
[1] ;
13634 if (!args
) SWIG_fail
;
13635 swig_obj
[0] = args
;
13636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13637 if (!SWIG_IsOK(res1
)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13640 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= SWIG_Py_Void();
13654 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13657 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13658 return SWIG_Py_Void();
13661 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13662 return SWIG_Python_InitShadowInstance(args
);
13665 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
= 0;
13667 wxWindow
*arg1
= (wxWindow
*) 0 ;
13668 int arg2
= (int) wxID_ANY
;
13669 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13670 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13671 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13672 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13673 long arg5
= (long) 0 ;
13674 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13675 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13676 wxPyVScrolledWindow
*result
= 0 ;
13685 bool temp6
= false ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 PyObject
* obj2
= 0 ;
13689 PyObject
* obj3
= 0 ;
13690 PyObject
* obj4
= 0 ;
13691 PyObject
* obj5
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13701 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13704 if (!SWIG_IsOK(ecode2
)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13707 arg2
= static_cast< int >(val2
);
13712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13718 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13722 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13723 if (!SWIG_IsOK(ecode5
)) {
13724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13726 arg5
= static_cast< long >(val5
);
13730 arg6
= wxString_in_helper(obj5
);
13731 if (arg6
== NULL
) SWIG_fail
;
13736 if (!wxPyCheckForApp()) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13757 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13758 PyObject
*resultobj
= 0;
13759 wxPyVScrolledWindow
*result
= 0 ;
13761 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13763 if (!wxPyCheckForApp()) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13776 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13779 PyObject
*arg2
= (PyObject
*) 0 ;
13780 PyObject
*arg3
= (PyObject
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 PyObject
* obj2
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "self",(char *) "_class", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= SWIG_Py_Void();
13811 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
= 0;
13813 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13814 wxWindow
*arg2
= (wxWindow
*) 0 ;
13815 int arg3
= (int) wxID_ANY
;
13816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13820 long arg6
= (long) 0 ;
13821 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13822 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13834 bool temp7
= false ;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 PyObject
* obj3
= 0 ;
13839 PyObject
* obj4
= 0 ;
13840 PyObject
* obj5
= 0 ;
13841 PyObject
* obj6
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13851 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13853 if (!SWIG_IsOK(res2
)) {
13854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13856 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13859 if (!SWIG_IsOK(ecode3
)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13862 arg3
= static_cast< int >(val3
);
13867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13878 if (!SWIG_IsOK(ecode6
)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13881 arg6
= static_cast< long >(val6
);
13885 arg7
= wxString_in_helper(obj6
);
13886 if (arg7
== NULL
) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
= 0;
13915 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "count", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13932 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13933 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13934 if (!SWIG_IsOK(ecode2
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13937 arg2
= static_cast< size_t >(val2
);
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 (arg1
)->SetLineCount(arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_Py_Void();
13951 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
= 0;
13953 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 char * kwnames
[] = {
13963 (char *) "self",(char *) "line", NULL
13966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13968 if (!SWIG_IsOK(res1
)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13971 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13972 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13973 if (!SWIG_IsOK(ecode2
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13976 arg2
= static_cast< size_t >(val2
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13992 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
= 0;
13994 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 char * kwnames
[] = {
14003 (char *) "self",(char *) "line", NULL
14006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14011 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14012 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14013 if (!SWIG_IsOK(ecode2
)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14016 arg2
= static_cast< size_t >(val2
);
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 (arg1
)->RefreshLine(arg2
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_Py_Void();
14030 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
= 0;
14032 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "self",(char *) "from",(char *) "to", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14050 if (!SWIG_IsOK(res1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14053 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14054 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14055 if (!SWIG_IsOK(ecode2
)) {
14056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14058 arg2
= static_cast< size_t >(val2
);
14059 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14060 if (!SWIG_IsOK(ecode3
)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14063 arg3
= static_cast< size_t >(val3
);
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 (arg1
)->RefreshLines(arg2
,arg3
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= SWIG_Py_Void();
14077 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
= 0;
14079 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14089 PyObject
* obj0
= 0 ;
14090 PyObject
* obj1
= 0 ;
14091 PyObject
* obj2
= 0 ;
14092 char * kwnames
[] = {
14093 (char *) "self",(char *) "x",(char *) "y", NULL
14096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14098 if (!SWIG_IsOK(res1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14101 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14103 if (!SWIG_IsOK(ecode2
)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14106 arg2
= static_cast< int >(val2
);
14107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14108 if (!SWIG_IsOK(ecode3
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14111 arg3
= static_cast< int >(val3
);
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_From_int(static_cast< int >(result
));
14125 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
= 0;
14127 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14128 wxPoint
*arg2
= 0 ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char * kwnames
[] = {
14136 (char *) "self",(char *) "pt", NULL
14139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14141 if (!SWIG_IsOK(res1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14144 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_From_int(static_cast< int >(result
));
14162 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14167 PyObject
*swig_obj
[1] ;
14169 if (!args
) SWIG_fail
;
14170 swig_obj
[0] = args
;
14171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14175 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->RefreshAll();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_Py_Void();
14189 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 PyObject
*resultobj
= 0;
14191 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14195 PyObject
*swig_obj
[1] ;
14197 if (!args
) SWIG_fail
;
14198 swig_obj
[0] = args
;
14199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14200 if (!SWIG_IsOK(res1
)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14203 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14217 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14218 PyObject
*resultobj
= 0;
14219 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14223 PyObject
*swig_obj
[1] ;
14225 if (!args
) SWIG_fail
;
14226 swig_obj
[0] = args
;
14227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14228 if (!SWIG_IsOK(res1
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14231 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14245 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14246 PyObject
*resultobj
= 0;
14247 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14251 PyObject
*swig_obj
[1] ;
14253 if (!args
) SWIG_fail
;
14254 swig_obj
[0] = args
;
14255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14259 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14273 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= 0;
14275 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 char * kwnames
[] = {
14285 (char *) "self",(char *) "line", NULL
14288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14293 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14294 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14295 if (!SWIG_IsOK(ecode2
)) {
14296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14298 arg2
= static_cast< size_t >(val2
);
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14314 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14315 PyObject
*resultobj
= 0;
14316 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14320 PyObject
*swig_obj
[1] ;
14322 if (!args
) SWIG_fail
;
14323 swig_obj
[0] = args
;
14324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14328 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14342 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14356 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14370 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
= 0;
14372 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14374 bool arg3
= (bool) false ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 PyObject
* obj2
= 0 ;
14385 char * kwnames
[] = {
14386 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14391 if (!SWIG_IsOK(res1
)) {
14392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14394 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14395 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14396 if (!SWIG_IsOK(ecode2
)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14399 arg2
= static_cast< size_t >(val2
);
14401 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14402 if (!SWIG_IsOK(ecode3
)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14405 arg3
= static_cast< bool >(val3
);
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14420 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= 0;
14422 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 char * kwnames
[] = {
14436 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14444 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14445 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14446 if (!SWIG_IsOK(ecode2
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14449 arg2
= static_cast< size_t >(val2
);
14450 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14451 if (!SWIG_IsOK(ecode3
)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14454 arg3
= static_cast< size_t >(val3
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_From_int(static_cast< int >(result
));
14468 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14472 return SWIG_Py_Void();
14475 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14476 return SWIG_Python_InitShadowInstance(args
);
14479 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14480 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14485 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14486 PyObject
*pyobj
= 0;
14490 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14492 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14499 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
= 0;
14501 wxWindow
*arg1
= (wxWindow
*) 0 ;
14502 int arg2
= (int) wxID_ANY
;
14503 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14504 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14505 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14506 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14507 long arg5
= (long) 0 ;
14508 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14509 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14510 wxPyVListBox
*result
= 0 ;
14519 bool temp6
= false ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 PyObject
* obj2
= 0 ;
14523 PyObject
* obj3
= 0 ;
14524 PyObject
* obj4
= 0 ;
14525 PyObject
* obj5
= 0 ;
14526 char * kwnames
[] = {
14527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14532 if (!SWIG_IsOK(res1
)) {
14533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14538 if (!SWIG_IsOK(ecode2
)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14541 arg2
= static_cast< int >(val2
);
14546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14552 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14556 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14557 if (!SWIG_IsOK(ecode5
)) {
14558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14560 arg5
= static_cast< long >(val5
);
14564 arg6
= wxString_in_helper(obj5
);
14565 if (arg6
== NULL
) SWIG_fail
;
14570 if (!wxPyCheckForApp()) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14591 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14592 PyObject
*resultobj
= 0;
14593 wxPyVListBox
*result
= 0 ;
14595 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14597 if (!wxPyCheckForApp()) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (wxPyVListBox
*)new wxPyVListBox();
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14610 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
= 0;
14612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14613 PyObject
*arg2
= (PyObject
*) 0 ;
14614 PyObject
*arg3
= (PyObject
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 PyObject
* obj2
= 0 ;
14620 char * kwnames
[] = {
14621 (char *) "self",(char *) "self",(char *) "_class", NULL
14624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14626 if (!SWIG_IsOK(res1
)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14629 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_Py_Void();
14645 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
= 0;
14647 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14648 wxWindow
*arg2
= (wxWindow
*) 0 ;
14649 int arg3
= (int) wxID_ANY
;
14650 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14651 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14652 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14653 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14654 long arg6
= (long) 0 ;
14655 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14656 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14668 bool temp7
= false ;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 PyObject
* obj2
= 0 ;
14672 PyObject
* obj3
= 0 ;
14673 PyObject
* obj4
= 0 ;
14674 PyObject
* obj5
= 0 ;
14675 PyObject
* obj6
= 0 ;
14676 char * kwnames
[] = {
14677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14682 if (!SWIG_IsOK(res1
)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14685 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14687 if (!SWIG_IsOK(res2
)) {
14688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14690 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14693 if (!SWIG_IsOK(ecode3
)) {
14694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14696 arg3
= static_cast< int >(val3
);
14701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14711 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14712 if (!SWIG_IsOK(ecode6
)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14715 arg6
= static_cast< long >(val6
);
14719 arg7
= wxString_in_helper(obj6
);
14720 if (arg7
== NULL
) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14747 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14748 PyObject
*resultobj
= 0;
14749 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14753 PyObject
*swig_obj
[1] ;
14755 if (!args
) SWIG_fail
;
14756 swig_obj
[0] = args
;
14757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14761 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14775 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14776 PyObject
*resultobj
= 0;
14777 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14781 PyObject
*swig_obj
[1] ;
14783 if (!args
) SWIG_fail
;
14784 swig_obj
[0] = args
;
14785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14786 if (!SWIG_IsOK(res1
)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14789 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14805 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14806 PyObject
*resultobj
= 0;
14807 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14811 PyObject
*swig_obj
[1] ;
14813 if (!args
) SWIG_fail
;
14814 swig_obj
[0] = args
;
14815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14819 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_From_int(static_cast< int >(result
));
14833 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
= 0;
14835 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char * kwnames
[] = {
14845 (char *) "self",(char *) "item", NULL
14848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14853 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14854 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14855 if (!SWIG_IsOK(ecode2
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14858 arg2
= static_cast< size_t >(val2
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
= 0;
14876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char * kwnames
[] = {
14886 (char *) "self",(char *) "item", NULL
14889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14894 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14895 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14896 if (!SWIG_IsOK(ecode2
)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14899 arg2
= static_cast< size_t >(val2
);
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14915 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14916 PyObject
*resultobj
= 0;
14917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14921 PyObject
*swig_obj
[1] ;
14923 if (!args
) SWIG_fail
;
14924 swig_obj
[0] = args
;
14925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14926 if (!SWIG_IsOK(res1
)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14929 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14943 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14944 PyObject
*resultobj
= 0;
14945 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14946 PyObject
*result
= 0 ;
14949 PyObject
*swig_obj
[1] ;
14951 if (!args
) SWIG_fail
;
14952 swig_obj
[0] = args
;
14953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14957 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= result
;
14971 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
= 0;
14973 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14974 unsigned long arg2
;
14975 PyObject
*result
= 0 ;
14978 unsigned long val2
;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "self",(char *) "cookie", NULL
14986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14991 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14992 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14993 if (!SWIG_IsOK(ecode2
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14996 arg2
= static_cast< unsigned long >(val2
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= result
;
15010 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15011 PyObject
*resultobj
= 0;
15012 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15016 PyObject
*swig_obj
[1] ;
15018 if (!args
) SWIG_fail
;
15019 swig_obj
[0] = args
;
15020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15024 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15038 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 PyObject
*resultobj
= 0;
15040 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15041 wxColour
*result
= 0 ;
15044 PyObject
*swig_obj
[1] ;
15046 if (!args
) SWIG_fail
;
15047 swig_obj
[0] = args
;
15048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15052 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15057 result
= (wxColour
*) &_result_ref
;
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15069 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
= 0;
15071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "count", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15088 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15089 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15090 if (!SWIG_IsOK(ecode2
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15093 arg2
= static_cast< size_t >(val2
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 (arg1
)->SetItemCount(arg2
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_Py_Void();
15107 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15112 PyObject
*swig_obj
[1] ;
15114 if (!args
) SWIG_fail
;
15115 swig_obj
[0] = args
;
15116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15117 if (!SWIG_IsOK(res1
)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15120 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_Py_Void();
15134 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
= 0;
15136 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char * kwnames
[] = {
15145 (char *) "self",(char *) "selection", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15153 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15155 if (!SWIG_IsOK(ecode2
)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15158 arg2
= static_cast< int >(val2
);
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->SetSelection(arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_Py_Void();
15172 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= 0;
15174 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15176 bool arg3
= (bool) true ;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 PyObject
* obj2
= 0 ;
15187 char * kwnames
[] = {
15188 (char *) "self",(char *) "item",(char *) "select", NULL
15191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15193 if (!SWIG_IsOK(res1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15196 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15197 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15198 if (!SWIG_IsOK(ecode2
)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15201 arg2
= static_cast< size_t >(val2
);
15203 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15204 if (!SWIG_IsOK(ecode3
)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15207 arg3
= static_cast< bool >(val3
);
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15224 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
= 0;
15226 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 PyObject
* obj2
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "self",(char *) "from",(char *) "to", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15248 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15249 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15250 if (!SWIG_IsOK(ecode2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15253 arg2
= static_cast< size_t >(val2
);
15254 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15255 if (!SWIG_IsOK(ecode3
)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15258 arg3
= static_cast< size_t >(val3
);
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15274 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= 0;
15276 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 PyObject
* obj1
= 0 ;
15284 char * kwnames
[] = {
15285 (char *) "self",(char *) "item", NULL
15288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15293 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15294 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15295 if (!SWIG_IsOK(ecode2
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15298 arg2
= static_cast< size_t >(val2
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->Toggle(arg2
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_Py_Void();
15312 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15313 PyObject
*resultobj
= 0;
15314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15318 PyObject
*swig_obj
[1] ;
15320 if (!args
) SWIG_fail
;
15321 swig_obj
[0] = args
;
15322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15326 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (bool)(arg1
)->SelectAll();
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15342 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15343 PyObject
*resultobj
= 0;
15344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15348 PyObject
*swig_obj
[1] ;
15350 if (!args
) SWIG_fail
;
15351 swig_obj
[0] = args
;
15352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15353 if (!SWIG_IsOK(res1
)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15356 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (bool)(arg1
)->DeselectAll();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15372 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
= 0;
15374 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15375 wxPoint
*arg2
= 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char * kwnames
[] = {
15382 (char *) "self",(char *) "pt", NULL
15385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15387 if (!SWIG_IsOK(res1
)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15390 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_Py_Void();
15408 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
= 0;
15410 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 PyObject
* obj2
= 0 ;
15422 char * kwnames
[] = {
15423 (char *) "self",(char *) "x",(char *) "y", NULL
15426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15431 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15433 if (!SWIG_IsOK(ecode2
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15436 arg2
= static_cast< int >(val2
);
15437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15438 if (!SWIG_IsOK(ecode3
)) {
15439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15441 arg3
= static_cast< int >(val3
);
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 (arg1
)->SetMargins(arg2
,arg3
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_Py_Void();
15455 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= 0;
15457 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15458 wxColour
*arg2
= 0 ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 char * kwnames
[] = {
15465 (char *) "self",(char *) "col", NULL
15468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15473 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15476 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_Py_Void();
15491 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
= 0;
15493 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 PyObject
* obj3
= 0 ;
15508 char * kwnames
[] = {
15509 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15514 if (!SWIG_IsOK(res1
)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15517 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15519 if (!SWIG_IsOK(res2
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15525 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15528 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15530 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15531 if (!SWIG_IsOK(ecode4
)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15534 arg4
= static_cast< size_t >(val4
);
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_Py_Void();
15548 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
= 0;
15550 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 PyObject
* obj3
= 0 ;
15565 char * kwnames
[] = {
15566 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15571 if (!SWIG_IsOK(res1
)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15574 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15576 if (!SWIG_IsOK(res2
)) {
15577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15582 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15585 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15587 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15588 if (!SWIG_IsOK(ecode4
)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15591 arg4
= static_cast< size_t >(val4
);
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_Py_Void();
15605 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15609 return SWIG_Py_Void();
15612 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 return SWIG_Python_InitShadowInstance(args
);
15616 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
= 0;
15618 wxWindow
*arg1
= (wxWindow
*) 0 ;
15619 int arg2
= (int) wxID_ANY
;
15620 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15621 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15622 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15623 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15624 long arg5
= (long) 0 ;
15625 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15626 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15627 wxPyHtmlListBox
*result
= 0 ;
15636 bool temp6
= false ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 PyObject
* obj2
= 0 ;
15640 PyObject
* obj3
= 0 ;
15641 PyObject
* obj4
= 0 ;
15642 PyObject
* obj5
= 0 ;
15643 char * kwnames
[] = {
15644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15649 if (!SWIG_IsOK(res1
)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15655 if (!SWIG_IsOK(ecode2
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15658 arg2
= static_cast< int >(val2
);
15663 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15669 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15673 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15674 if (!SWIG_IsOK(ecode5
)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15677 arg5
= static_cast< long >(val5
);
15681 arg6
= wxString_in_helper(obj5
);
15682 if (arg6
== NULL
) SWIG_fail
;
15687 if (!wxPyCheckForApp()) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15708 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 PyObject
*resultobj
= 0;
15710 wxPyHtmlListBox
*result
= 0 ;
15712 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15714 if (!wxPyCheckForApp()) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15727 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
= 0;
15729 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15730 PyObject
*arg2
= (PyObject
*) 0 ;
15731 PyObject
*arg3
= (PyObject
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "self",(char *) "_class", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_Py_Void();
15762 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
= 0;
15764 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15765 wxWindow
*arg2
= (wxWindow
*) 0 ;
15766 int arg3
= (int) wxID_ANY
;
15767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15771 long arg6
= (long) 0 ;
15772 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15785 bool temp7
= false ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 PyObject
* obj2
= 0 ;
15789 PyObject
* obj3
= 0 ;
15790 PyObject
* obj4
= 0 ;
15791 PyObject
* obj5
= 0 ;
15792 PyObject
* obj6
= 0 ;
15793 char * kwnames
[] = {
15794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15802 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15804 if (!SWIG_IsOK(res2
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15810 if (!SWIG_IsOK(ecode3
)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15813 arg3
= static_cast< int >(val3
);
15818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15828 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15829 if (!SWIG_IsOK(ecode6
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15832 arg6
= static_cast< long >(val6
);
15836 arg7
= wxString_in_helper(obj6
);
15837 if (arg7
== NULL
) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15864 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "self",(char *) "count", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15883 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15884 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15885 if (!SWIG_IsOK(ecode2
)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15888 arg2
= static_cast< size_t >(val2
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->SetItemCount(arg2
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_Py_Void();
15902 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15903 PyObject
*resultobj
= 0;
15904 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15905 wxFileSystem
*result
= 0 ;
15908 PyObject
*swig_obj
[1] ;
15910 if (!args
) SWIG_fail
;
15911 swig_obj
[0] = args
;
15912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15913 if (!SWIG_IsOK(res1
)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15916 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15921 result
= (wxFileSystem
*) &_result_ref
;
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15933 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= 0;
15935 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15937 wxHtmlLinkInfo
*arg3
= 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 char * kwnames
[] = {
15948 (char *) "self",(char *) "n",(char *) "link", NULL
15951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15953 if (!SWIG_IsOK(res1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15956 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15957 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15958 if (!SWIG_IsOK(ecode2
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15961 arg2
= static_cast< size_t >(val2
);
15962 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15963 if (!SWIG_IsOK(res3
)) {
15964 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15969 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_Py_Void();
15983 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15987 return SWIG_Py_Void();
15990 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15991 return SWIG_Python_InitShadowInstance(args
);
15994 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 PyObject
*resultobj
= 0;
15996 wxPyTaskBarIcon
*result
= 0 ;
15998 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16000 if (!wxPyCheckForApp()) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16013 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16014 PyObject
*resultobj
= 0;
16015 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16018 PyObject
*swig_obj
[1] ;
16020 if (!args
) SWIG_fail
;
16021 swig_obj
[0] = args
;
16022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16026 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= SWIG_Py_Void();
16041 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
= 0;
16043 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16044 PyObject
*arg2
= (PyObject
*) 0 ;
16045 PyObject
*arg3
= (PyObject
*) 0 ;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 PyObject
* obj2
= 0 ;
16054 PyObject
* obj3
= 0 ;
16055 char * kwnames
[] = {
16056 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16061 if (!SWIG_IsOK(res1
)) {
16062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16064 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16068 if (!SWIG_IsOK(ecode4
)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16071 arg4
= static_cast< int >(val4
);
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= SWIG_Py_Void();
16085 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16086 PyObject
*resultobj
= 0;
16087 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16090 PyObject
*swig_obj
[1] ;
16092 if (!args
) SWIG_fail
;
16093 swig_obj
[0] = args
;
16094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16095 if (!SWIG_IsOK(res1
)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16098 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 wxPyTaskBarIcon_Destroy(arg1
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= SWIG_Py_Void();
16112 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16113 PyObject
*resultobj
= 0;
16114 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16118 PyObject
*swig_obj
[1] ;
16120 if (!args
) SWIG_fail
;
16121 swig_obj
[0] = args
;
16122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16123 if (!SWIG_IsOK(res1
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16126 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16142 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 PyObject
*resultobj
= 0;
16144 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16148 PyObject
*swig_obj
[1] ;
16150 if (!args
) SWIG_fail
;
16151 swig_obj
[0] = args
;
16152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16153 if (!SWIG_IsOK(res1
)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16156 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= 0;
16174 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16176 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16177 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16183 bool temp3
= false ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 PyObject
* obj2
= 0 ;
16187 char * kwnames
[] = {
16188 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16193 if (!SWIG_IsOK(res1
)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16196 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16198 if (!SWIG_IsOK(res2
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16204 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16207 arg3
= wxString_in_helper(obj2
);
16208 if (arg3
== NULL
) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16235 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16236 PyObject
*resultobj
= 0;
16237 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16241 PyObject
*swig_obj
[1] ;
16243 if (!args
) SWIG_fail
;
16244 swig_obj
[0] = args
;
16245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16249 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->RemoveIcon();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16265 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
= 0;
16267 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16268 wxMenu
*arg2
= (wxMenu
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 char * kwnames
[] = {
16277 (char *) "self",(char *) "menu", NULL
16280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16282 if (!SWIG_IsOK(res1
)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16285 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16287 if (!SWIG_IsOK(res2
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16290 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (bool)(arg1
)->PopupMenu(arg2
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16306 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16310 return SWIG_Py_Void();
16313 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16314 return SWIG_Python_InitShadowInstance(args
);
16317 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= 0;
16320 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16321 wxTaskBarIconEvent
*result
= 0 ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 char * kwnames
[] = {
16329 (char *) "evtType",(char *) "tbIcon", NULL
16332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16334 if (!SWIG_IsOK(ecode1
)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16337 arg1
= static_cast< wxEventType
>(val1
);
16338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16339 if (!SWIG_IsOK(res2
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16342 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16356 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16359 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16360 return SWIG_Py_Void();
16363 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16364 return SWIG_Python_InitShadowInstance(args
);
16367 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16368 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16373 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16374 PyObject
*pyobj
= 0;
16378 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16380 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16387 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16388 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16393 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16394 PyObject
*pyobj
= 0;
16398 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16400 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16407 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16408 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16413 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16414 PyObject
*pyobj
= 0;
16418 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16420 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16427 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16428 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16433 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16434 PyObject
*pyobj
= 0;
16438 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16440 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16447 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16448 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16453 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16454 PyObject
*pyobj
= 0;
16458 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16460 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16467 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16468 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16473 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16474 PyObject
*pyobj
= 0;
16478 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16480 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16487 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16488 PyObject
*resultobj
= 0;
16489 wxColourData
*result
= 0 ;
16491 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (wxColourData
*)new wxColourData();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16505 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16506 PyObject
*resultobj
= 0;
16507 wxColourData
*arg1
= (wxColourData
*) 0 ;
16510 PyObject
*swig_obj
[1] ;
16512 if (!args
) SWIG_fail
;
16513 swig_obj
[0] = args
;
16514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16518 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_Py_Void();
16533 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16534 PyObject
*resultobj
= 0;
16535 wxColourData
*arg1
= (wxColourData
*) 0 ;
16539 PyObject
*swig_obj
[1] ;
16541 if (!args
) SWIG_fail
;
16542 swig_obj
[0] = args
;
16543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16544 if (!SWIG_IsOK(res1
)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16547 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)(arg1
)->GetChooseFull();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16564 PyObject
*resultobj
= 0;
16565 wxColourData
*arg1
= (wxColourData
*) 0 ;
16569 PyObject
*swig_obj
[1] ;
16571 if (!args
) SWIG_fail
;
16572 swig_obj
[0] = args
;
16573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16574 if (!SWIG_IsOK(res1
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16577 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (arg1
)->GetColour();
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16591 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
= 0;
16593 wxColourData
*arg1
= (wxColourData
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char * kwnames
[] = {
16603 (char *) "self",(char *) "i", NULL
16606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16611 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16613 if (!SWIG_IsOK(ecode2
)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16616 arg2
= static_cast< int >(val2
);
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (arg1
)->GetCustomColour(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16630 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
= 0;
16632 wxColourData
*arg1
= (wxColourData
*) 0 ;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 char * kwnames
[] = {
16641 (char *) "self",(char *) "flag", NULL
16644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16646 if (!SWIG_IsOK(res1
)) {
16647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16649 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16651 if (!SWIG_IsOK(ecode2
)) {
16652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16654 arg2
= static_cast< int >(val2
);
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 (arg1
)->SetChooseFull(arg2
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= SWIG_Py_Void();
16668 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
= 0;
16670 wxColourData
*arg1
= (wxColourData
*) 0 ;
16671 wxColour
*arg2
= 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char * kwnames
[] = {
16678 (char *) "self",(char *) "colour", NULL
16681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16683 if (!SWIG_IsOK(res1
)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16686 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 (arg1
)->SetColour((wxColour
const &)*arg2
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_Py_Void();
16704 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= 0;
16706 wxColourData
*arg1
= (wxColourData
*) 0 ;
16708 wxColour
*arg3
= 0 ;
16714 PyObject
* obj0
= 0 ;
16715 PyObject
* obj1
= 0 ;
16716 PyObject
* obj2
= 0 ;
16717 char * kwnames
[] = {
16718 (char *) "self",(char *) "i",(char *) "colour", NULL
16721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16723 if (!SWIG_IsOK(res1
)) {
16724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16726 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16728 if (!SWIG_IsOK(ecode2
)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16731 arg2
= static_cast< int >(val2
);
16734 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_Py_Void();
16749 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16752 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16753 return SWIG_Py_Void();
16756 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16757 return SWIG_Python_InitShadowInstance(args
);
16760 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
= 0;
16762 wxWindow
*arg1
= (wxWindow
*) 0 ;
16763 wxColourData
*arg2
= (wxColourData
*) NULL
;
16764 wxColourDialog
*result
= 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char * kwnames
[] = {
16772 (char *) "parent",(char *) "data", NULL
16775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16777 if (!SWIG_IsOK(res1
)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16780 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16783 if (!SWIG_IsOK(res2
)) {
16784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16786 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16789 if (!wxPyCheckForApp()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16802 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16803 PyObject
*resultobj
= 0;
16804 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16805 wxColourData
*result
= 0 ;
16808 PyObject
*swig_obj
[1] ;
16810 if (!args
) SWIG_fail
;
16811 swig_obj
[0] = args
;
16812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16816 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16821 result
= (wxColourData
*) &_result_ref
;
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16833 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16836 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16837 return SWIG_Py_Void();
16840 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16841 return SWIG_Python_InitShadowInstance(args
);
16844 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
= 0;
16846 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16847 wxColour
const &arg2_defvalue
= wxNullColour
;
16848 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16849 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16850 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16855 bool temp3
= false ;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 PyObject
* obj2
= 0 ;
16859 char * kwnames
[] = {
16860 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16866 if (!SWIG_IsOK(res1
)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16869 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16879 arg3
= wxString_in_helper(obj2
);
16880 if (arg3
== NULL
) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16905 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
= 0;
16907 wxWindow
*arg1
= (wxWindow
*) 0 ;
16908 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16909 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16910 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16911 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16912 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16913 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16914 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16915 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16916 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16917 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16919 wxDirDialog
*result
= 0 ;
16922 bool temp2
= false ;
16923 bool temp3
= false ;
16928 bool temp7
= false ;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 PyObject
* obj2
= 0 ;
16932 PyObject
* obj3
= 0 ;
16933 PyObject
* obj4
= 0 ;
16934 PyObject
* obj5
= 0 ;
16935 PyObject
* obj6
= 0 ;
16936 char * kwnames
[] = {
16937 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16942 if (!SWIG_IsOK(res1
)) {
16943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16945 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16948 arg2
= wxString_in_helper(obj1
);
16949 if (arg2
== NULL
) SWIG_fail
;
16955 arg3
= wxString_in_helper(obj2
);
16956 if (arg3
== NULL
) SWIG_fail
;
16961 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16962 if (!SWIG_IsOK(ecode4
)) {
16963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16965 arg4
= static_cast< long >(val4
);
16970 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16976 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16981 arg7
= wxString_in_helper(obj6
);
16982 if (arg7
== NULL
) SWIG_fail
;
16987 if (!wxPyCheckForApp()) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17024 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17025 PyObject
*resultobj
= 0;
17026 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17030 PyObject
*swig_obj
[1] ;
17032 if (!args
) SWIG_fail
;
17033 swig_obj
[0] = args
;
17034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17035 if (!SWIG_IsOK(res1
)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17038 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (arg1
)->GetPath();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17058 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17059 PyObject
*resultobj
= 0;
17060 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17064 PyObject
*swig_obj
[1] ;
17066 if (!args
) SWIG_fail
;
17067 swig_obj
[0] = args
;
17068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17069 if (!SWIG_IsOK(res1
)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17072 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (arg1
)->GetMessage();
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17092 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
= 0;
17094 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17095 wxString
*arg2
= 0 ;
17098 bool temp2
= false ;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "message", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17110 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17112 arg2
= wxString_in_helper(obj1
);
17113 if (arg2
== NULL
) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetMessage((wxString
const &)*arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_Py_Void();
17137 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= 0;
17139 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17140 wxString
*arg2
= 0 ;
17143 bool temp2
= false ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 char * kwnames
[] = {
17147 (char *) "self",(char *) "path", NULL
17150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17152 if (!SWIG_IsOK(res1
)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17155 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17157 arg2
= wxString_in_helper(obj1
);
17158 if (arg2
== NULL
) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->SetPath((wxString
const &)*arg2
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_Py_Void();
17182 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17185 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17186 return SWIG_Py_Void();
17189 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17190 return SWIG_Python_InitShadowInstance(args
);
17193 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
= 0;
17195 wxWindow
*arg1
= (wxWindow
*) 0 ;
17196 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17197 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17202 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17203 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17204 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17205 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17206 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17207 wxFileDialog
*result
= 0 ;
17210 bool temp2
= false ;
17211 bool temp3
= false ;
17212 bool temp4
= false ;
17213 bool temp5
= false ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 PyObject
* obj2
= 0 ;
17220 PyObject
* obj3
= 0 ;
17221 PyObject
* obj4
= 0 ;
17222 PyObject
* obj5
= 0 ;
17223 PyObject
* obj6
= 0 ;
17224 char * kwnames
[] = {
17225 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17230 if (!SWIG_IsOK(res1
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17236 arg2
= wxString_in_helper(obj1
);
17237 if (arg2
== NULL
) SWIG_fail
;
17243 arg3
= wxString_in_helper(obj2
);
17244 if (arg3
== NULL
) SWIG_fail
;
17250 arg4
= wxString_in_helper(obj3
);
17251 if (arg4
== NULL
) SWIG_fail
;
17257 arg5
= wxString_in_helper(obj4
);
17258 if (arg5
== NULL
) SWIG_fail
;
17263 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17264 if (!SWIG_IsOK(ecode6
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17267 arg6
= static_cast< long >(val6
);
17272 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17276 if (!wxPyCheckForApp()) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17321 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
= 0;
17323 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17324 wxString
*arg2
= 0 ;
17327 bool temp2
= false ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char * kwnames
[] = {
17331 (char *) "self",(char *) "message", NULL
17334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17336 if (!SWIG_IsOK(res1
)) {
17337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17339 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17341 arg2
= wxString_in_helper(obj1
);
17342 if (arg2
== NULL
) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->SetMessage((wxString
const &)*arg2
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= SWIG_Py_Void();
17366 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
= 0;
17368 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17369 wxString
*arg2
= 0 ;
17372 bool temp2
= false ;
17373 PyObject
* obj0
= 0 ;
17374 PyObject
* obj1
= 0 ;
17375 char * kwnames
[] = {
17376 (char *) "self",(char *) "path", NULL
17379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17381 if (!SWIG_IsOK(res1
)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17384 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17386 arg2
= wxString_in_helper(obj1
);
17387 if (arg2
== NULL
) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 (arg1
)->SetPath((wxString
const &)*arg2
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= SWIG_Py_Void();
17411 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
= 0;
17413 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17414 wxString
*arg2
= 0 ;
17417 bool temp2
= false ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char * kwnames
[] = {
17421 (char *) "self",(char *) "dir", NULL
17424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17426 if (!SWIG_IsOK(res1
)) {
17427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17429 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17431 arg2
= wxString_in_helper(obj1
);
17432 if (arg2
== NULL
) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 resultobj
= SWIG_Py_Void();
17456 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
= 0;
17458 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17459 wxString
*arg2
= 0 ;
17462 bool temp2
= false ;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 char * kwnames
[] = {
17466 (char *) "self",(char *) "name", NULL
17469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17471 if (!SWIG_IsOK(res1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17474 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17476 arg2
= wxString_in_helper(obj1
);
17477 if (arg2
== NULL
) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 (arg1
)->SetFilename((wxString
const &)*arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= SWIG_Py_Void();
17501 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
= 0;
17503 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17504 wxString
*arg2
= 0 ;
17507 bool temp2
= false ;
17508 PyObject
* obj0
= 0 ;
17509 PyObject
* obj1
= 0 ;
17510 char * kwnames
[] = {
17511 (char *) "self",(char *) "wildCard", NULL
17514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17516 if (!SWIG_IsOK(res1
)) {
17517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17519 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17521 arg2
= wxString_in_helper(obj1
);
17522 if (arg2
== NULL
) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_Py_Void();
17546 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
= 0;
17548 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 char * kwnames
[] = {
17557 (char *) "self",(char *) "filterIndex", NULL
17560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17562 if (!SWIG_IsOK(res1
)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17565 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17567 if (!SWIG_IsOK(ecode2
)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17570 arg2
= static_cast< int >(val2
);
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 (arg1
)->SetFilterIndex(arg2
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_Py_Void();
17584 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17585 PyObject
*resultobj
= 0;
17586 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17590 PyObject
*swig_obj
[1] ;
17592 if (!args
) SWIG_fail
;
17593 swig_obj
[0] = args
;
17594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17595 if (!SWIG_IsOK(res1
)) {
17596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17598 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17618 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17619 PyObject
*resultobj
= 0;
17620 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17624 PyObject
*swig_obj
[1] ;
17626 if (!args
) SWIG_fail
;
17627 swig_obj
[0] = args
;
17628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17632 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17652 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 PyObject
*resultobj
= 0;
17654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17658 PyObject
*swig_obj
[1] ;
17660 if (!args
) SWIG_fail
;
17661 swig_obj
[0] = args
;
17662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17666 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17686 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17687 PyObject
*resultobj
= 0;
17688 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17692 PyObject
*swig_obj
[1] ;
17694 if (!args
) SWIG_fail
;
17695 swig_obj
[0] = args
;
17696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17697 if (!SWIG_IsOK(res1
)) {
17698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17700 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17720 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17721 PyObject
*resultobj
= 0;
17722 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17726 PyObject
*swig_obj
[1] ;
17728 if (!args
) SWIG_fail
;
17729 swig_obj
[0] = args
;
17730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17731 if (!SWIG_IsOK(res1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17734 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17754 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17755 PyObject
*resultobj
= 0;
17756 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17760 PyObject
*swig_obj
[1] ;
17762 if (!args
) SWIG_fail
;
17763 swig_obj
[0] = args
;
17764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17765 if (!SWIG_IsOK(res1
)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17768 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= SWIG_From_int(static_cast< int >(result
));
17782 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 PyObject
*resultobj
= 0;
17784 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17785 PyObject
*result
= 0 ;
17788 PyObject
*swig_obj
[1] ;
17790 if (!args
) SWIG_fail
;
17791 swig_obj
[0] = args
;
17792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17796 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= result
;
17810 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17811 PyObject
*resultobj
= 0;
17812 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17813 PyObject
*result
= 0 ;
17816 PyObject
*swig_obj
[1] ;
17818 if (!args
) SWIG_fail
;
17819 swig_obj
[0] = args
;
17820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17821 if (!SWIG_IsOK(res1
)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17824 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= result
;
17838 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17842 return SWIG_Py_Void();
17845 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17846 return SWIG_Python_InitShadowInstance(args
);
17849 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
= 0;
17851 wxWindow
*arg1
= (wxWindow
*) 0 ;
17852 wxString
*arg2
= 0 ;
17853 wxString
*arg3
= 0 ;
17854 int arg4
= (int) 0 ;
17855 wxString
*arg5
= (wxString
*) NULL
;
17856 long arg6
= (long) wxCHOICEDLG_STYLE
;
17857 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17858 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17859 wxMultiChoiceDialog
*result
= 0 ;
17862 bool temp2
= false ;
17863 bool temp3
= false ;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 PyObject
* obj2
= 0 ;
17870 PyObject
* obj3
= 0 ;
17871 PyObject
* obj4
= 0 ;
17872 PyObject
* obj5
= 0 ;
17873 char * kwnames
[] = {
17874 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17879 if (!SWIG_IsOK(res1
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17884 arg2
= wxString_in_helper(obj1
);
17885 if (arg2
== NULL
) SWIG_fail
;
17889 arg3
= wxString_in_helper(obj2
);
17890 if (arg3
== NULL
) SWIG_fail
;
17895 arg4
= PyList_Size(obj3
);
17896 arg5
= wxString_LIST_helper(obj3
);
17897 if (arg5
== NULL
) SWIG_fail
;
17901 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17902 if (!SWIG_IsOK(ecode6
)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17905 arg6
= static_cast< long >(val6
);
17910 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17914 if (!wxPyCheckForApp()) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17930 if (arg5
) delete [] arg5
;
17943 if (arg5
) delete [] arg5
;
17949 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
= 0;
17951 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17952 wxArrayInt
*arg2
= 0 ;
17955 bool temp2
= false ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "selections", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17967 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17969 if (! PySequence_Check(obj1
)) {
17970 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17973 arg2
= new wxArrayInt
;
17975 int i
, len
=PySequence_Length(obj1
);
17976 for (i
=0; i
<len
; i
++) {
17977 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17978 PyObject
* number
= PyNumber_Int(item
);
17979 arg2
->Add(PyInt_AS_LONG(number
));
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_Py_Void();
17992 if (temp2
) delete arg2
;
17997 if (temp2
) delete arg2
;
18003 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18004 PyObject
*resultobj
= 0;
18005 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18006 PyObject
*result
= 0 ;
18009 PyObject
*swig_obj
[1] ;
18011 if (!args
) SWIG_fail
;
18012 swig_obj
[0] = args
;
18013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18017 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= result
;
18031 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18034 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18035 return SWIG_Py_Void();
18038 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 return SWIG_Python_InitShadowInstance(args
);
18042 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
= 0;
18044 wxWindow
*arg1
= (wxWindow
*) 0 ;
18045 wxString
*arg2
= 0 ;
18046 wxString
*arg3
= 0 ;
18048 wxString
*arg5
= (wxString
*) 0 ;
18049 long arg6
= (long) wxCHOICEDLG_STYLE
;
18050 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18051 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18052 wxSingleChoiceDialog
*result
= 0 ;
18055 bool temp2
= false ;
18056 bool temp3
= false ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 PyObject
* obj2
= 0 ;
18063 PyObject
* obj3
= 0 ;
18064 PyObject
* obj4
= 0 ;
18065 PyObject
* obj5
= 0 ;
18066 char * kwnames
[] = {
18067 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18072 if (!SWIG_IsOK(res1
)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18077 arg2
= wxString_in_helper(obj1
);
18078 if (arg2
== NULL
) SWIG_fail
;
18082 arg3
= wxString_in_helper(obj2
);
18083 if (arg3
== NULL
) SWIG_fail
;
18087 arg4
= PyList_Size(obj3
);
18088 arg5
= wxString_LIST_helper(obj3
);
18089 if (arg5
== NULL
) SWIG_fail
;
18092 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18093 if (!SWIG_IsOK(ecode6
)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18096 arg6
= static_cast< long >(val6
);
18101 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18105 if (!wxPyCheckForApp()) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18121 if (arg5
) delete [] arg5
;
18134 if (arg5
) delete [] arg5
;
18140 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18141 PyObject
*resultobj
= 0;
18142 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18146 PyObject
*swig_obj
[1] ;
18148 if (!args
) SWIG_fail
;
18149 swig_obj
[0] = args
;
18150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18151 if (!SWIG_IsOK(res1
)) {
18152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18154 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (int)(arg1
)->GetSelection();
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= SWIG_From_int(static_cast< int >(result
));
18168 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 PyObject
*resultobj
= 0;
18170 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18174 PyObject
*swig_obj
[1] ;
18176 if (!args
) SWIG_fail
;
18177 swig_obj
[0] = args
;
18178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18182 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (arg1
)->GetStringSelection();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18202 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "sel", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18221 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18223 if (!SWIG_IsOK(ecode2
)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18226 arg2
= static_cast< int >(val2
);
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 (arg1
)->SetSelection(arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_Py_Void();
18240 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18243 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18244 return SWIG_Py_Void();
18247 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18248 return SWIG_Python_InitShadowInstance(args
);
18251 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
= 0;
18253 wxWindow
*arg1
= (wxWindow
*) 0 ;
18254 wxString
*arg2
= 0 ;
18255 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18257 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18258 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18259 long arg5
= (long) wxTextEntryDialogStyle
;
18260 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18261 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18262 wxTextEntryDialog
*result
= 0 ;
18265 bool temp2
= false ;
18266 bool temp3
= false ;
18267 bool temp4
= false ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 PyObject
* obj4
= 0 ;
18276 PyObject
* obj5
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18288 arg2
= wxString_in_helper(obj1
);
18289 if (arg2
== NULL
) SWIG_fail
;
18294 arg3
= wxString_in_helper(obj2
);
18295 if (arg3
== NULL
) SWIG_fail
;
18301 arg4
= wxString_in_helper(obj3
);
18302 if (arg4
== NULL
) SWIG_fail
;
18307 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18308 if (!SWIG_IsOK(ecode5
)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18311 arg5
= static_cast< long >(val5
);
18316 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18320 if (!wxPyCheckForApp()) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18357 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18358 PyObject
*resultobj
= 0;
18359 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18363 PyObject
*swig_obj
[1] ;
18365 if (!args
) SWIG_fail
;
18366 swig_obj
[0] = args
;
18367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18368 if (!SWIG_IsOK(res1
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18371 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (arg1
)->GetValue();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18391 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
= 0;
18393 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18394 wxString
*arg2
= 0 ;
18397 bool temp2
= false ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char * kwnames
[] = {
18401 (char *) "self",(char *) "value", NULL
18404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18406 if (!SWIG_IsOK(res1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18409 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18411 arg2
= wxString_in_helper(obj1
);
18412 if (arg2
== NULL
) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 (arg1
)->SetValue((wxString
const &)*arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_Py_Void();
18436 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18439 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18440 return SWIG_Py_Void();
18443 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18444 return SWIG_Python_InitShadowInstance(args
);
18447 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18448 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18453 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18454 PyObject
*pyobj
= 0;
18458 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18460 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18467 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
= 0;
18469 wxWindow
*arg1
= (wxWindow
*) 0 ;
18470 wxString
*arg2
= 0 ;
18471 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18472 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18473 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18474 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18475 long arg5
= (long) wxTextEntryDialogStyle
;
18476 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18477 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18478 wxPasswordEntryDialog
*result
= 0 ;
18481 bool temp2
= false ;
18482 bool temp3
= false ;
18483 bool temp4
= false ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 PyObject
* obj3
= 0 ;
18491 PyObject
* obj4
= 0 ;
18492 PyObject
* obj5
= 0 ;
18493 char * kwnames
[] = {
18494 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18499 if (!SWIG_IsOK(res1
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18504 arg2
= wxString_in_helper(obj1
);
18505 if (arg2
== NULL
) SWIG_fail
;
18510 arg3
= wxString_in_helper(obj2
);
18511 if (arg3
== NULL
) SWIG_fail
;
18517 arg4
= wxString_in_helper(obj3
);
18518 if (arg4
== NULL
) SWIG_fail
;
18523 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18524 if (!SWIG_IsOK(ecode5
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18527 arg5
= static_cast< long >(val5
);
18532 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18572 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18575 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18576 return SWIG_Py_Void();
18579 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18580 return SWIG_Python_InitShadowInstance(args
);
18583 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxWindow
*arg1
= (wxWindow
*) 0 ;
18586 wxString
*arg2
= 0 ;
18587 wxString
*arg3
= 0 ;
18588 wxString
*arg4
= 0 ;
18592 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18593 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18594 wxNumberEntryDialog
*result
= 0 ;
18597 bool temp2
= false ;
18598 bool temp3
= false ;
18599 bool temp4
= false ;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 PyObject
* obj2
= 0 ;
18610 PyObject
* obj3
= 0 ;
18611 PyObject
* obj4
= 0 ;
18612 PyObject
* obj5
= 0 ;
18613 PyObject
* obj6
= 0 ;
18614 PyObject
* obj7
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18626 arg2
= wxString_in_helper(obj1
);
18627 if (arg2
== NULL
) SWIG_fail
;
18631 arg3
= wxString_in_helper(obj2
);
18632 if (arg3
== NULL
) SWIG_fail
;
18636 arg4
= wxString_in_helper(obj3
);
18637 if (arg4
== NULL
) SWIG_fail
;
18640 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18641 if (!SWIG_IsOK(ecode5
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18644 arg5
= static_cast< long >(val5
);
18645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18646 if (!SWIG_IsOK(ecode6
)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18649 arg6
= static_cast< long >(val6
);
18650 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18651 if (!SWIG_IsOK(ecode7
)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18654 arg7
= static_cast< long >(val7
);
18658 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18662 if (!wxPyCheckForApp()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18699 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18700 PyObject
*resultobj
= 0;
18701 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18705 PyObject
*swig_obj
[1] ;
18707 if (!args
) SWIG_fail
;
18708 swig_obj
[0] = args
;
18709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18713 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (long)(arg1
)->GetValue();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= SWIG_From_long(static_cast< long >(result
));
18727 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18730 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18731 return SWIG_Py_Void();
18734 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18735 return SWIG_Python_InitShadowInstance(args
);
18738 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18739 PyObject
*resultobj
= 0;
18740 wxFontData
*result
= 0 ;
18742 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (wxFontData
*)new wxFontData();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18756 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18757 PyObject
*resultobj
= 0;
18758 wxFontData
*arg1
= (wxFontData
*) 0 ;
18761 PyObject
*swig_obj
[1] ;
18763 if (!args
) SWIG_fail
;
18764 swig_obj
[0] = args
;
18765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18766 if (!SWIG_IsOK(res1
)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18769 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_Py_Void();
18784 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
= 0;
18786 wxFontData
*arg1
= (wxFontData
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char * kwnames
[] = {
18795 (char *) "self",(char *) "enable", NULL
18798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18803 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18805 if (!SWIG_IsOK(ecode2
)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18808 arg2
= static_cast< bool >(val2
);
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 (arg1
)->EnableEffects(arg2
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_Py_Void();
18822 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18823 PyObject
*resultobj
= 0;
18824 wxFontData
*arg1
= (wxFontData
*) 0 ;
18828 PyObject
*swig_obj
[1] ;
18830 if (!args
) SWIG_fail
;
18831 swig_obj
[0] = args
;
18832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18833 if (!SWIG_IsOK(res1
)) {
18834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18836 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= (bool)(arg1
)->GetAllowSymbols();
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18852 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18853 PyObject
*resultobj
= 0;
18854 wxFontData
*arg1
= (wxFontData
*) 0 ;
18858 PyObject
*swig_obj
[1] ;
18860 if (!args
) SWIG_fail
;
18861 swig_obj
[0] = args
;
18862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18866 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (arg1
)->GetColour();
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18880 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18881 PyObject
*resultobj
= 0;
18882 wxFontData
*arg1
= (wxFontData
*) 0 ;
18886 PyObject
*swig_obj
[1] ;
18888 if (!args
) SWIG_fail
;
18889 swig_obj
[0] = args
;
18890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18891 if (!SWIG_IsOK(res1
)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18894 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (arg1
)->GetChosenFont();
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18908 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18909 PyObject
*resultobj
= 0;
18910 wxFontData
*arg1
= (wxFontData
*) 0 ;
18914 PyObject
*swig_obj
[1] ;
18916 if (!args
) SWIG_fail
;
18917 swig_obj
[0] = args
;
18918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18919 if (!SWIG_IsOK(res1
)) {
18920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18922 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (bool)(arg1
)->GetEnableEffects();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18938 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 PyObject
*resultobj
= 0;
18940 wxFontData
*arg1
= (wxFontData
*) 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18952 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (arg1
)->GetInitialFont();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18966 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18967 PyObject
*resultobj
= 0;
18968 wxFontData
*arg1
= (wxFontData
*) 0 ;
18972 PyObject
*swig_obj
[1] ;
18974 if (!args
) SWIG_fail
;
18975 swig_obj
[0] = args
;
18976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18980 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (bool)(arg1
)->GetShowHelp();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18996 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= 0;
18998 wxFontData
*arg1
= (wxFontData
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 char * kwnames
[] = {
19007 (char *) "self",(char *) "allowSymbols", NULL
19010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19012 if (!SWIG_IsOK(res1
)) {
19013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19015 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19016 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19017 if (!SWIG_IsOK(ecode2
)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19020 arg2
= static_cast< bool >(val2
);
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetAllowSymbols(arg2
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= SWIG_Py_Void();
19034 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= 0;
19036 wxFontData
*arg1
= (wxFontData
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char * kwnames
[] = {
19045 (char *) "self",(char *) "font", NULL
19048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19050 if (!SWIG_IsOK(res1
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19053 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19055 if (!SWIG_IsOK(res2
)) {
19056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19061 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_Py_Void();
19075 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxFontData
*arg1
= (wxFontData
*) 0 ;
19078 wxColour
*arg2
= 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "colour", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19093 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 (arg1
)->SetColour((wxColour
const &)*arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= SWIG_Py_Void();
19111 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
= 0;
19113 wxFontData
*arg1
= (wxFontData
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char * kwnames
[] = {
19122 (char *) "self",(char *) "font", NULL
19125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19127 if (!SWIG_IsOK(res1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19130 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19132 if (!SWIG_IsOK(res2
)) {
19133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19138 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19152 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19154 wxFontData
*arg1
= (wxFontData
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "min",(char *) "max", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19175 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19177 if (!SWIG_IsOK(ecode2
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19180 arg2
= static_cast< int >(val2
);
19181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19182 if (!SWIG_IsOK(ecode3
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19185 arg3
= static_cast< int >(val3
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->SetRange(arg2
,arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxFontData
*arg1
= (wxFontData
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char * kwnames
[] = {
19210 (char *) "self",(char *) "showHelp", NULL
19213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19215 if (!SWIG_IsOK(res1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19218 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19219 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19220 if (!SWIG_IsOK(ecode2
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19223 arg2
= static_cast< bool >(val2
);
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 (arg1
)->SetShowHelp(arg2
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_Py_Void();
19237 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19240 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19241 return SWIG_Py_Void();
19244 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19245 return SWIG_Python_InitShadowInstance(args
);
19248 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
= 0;
19250 wxWindow
*arg1
= (wxWindow
*) 0 ;
19251 wxFontData
*arg2
= 0 ;
19252 wxFontDialog
*result
= 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char * kwnames
[] = {
19260 (char *) "parent",(char *) "data", NULL
19263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19268 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19270 if (!SWIG_IsOK(res2
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19276 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19278 if (!wxPyCheckForApp()) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19291 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19292 PyObject
*resultobj
= 0;
19293 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19294 wxFontData
*result
= 0 ;
19297 PyObject
*swig_obj
[1] ;
19299 if (!args
) SWIG_fail
;
19300 swig_obj
[0] = args
;
19301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19305 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19310 result
= (wxFontData
*) &_result_ref
;
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19322 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19325 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19326 return SWIG_Py_Void();
19329 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19330 return SWIG_Python_InitShadowInstance(args
);
19333 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxWindow
*arg1
= (wxWindow
*) NULL
;
19336 wxFont
const &arg2_defvalue
= wxNullFont
;
19337 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19345 bool temp3
= false ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 PyObject
* obj2
= 0 ;
19349 char * kwnames
[] = {
19350 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19356 if (!SWIG_IsOK(res1
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19363 if (!SWIG_IsOK(res2
)) {
19364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19369 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19373 arg3
= wxString_in_helper(obj2
);
19374 if (arg3
== NULL
) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19399 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxWindow
*arg1
= (wxWindow
*) 0 ;
19402 wxString
*arg2
= 0 ;
19403 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19404 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19405 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19406 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19407 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19408 wxMessageDialog
*result
= 0 ;
19411 bool temp2
= false ;
19412 bool temp3
= false ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 PyObject
* obj3
= 0 ;
19420 PyObject
* obj4
= 0 ;
19421 char * kwnames
[] = {
19422 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19427 if (!SWIG_IsOK(res1
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19432 arg2
= wxString_in_helper(obj1
);
19433 if (arg2
== NULL
) SWIG_fail
;
19438 arg3
= wxString_in_helper(obj2
);
19439 if (arg3
== NULL
) SWIG_fail
;
19444 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19445 if (!SWIG_IsOK(ecode4
)) {
19446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19448 arg4
= static_cast< long >(val4
);
19453 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19457 if (!wxPyCheckForApp()) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19486 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19489 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19490 return SWIG_Py_Void();
19493 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19494 return SWIG_Python_InitShadowInstance(args
);
19497 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
= 0;
19499 wxString
*arg1
= 0 ;
19500 wxString
*arg2
= 0 ;
19501 int arg3
= (int) 100 ;
19502 wxWindow
*arg4
= (wxWindow
*) NULL
;
19503 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19504 wxProgressDialog
*result
= 0 ;
19505 bool temp1
= false ;
19506 bool temp2
= false ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 PyObject
* obj2
= 0 ;
19516 PyObject
* obj3
= 0 ;
19517 PyObject
* obj4
= 0 ;
19518 char * kwnames
[] = {
19519 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19524 arg1
= wxString_in_helper(obj0
);
19525 if (arg1
== NULL
) SWIG_fail
;
19529 arg2
= wxString_in_helper(obj1
);
19530 if (arg2
== NULL
) SWIG_fail
;
19534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19535 if (!SWIG_IsOK(ecode3
)) {
19536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19538 arg3
= static_cast< int >(val3
);
19541 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19542 if (!SWIG_IsOK(res4
)) {
19543 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19545 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19549 if (!SWIG_IsOK(ecode5
)) {
19550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19552 arg5
= static_cast< int >(val5
);
19555 if (!wxPyCheckForApp()) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19584 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19590 bool *arg4
= (bool *) 0 ;
19596 bool temp3
= false ;
19598 int res4
= SWIG_TMPOBJ
;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 PyObject
* obj2
= 0 ;
19602 char * kwnames
[] = {
19603 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19612 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19614 if (!SWIG_IsOK(ecode2
)) {
19615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19617 arg2
= static_cast< int >(val2
);
19620 arg3
= wxString_in_helper(obj2
);
19621 if (arg3
== NULL
) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19634 if (SWIG_IsTmpObj(res4
)) {
19635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19637 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19654 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19657 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19658 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19659 bool *arg3
= (bool *) 0 ;
19663 bool temp2
= false ;
19665 int res3
= SWIG_TMPOBJ
;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char * kwnames
[] = {
19669 (char *) "self",(char *) "newmsg", NULL
19673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19678 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19681 arg2
= wxString_in_helper(obj1
);
19682 if (arg2
== NULL
) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19695 if (SWIG_IsTmpObj(res3
)) {
19696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19698 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19715 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19716 PyObject
*resultobj
= 0;
19717 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19720 PyObject
*swig_obj
[1] ;
19722 if (!args
) SWIG_fail
;
19723 swig_obj
[0] = args
;
19724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19725 if (!SWIG_IsOK(res1
)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19728 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_Py_Void();
19742 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19745 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19746 return SWIG_Py_Void();
19749 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19750 return SWIG_Python_InitShadowInstance(args
);
19753 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19756 int arg2
= (int) 0 ;
19757 wxFindDialogEvent
*result
= 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "commandType",(char *) "id", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19771 if (!SWIG_IsOK(ecode1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19774 arg1
= static_cast< wxEventType
>(val1
);
19777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19778 if (!SWIG_IsOK(ecode2
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19781 arg2
= static_cast< int >(val2
);
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19796 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19797 PyObject
*resultobj
= 0;
19798 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19802 PyObject
*swig_obj
[1] ;
19804 if (!args
) SWIG_fail
;
19805 swig_obj
[0] = args
;
19806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19807 if (!SWIG_IsOK(res1
)) {
19808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19810 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (int)(arg1
)->GetFlags();
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= SWIG_From_int(static_cast< int >(result
));
19824 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19825 PyObject
*resultobj
= 0;
19826 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19827 wxString
*result
= 0 ;
19830 PyObject
*swig_obj
[1] ;
19832 if (!args
) SWIG_fail
;
19833 swig_obj
[0] = args
;
19834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19835 if (!SWIG_IsOK(res1
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19838 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 wxString
const &_result_ref
= (arg1
)->GetFindString();
19843 result
= (wxString
*) &_result_ref
;
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19861 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19862 PyObject
*resultobj
= 0;
19863 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19864 wxString
*result
= 0 ;
19867 PyObject
*swig_obj
[1] ;
19869 if (!args
) SWIG_fail
;
19870 swig_obj
[0] = args
;
19871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19875 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19880 result
= (wxString
*) &_result_ref
;
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19889 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19898 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19899 PyObject
*resultobj
= 0;
19900 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19901 wxFindReplaceDialog
*result
= 0 ;
19904 PyObject
*swig_obj
[1] ;
19906 if (!args
) SWIG_fail
;
19907 swig_obj
[0] = args
;
19908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19909 if (!SWIG_IsOK(res1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19912 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19926 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
= 0;
19928 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char * kwnames
[] = {
19937 (char *) "self",(char *) "flags", NULL
19940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19942 if (!SWIG_IsOK(res1
)) {
19943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19945 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19947 if (!SWIG_IsOK(ecode2
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19950 arg2
= static_cast< int >(val2
);
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 (arg1
)->SetFlags(arg2
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_Py_Void();
19964 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
= 0;
19966 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19967 wxString
*arg2
= 0 ;
19970 bool temp2
= false ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char * kwnames
[] = {
19974 (char *) "self",(char *) "str", NULL
19977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19979 if (!SWIG_IsOK(res1
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19982 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19984 arg2
= wxString_in_helper(obj1
);
19985 if (arg2
== NULL
) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetFindString((wxString
const &)*arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_Py_Void();
20009 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
= 0;
20011 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20012 wxString
*arg2
= 0 ;
20015 bool temp2
= false ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 char * kwnames
[] = {
20019 (char *) "self",(char *) "str", NULL
20022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20024 if (!SWIG_IsOK(res1
)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20027 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20029 arg2
= wxString_in_helper(obj1
);
20030 if (arg2
== NULL
) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= SWIG_Py_Void();
20054 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20057 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20058 return SWIG_Py_Void();
20061 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20062 return SWIG_Python_InitShadowInstance(args
);
20065 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= 0;
20067 int arg1
= (int) 0 ;
20068 wxFindReplaceData
*result
= 0 ;
20071 PyObject
* obj0
= 0 ;
20072 char * kwnames
[] = {
20073 (char *) "flags", NULL
20076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20079 if (!SWIG_IsOK(ecode1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20082 arg1
= static_cast< int >(val1
);
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20097 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20098 PyObject
*resultobj
= 0;
20099 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20102 PyObject
*swig_obj
[1] ;
20104 if (!args
) SWIG_fail
;
20105 swig_obj
[0] = args
;
20106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20107 if (!SWIG_IsOK(res1
)) {
20108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20110 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_Py_Void();
20125 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20126 PyObject
*resultobj
= 0;
20127 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20128 wxString
*result
= 0 ;
20131 PyObject
*swig_obj
[1] ;
20133 if (!args
) SWIG_fail
;
20134 swig_obj
[0] = args
;
20135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20136 if (!SWIG_IsOK(res1
)) {
20137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20139 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 wxString
const &_result_ref
= (arg1
)->GetFindString();
20144 result
= (wxString
*) &_result_ref
;
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20153 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20162 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20163 PyObject
*resultobj
= 0;
20164 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20165 wxString
*result
= 0 ;
20168 PyObject
*swig_obj
[1] ;
20170 if (!args
) SWIG_fail
;
20171 swig_obj
[0] = args
;
20172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20173 if (!SWIG_IsOK(res1
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20176 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20181 result
= (wxString
*) &_result_ref
;
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20190 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20199 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20200 PyObject
*resultobj
= 0;
20201 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20205 PyObject
*swig_obj
[1] ;
20207 if (!args
) SWIG_fail
;
20208 swig_obj
[0] = args
;
20209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20210 if (!SWIG_IsOK(res1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20213 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (int)(arg1
)->GetFlags();
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= SWIG_From_int(static_cast< int >(result
));
20227 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
= 0;
20229 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "flags", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20246 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20248 if (!SWIG_IsOK(ecode2
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20251 arg2
= static_cast< int >(val2
);
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetFlags(arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= SWIG_Py_Void();
20265 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
= 0;
20267 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20268 wxString
*arg2
= 0 ;
20271 bool temp2
= false ;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 char * kwnames
[] = {
20275 (char *) "self",(char *) "str", NULL
20278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20280 if (!SWIG_IsOK(res1
)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20283 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20285 arg2
= wxString_in_helper(obj1
);
20286 if (arg2
== NULL
) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->SetFindString((wxString
const &)*arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_Py_Void();
20310 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
= 0;
20312 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 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:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20325 if (!SWIG_IsOK(res1
)) {
20326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20328 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20330 arg2
= wxString_in_helper(obj1
);
20331 if (arg2
== NULL
) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_Py_Void();
20355 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20358 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20359 return SWIG_Py_Void();
20362 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20363 return SWIG_Python_InitShadowInstance(args
);
20366 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxWindow
*arg1
= (wxWindow
*) 0 ;
20369 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20370 wxString
*arg3
= 0 ;
20371 int arg4
= (int) 0 ;
20372 wxFindReplaceDialog
*result
= 0 ;
20377 bool temp3
= false ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 PyObject
* obj2
= 0 ;
20383 PyObject
* obj3
= 0 ;
20384 char * kwnames
[] = {
20385 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20393 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20395 if (!SWIG_IsOK(res2
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20398 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20400 arg3
= wxString_in_helper(obj2
);
20401 if (arg3
== NULL
) SWIG_fail
;
20405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20406 if (!SWIG_IsOK(ecode4
)) {
20407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20409 arg4
= static_cast< int >(val4
);
20412 if (!wxPyCheckForApp()) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20433 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20434 PyObject
*resultobj
= 0;
20435 wxFindReplaceDialog
*result
= 0 ;
20437 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20439 if (!wxPyCheckForApp()) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20452 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
= 0;
20454 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20455 wxWindow
*arg2
= (wxWindow
*) 0 ;
20456 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20457 wxString
*arg4
= 0 ;
20458 int arg5
= (int) 0 ;
20466 bool temp4
= false ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 PyObject
* obj2
= 0 ;
20472 PyObject
* obj3
= 0 ;
20473 PyObject
* obj4
= 0 ;
20474 char * kwnames
[] = {
20475 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20483 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20485 if (!SWIG_IsOK(res2
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20488 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20489 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20490 if (!SWIG_IsOK(res3
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20493 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20495 arg4
= wxString_in_helper(obj3
);
20496 if (arg4
== NULL
) SWIG_fail
;
20500 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20501 if (!SWIG_IsOK(ecode5
)) {
20502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20504 arg5
= static_cast< int >(val5
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20529 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20530 PyObject
*resultobj
= 0;
20531 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20532 wxFindReplaceData
*result
= 0 ;
20535 PyObject
*swig_obj
[1] ;
20537 if (!args
) SWIG_fail
;
20538 swig_obj
[0] = args
;
20539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20540 if (!SWIG_IsOK(res1
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20543 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20557 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
= 0;
20559 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20560 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char * kwnames
[] = {
20568 (char *) "self",(char *) "data", NULL
20571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20576 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20578 if (!SWIG_IsOK(res2
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20581 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 (arg1
)->SetData(arg2
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_Py_Void();
20595 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20598 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20599 return SWIG_Py_Void();
20602 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20603 return SWIG_Python_InitShadowInstance(args
);
20606 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
= 0;
20608 wxWindow
*arg1
= (wxWindow
*) 0 ;
20609 int arg2
= (int) (int)-1 ;
20610 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20611 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20616 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20617 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20619 wxMDIParentFrame
*result
= 0 ;
20624 bool temp3
= false ;
20629 bool temp7
= false ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 PyObject
* obj2
= 0 ;
20633 PyObject
* obj3
= 0 ;
20634 PyObject
* obj4
= 0 ;
20635 PyObject
* obj5
= 0 ;
20636 PyObject
* obj6
= 0 ;
20637 char * kwnames
[] = {
20638 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20643 if (!SWIG_IsOK(res1
)) {
20644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20649 if (!SWIG_IsOK(ecode2
)) {
20650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20652 arg2
= static_cast< int >(val2
);
20656 arg3
= wxString_in_helper(obj2
);
20657 if (arg3
== NULL
) SWIG_fail
;
20664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20675 if (!SWIG_IsOK(ecode6
)) {
20676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20678 arg6
= static_cast< long >(val6
);
20682 arg7
= wxString_in_helper(obj6
);
20683 if (arg7
== NULL
) SWIG_fail
;
20688 if (!wxPyCheckForApp()) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20717 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20718 PyObject
*resultobj
= 0;
20719 wxMDIParentFrame
*result
= 0 ;
20721 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20723 if (!wxPyCheckForApp()) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20736 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= 0;
20738 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20739 wxWindow
*arg2
= (wxWindow
*) 0 ;
20740 int arg3
= (int) (int)-1 ;
20741 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20743 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20744 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20745 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20746 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20747 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20748 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20749 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20757 bool temp4
= false ;
20762 bool temp8
= false ;
20763 PyObject
* obj0
= 0 ;
20764 PyObject
* obj1
= 0 ;
20765 PyObject
* obj2
= 0 ;
20766 PyObject
* obj3
= 0 ;
20767 PyObject
* obj4
= 0 ;
20768 PyObject
* obj5
= 0 ;
20769 PyObject
* obj6
= 0 ;
20770 PyObject
* obj7
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20780 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20782 if (!SWIG_IsOK(res2
)) {
20783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20785 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20788 if (!SWIG_IsOK(ecode3
)) {
20789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20791 arg3
= static_cast< int >(val3
);
20795 arg4
= wxString_in_helper(obj3
);
20796 if (arg4
== NULL
) SWIG_fail
;
20803 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20809 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20813 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20814 if (!SWIG_IsOK(ecode7
)) {
20815 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20817 arg7
= static_cast< long >(val7
);
20821 arg8
= wxString_in_helper(obj7
);
20822 if (arg8
== NULL
) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20857 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20858 PyObject
*resultobj
= 0;
20859 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20862 PyObject
*swig_obj
[1] ;
20864 if (!args
) SWIG_fail
;
20865 swig_obj
[0] = args
;
20866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20867 if (!SWIG_IsOK(res1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20870 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 (arg1
)->ActivateNext();
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_Py_Void();
20884 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 PyObject
*resultobj
= 0;
20886 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20889 PyObject
*swig_obj
[1] ;
20891 if (!args
) SWIG_fail
;
20892 swig_obj
[0] = args
;
20893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20894 if (!SWIG_IsOK(res1
)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20897 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 (arg1
)->ActivatePrevious();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_Py_Void();
20911 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20912 PyObject
*resultobj
= 0;
20913 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20916 PyObject
*swig_obj
[1] ;
20918 if (!args
) SWIG_fail
;
20919 swig_obj
[0] = args
;
20920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20924 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 (arg1
)->ArrangeIcons();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_Py_Void();
20938 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20939 PyObject
*resultobj
= 0;
20940 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20943 PyObject
*swig_obj
[1] ;
20945 if (!args
) SWIG_fail
;
20946 swig_obj
[0] = args
;
20947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20948 if (!SWIG_IsOK(res1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20951 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_Py_Void();
20965 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20966 PyObject
*resultobj
= 0;
20967 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20968 wxMDIChildFrame
*result
= 0 ;
20971 PyObject
*swig_obj
[1] ;
20973 if (!args
) SWIG_fail
;
20974 swig_obj
[0] = args
;
20975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20976 if (!SWIG_IsOK(res1
)) {
20977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20979 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20995 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20996 PyObject
*resultobj
= 0;
20997 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20998 wxMDIClientWindow
*result
= 0 ;
21001 PyObject
*swig_obj
[1] ;
21003 if (!args
) SWIG_fail
;
21004 swig_obj
[0] = args
;
21005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21009 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21025 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21026 PyObject
*resultobj
= 0;
21027 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21028 wxMenu
*result
= 0 ;
21031 PyObject
*swig_obj
[1] ;
21033 if (!args
) SWIG_fail
;
21034 swig_obj
[0] = args
;
21035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21036 if (!SWIG_IsOK(res1
)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21039 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= wxPyMake_wxObject(result
, 0);
21055 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
= 0;
21057 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21058 wxMenu
*arg2
= (wxMenu
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char * kwnames
[] = {
21066 (char *) "self",(char *) "menu", NULL
21069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21074 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21076 if (!SWIG_IsOK(res2
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21079 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 (arg1
)->SetWindowMenu(arg2
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_Py_Void();
21093 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
= 0;
21095 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21096 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "self",(char *) "orient", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21109 if (!SWIG_IsOK(res1
)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21112 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21115 if (!SWIG_IsOK(ecode2
)) {
21116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21118 arg2
= static_cast< wxOrientation
>(val2
);
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->Tile(arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_Py_Void();
21133 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21136 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21137 return SWIG_Py_Void();
21140 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21141 return SWIG_Python_InitShadowInstance(args
);
21144 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
= 0;
21146 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21147 int arg2
= (int) (int)-1 ;
21148 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21149 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21154 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21155 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21157 wxMDIChildFrame
*result
= 0 ;
21162 bool temp3
= false ;
21167 bool temp7
= false ;
21168 PyObject
* obj0
= 0 ;
21169 PyObject
* obj1
= 0 ;
21170 PyObject
* obj2
= 0 ;
21171 PyObject
* obj3
= 0 ;
21172 PyObject
* obj4
= 0 ;
21173 PyObject
* obj5
= 0 ;
21174 PyObject
* obj6
= 0 ;
21175 char * kwnames
[] = {
21176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21181 if (!SWIG_IsOK(res1
)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21184 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21187 if (!SWIG_IsOK(ecode2
)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21190 arg2
= static_cast< int >(val2
);
21194 arg3
= wxString_in_helper(obj2
);
21195 if (arg3
== NULL
) SWIG_fail
;
21202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21213 if (!SWIG_IsOK(ecode6
)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21216 arg6
= static_cast< long >(val6
);
21220 arg7
= wxString_in_helper(obj6
);
21221 if (arg7
== NULL
) SWIG_fail
;
21226 if (!wxPyCheckForApp()) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21255 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21256 PyObject
*resultobj
= 0;
21257 wxMDIChildFrame
*result
= 0 ;
21259 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21261 if (!wxPyCheckForApp()) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21274 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
= 0;
21276 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21277 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21278 int arg3
= (int) (int)-1 ;
21279 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21285 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21286 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21295 bool temp4
= false ;
21300 bool temp8
= false ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 PyObject
* obj2
= 0 ;
21304 PyObject
* obj3
= 0 ;
21305 PyObject
* obj4
= 0 ;
21306 PyObject
* obj5
= 0 ;
21307 PyObject
* obj6
= 0 ;
21308 PyObject
* obj7
= 0 ;
21309 char * kwnames
[] = {
21310 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21315 if (!SWIG_IsOK(res1
)) {
21316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21318 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21320 if (!SWIG_IsOK(res2
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21323 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21326 if (!SWIG_IsOK(ecode3
)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21329 arg3
= static_cast< int >(val3
);
21333 arg4
= wxString_in_helper(obj3
);
21334 if (arg4
== NULL
) SWIG_fail
;
21341 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21347 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21351 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21352 if (!SWIG_IsOK(ecode7
)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21355 arg7
= static_cast< long >(val7
);
21359 arg8
= wxString_in_helper(obj7
);
21360 if (arg8
== NULL
) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21400 PyObject
*swig_obj
[1] ;
21402 if (!args
) SWIG_fail
;
21403 swig_obj
[0] = args
;
21404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21408 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->Activate();
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_Py_Void();
21422 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21425 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21426 return SWIG_Py_Void();
21429 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21430 return SWIG_Python_InitShadowInstance(args
);
21433 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21436 long arg2
= (long) 0 ;
21437 wxMDIClientWindow
*result
= 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char * kwnames
[] = {
21445 (char *) "parent",(char *) "style", NULL
21448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21453 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21456 if (!SWIG_IsOK(ecode2
)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21459 arg2
= static_cast< long >(val2
);
21462 if (!wxPyCheckForApp()) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21475 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21476 PyObject
*resultobj
= 0;
21477 wxMDIClientWindow
*result
= 0 ;
21479 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21481 if (!wxPyCheckForApp()) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21494 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
= 0;
21496 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21497 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21498 long arg3
= (long) 0 ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 char * kwnames
[] = {
21510 (char *) "self",(char *) "parent",(char *) "style", NULL
21513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21515 if (!SWIG_IsOK(res1
)) {
21516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21518 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21520 if (!SWIG_IsOK(res2
)) {
21521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21523 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21525 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21526 if (!SWIG_IsOK(ecode3
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21529 arg3
= static_cast< long >(val3
);
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21546 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21549 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21550 return SWIG_Py_Void();
21553 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21554 return SWIG_Python_InitShadowInstance(args
);
21557 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
= 0;
21559 wxWindow
*arg1
= (wxWindow
*) 0 ;
21560 int arg2
= (int) (int)-1 ;
21561 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21562 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21563 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21564 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21565 long arg5
= (long) 0 ;
21566 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21567 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21568 wxPyWindow
*result
= 0 ;
21577 bool temp6
= false ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 PyObject
* obj2
= 0 ;
21581 PyObject
* obj3
= 0 ;
21582 PyObject
* obj4
= 0 ;
21583 PyObject
* obj5
= 0 ;
21584 char * kwnames
[] = {
21585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21590 if (!SWIG_IsOK(res1
)) {
21591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21596 if (!SWIG_IsOK(ecode2
)) {
21597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21599 arg2
= static_cast< int >(val2
);
21604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21610 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21614 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21615 if (!SWIG_IsOK(ecode5
)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21618 arg5
= static_cast< long >(val5
);
21622 arg6
= wxString_in_helper(obj5
);
21623 if (arg6
== NULL
) SWIG_fail
;
21628 if (!wxPyCheckForApp()) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21649 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21650 PyObject
*resultobj
= 0;
21651 wxPyWindow
*result
= 0 ;
21653 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21655 if (!wxPyCheckForApp()) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (wxPyWindow
*)new wxPyWindow();
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21668 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
= 0;
21670 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21671 PyObject
*arg2
= (PyObject
*) 0 ;
21672 PyObject
*arg3
= (PyObject
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 PyObject
* obj2
= 0 ;
21678 char * kwnames
[] = {
21679 (char *) "self",(char *) "self",(char *) "_class", NULL
21682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21684 if (!SWIG_IsOK(res1
)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21687 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= SWIG_Py_Void();
21703 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
= 0;
21705 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "self",(char *) "size", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21721 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21724 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_Py_Void();
21739 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= 0;
21741 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21742 wxDC
*arg2
= (wxDC
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char * kwnames
[] = {
21751 (char *) "self",(char *) "dc", NULL
21754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21756 if (!SWIG_IsOK(res1
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21759 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21761 if (!SWIG_IsOK(res2
)) {
21762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21764 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21780 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 PyObject
* obj2
= 0 ;
21800 PyObject
* obj3
= 0 ;
21801 PyObject
* obj4
= 0 ;
21802 char * kwnames
[] = {
21803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21811 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21813 if (!SWIG_IsOK(ecode2
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21816 arg2
= static_cast< int >(val2
);
21817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21818 if (!SWIG_IsOK(ecode3
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21821 arg3
= static_cast< int >(val3
);
21822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21823 if (!SWIG_IsOK(ecode4
)) {
21824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21826 arg4
= static_cast< int >(val4
);
21827 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21828 if (!SWIG_IsOK(ecode5
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21831 arg5
= static_cast< int >(val5
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_Py_Void();
21845 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
= 0;
21847 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21852 int arg6
= (int) wxSIZE_AUTO
;
21865 PyObject
* obj0
= 0 ;
21866 PyObject
* obj1
= 0 ;
21867 PyObject
* obj2
= 0 ;
21868 PyObject
* obj3
= 0 ;
21869 PyObject
* obj4
= 0 ;
21870 PyObject
* obj5
= 0 ;
21871 char * kwnames
[] = {
21872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21877 if (!SWIG_IsOK(res1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21880 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21882 if (!SWIG_IsOK(ecode2
)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21885 arg2
= static_cast< int >(val2
);
21886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21887 if (!SWIG_IsOK(ecode3
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21890 arg3
= static_cast< int >(val3
);
21891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21892 if (!SWIG_IsOK(ecode4
)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21895 arg4
= static_cast< int >(val4
);
21896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21897 if (!SWIG_IsOK(ecode5
)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21900 arg5
= static_cast< int >(val5
);
21902 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21903 if (!SWIG_IsOK(ecode6
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21906 arg6
= static_cast< int >(val6
);
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_Py_Void();
21921 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
= 0;
21923 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 PyObject
* obj2
= 0 ;
21935 char * kwnames
[] = {
21936 (char *) "self",(char *) "width",(char *) "height", NULL
21939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21941 if (!SWIG_IsOK(res1
)) {
21942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21944 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21946 if (!SWIG_IsOK(ecode2
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21949 arg2
= static_cast< int >(val2
);
21950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21951 if (!SWIG_IsOK(ecode3
)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21954 arg3
= static_cast< int >(val3
);
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 (arg1
)->DoSetClientSize(arg2
,arg3
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= SWIG_Py_Void();
21968 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
= 0;
21970 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 char * kwnames
[] = {
21983 (char *) "self",(char *) "x",(char *) "y", NULL
21986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21991 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21993 if (!SWIG_IsOK(ecode2
)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21996 arg2
= static_cast< int >(val2
);
21997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21998 if (!SWIG_IsOK(ecode3
)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22001 arg3
= static_cast< int >(val3
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_Py_Void();
22015 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22016 PyObject
*resultobj
= 0;
22017 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22018 int *arg2
= (int *) 0 ;
22019 int *arg3
= (int *) 0 ;
22023 int res2
= SWIG_TMPOBJ
;
22025 int res3
= SWIG_TMPOBJ
;
22026 PyObject
*swig_obj
[1] ;
22030 if (!args
) SWIG_fail
;
22031 swig_obj
[0] = args
;
22032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22033 if (!SWIG_IsOK(res1
)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22036 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_Py_Void();
22044 if (SWIG_IsTmpObj(res2
)) {
22045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22047 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22050 if (SWIG_IsTmpObj(res3
)) {
22051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22053 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22062 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22063 PyObject
*resultobj
= 0;
22064 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22065 int *arg2
= (int *) 0 ;
22066 int *arg3
= (int *) 0 ;
22070 int res2
= SWIG_TMPOBJ
;
22072 int res3
= SWIG_TMPOBJ
;
22073 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22083 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_Py_Void();
22091 if (SWIG_IsTmpObj(res2
)) {
22092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22094 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22097 if (SWIG_IsTmpObj(res3
)) {
22098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22109 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22110 PyObject
*resultobj
= 0;
22111 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22112 int *arg2
= (int *) 0 ;
22113 int *arg3
= (int *) 0 ;
22117 int res2
= SWIG_TMPOBJ
;
22119 int res3
= SWIG_TMPOBJ
;
22120 PyObject
*swig_obj
[1] ;
22124 if (!args
) SWIG_fail
;
22125 swig_obj
[0] = args
;
22126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22130 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= SWIG_Py_Void();
22138 if (SWIG_IsTmpObj(res2
)) {
22139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22141 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22144 if (SWIG_IsTmpObj(res3
)) {
22145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22147 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22156 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22157 PyObject
*resultobj
= 0;
22158 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22162 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22170 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22184 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22198 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22212 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22213 PyObject
*resultobj
= 0;
22214 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22215 SwigValueWrapper
<wxVisualAttributes
> result
;
22218 PyObject
*swig_obj
[1] ;
22220 if (!args
) SWIG_fail
;
22221 swig_obj
[0] = args
;
22222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22223 if (!SWIG_IsOK(res1
)) {
22224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22226 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (arg1
)->GetDefaultAttributes();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22240 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22241 PyObject
*resultobj
= 0;
22242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22245 PyObject
*swig_obj
[1] ;
22247 if (!args
) SWIG_fail
;
22248 swig_obj
[0] = args
;
22249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22250 if (!SWIG_IsOK(res1
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22253 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 (arg1
)->OnInternalIdle();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= SWIG_Py_Void();
22267 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22271 return SWIG_Py_Void();
22274 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22275 return SWIG_Python_InitShadowInstance(args
);
22278 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
= 0;
22280 wxWindow
*arg1
= (wxWindow
*) 0 ;
22281 int arg2
= (int) (int)-1 ;
22282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22286 long arg5
= (long) 0 ;
22287 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22288 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22289 wxPyPanel
*result
= 0 ;
22298 bool temp6
= false ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 PyObject
* obj2
= 0 ;
22302 PyObject
* obj3
= 0 ;
22303 PyObject
* obj4
= 0 ;
22304 PyObject
* obj5
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22317 if (!SWIG_IsOK(ecode2
)) {
22318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22320 arg2
= static_cast< int >(val2
);
22325 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22331 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22335 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22336 if (!SWIG_IsOK(ecode5
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22339 arg5
= static_cast< long >(val5
);
22343 arg6
= wxString_in_helper(obj5
);
22344 if (arg6
== NULL
) SWIG_fail
;
22349 if (!wxPyCheckForApp()) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22370 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22371 PyObject
*resultobj
= 0;
22372 wxPyPanel
*result
= 0 ;
22374 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22376 if (!wxPyCheckForApp()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxPyPanel
*)new wxPyPanel();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22389 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
= 0;
22391 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22392 PyObject
*arg2
= (PyObject
*) 0 ;
22393 PyObject
*arg3
= (PyObject
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 PyObject
* obj2
= 0 ;
22399 char * kwnames
[] = {
22400 (char *) "self",(char *) "self",(char *) "_class", NULL
22403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22405 if (!SWIG_IsOK(res1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22408 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_Py_Void();
22424 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
= 0;
22426 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 char * kwnames
[] = {
22434 (char *) "self",(char *) "size", NULL
22437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22439 if (!SWIG_IsOK(res1
)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22442 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22445 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_Py_Void();
22460 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
= 0;
22462 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22463 wxDC
*arg2
= (wxDC
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 char * kwnames
[] = {
22472 (char *) "self",(char *) "dc", NULL
22475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22477 if (!SWIG_IsOK(res1
)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22480 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22482 if (!SWIG_IsOK(res2
)) {
22483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22485 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22501 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
= 0;
22503 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22518 PyObject
* obj0
= 0 ;
22519 PyObject
* obj1
= 0 ;
22520 PyObject
* obj2
= 0 ;
22521 PyObject
* obj3
= 0 ;
22522 PyObject
* obj4
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22532 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22534 if (!SWIG_IsOK(ecode2
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22537 arg2
= static_cast< int >(val2
);
22538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22539 if (!SWIG_IsOK(ecode3
)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22542 arg3
= static_cast< int >(val3
);
22543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22544 if (!SWIG_IsOK(ecode4
)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22547 arg4
= static_cast< int >(val4
);
22548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22549 if (!SWIG_IsOK(ecode5
)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22552 arg5
= static_cast< int >(val5
);
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= SWIG_Py_Void();
22566 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
= 0;
22568 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22573 int arg6
= (int) wxSIZE_AUTO
;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 PyObject
* obj2
= 0 ;
22589 PyObject
* obj3
= 0 ;
22590 PyObject
* obj4
= 0 ;
22591 PyObject
* obj5
= 0 ;
22592 char * kwnames
[] = {
22593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22601 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22603 if (!SWIG_IsOK(ecode2
)) {
22604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22606 arg2
= static_cast< int >(val2
);
22607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22608 if (!SWIG_IsOK(ecode3
)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22611 arg3
= static_cast< int >(val3
);
22612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22613 if (!SWIG_IsOK(ecode4
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22616 arg4
= static_cast< int >(val4
);
22617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22618 if (!SWIG_IsOK(ecode5
)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22621 arg5
= static_cast< int >(val5
);
22623 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22624 if (!SWIG_IsOK(ecode6
)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22627 arg6
= static_cast< int >(val6
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_Py_Void();
22642 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
= 0;
22644 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 PyObject
* obj2
= 0 ;
22656 char * kwnames
[] = {
22657 (char *) "self",(char *) "width",(char *) "height", NULL
22660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22665 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22667 if (!SWIG_IsOK(ecode2
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22670 arg2
= static_cast< int >(val2
);
22671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22672 if (!SWIG_IsOK(ecode3
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22675 arg3
= static_cast< int >(val3
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 (arg1
)->DoSetClientSize(arg2
,arg3
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_Py_Void();
22689 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= 0;
22691 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 PyObject
* obj2
= 0 ;
22703 char * kwnames
[] = {
22704 (char *) "self",(char *) "x",(char *) "y", NULL
22707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22712 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22714 if (!SWIG_IsOK(ecode2
)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22717 arg2
= static_cast< int >(val2
);
22718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22719 if (!SWIG_IsOK(ecode3
)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22722 arg3
= static_cast< int >(val3
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_Py_Void();
22736 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 PyObject
*resultobj
= 0;
22738 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22739 int *arg2
= (int *) 0 ;
22740 int *arg3
= (int *) 0 ;
22744 int res2
= SWIG_TMPOBJ
;
22746 int res3
= SWIG_TMPOBJ
;
22747 PyObject
*swig_obj
[1] ;
22751 if (!args
) SWIG_fail
;
22752 swig_obj
[0] = args
;
22753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22754 if (!SWIG_IsOK(res1
)) {
22755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22757 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_Py_Void();
22765 if (SWIG_IsTmpObj(res2
)) {
22766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22768 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22771 if (SWIG_IsTmpObj(res3
)) {
22772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22774 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22783 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22784 PyObject
*resultobj
= 0;
22785 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22786 int *arg2
= (int *) 0 ;
22787 int *arg3
= (int *) 0 ;
22791 int res2
= SWIG_TMPOBJ
;
22793 int res3
= SWIG_TMPOBJ
;
22794 PyObject
*swig_obj
[1] ;
22798 if (!args
) SWIG_fail
;
22799 swig_obj
[0] = args
;
22800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22804 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_Py_Void();
22812 if (SWIG_IsTmpObj(res2
)) {
22813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22815 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22818 if (SWIG_IsTmpObj(res3
)) {
22819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22821 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22830 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22831 PyObject
*resultobj
= 0;
22832 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22833 int *arg2
= (int *) 0 ;
22834 int *arg3
= (int *) 0 ;
22838 int res2
= SWIG_TMPOBJ
;
22840 int res3
= SWIG_TMPOBJ
;
22841 PyObject
*swig_obj
[1] ;
22845 if (!args
) SWIG_fail
;
22846 swig_obj
[0] = args
;
22847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22851 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_Py_Void();
22859 if (SWIG_IsTmpObj(res2
)) {
22860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22862 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22865 if (SWIG_IsTmpObj(res3
)) {
22866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22868 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22877 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22878 PyObject
*resultobj
= 0;
22879 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22883 PyObject
*swig_obj
[1] ;
22885 if (!args
) SWIG_fail
;
22886 swig_obj
[0] = args
;
22887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22888 if (!SWIG_IsOK(res1
)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22891 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22905 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22906 PyObject
*resultobj
= 0;
22907 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22911 PyObject
*swig_obj
[1] ;
22913 if (!args
) SWIG_fail
;
22914 swig_obj
[0] = args
;
22915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22919 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22933 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22934 PyObject
*resultobj
= 0;
22935 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22936 SwigValueWrapper
<wxVisualAttributes
> result
;
22939 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22947 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (arg1
)->GetDefaultAttributes();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22961 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22962 PyObject
*resultobj
= 0;
22963 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22974 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 (arg1
)->OnInternalIdle();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_Py_Void();
22988 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22992 return SWIG_Py_Void();
22995 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22996 return SWIG_Python_InitShadowInstance(args
);
22999 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
= 0;
23001 wxWindow
*arg1
= (wxWindow
*) 0 ;
23002 int arg2
= (int) (int)-1 ;
23003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23007 long arg5
= (long) 0 ;
23008 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23010 wxPyScrolledWindow
*result
= 0 ;
23019 bool temp6
= false ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 PyObject
* obj2
= 0 ;
23023 PyObject
* obj3
= 0 ;
23024 PyObject
* obj4
= 0 ;
23025 PyObject
* obj5
= 0 ;
23026 char * kwnames
[] = {
23027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23032 if (!SWIG_IsOK(res1
)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23038 if (!SWIG_IsOK(ecode2
)) {
23039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23041 arg2
= static_cast< int >(val2
);
23046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23052 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23056 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23057 if (!SWIG_IsOK(ecode5
)) {
23058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23060 arg5
= static_cast< long >(val5
);
23064 arg6
= wxString_in_helper(obj5
);
23065 if (arg6
== NULL
) SWIG_fail
;
23070 if (!wxPyCheckForApp()) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23091 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxPyScrolledWindow
*result
= 0 ;
23095 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23097 if (!wxPyCheckForApp()) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23110 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
= 0;
23112 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23113 PyObject
*arg2
= (PyObject
*) 0 ;
23114 PyObject
*arg3
= (PyObject
*) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 PyObject
* obj2
= 0 ;
23120 char * kwnames
[] = {
23121 (char *) "self",(char *) "self",(char *) "_class", NULL
23124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23126 if (!SWIG_IsOK(res1
)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23129 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_Py_Void();
23145 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
= 0;
23147 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 char * kwnames
[] = {
23155 (char *) "self",(char *) "size", NULL
23158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23163 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_Py_Void();
23181 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
= 0;
23183 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23184 wxDC
*arg2
= (wxDC
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char * kwnames
[] = {
23193 (char *) "self",(char *) "dc", NULL
23196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23198 if (!SWIG_IsOK(res1
)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23201 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23203 if (!SWIG_IsOK(res2
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23206 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23222 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= 0;
23224 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 PyObject
* obj2
= 0 ;
23242 PyObject
* obj3
= 0 ;
23243 PyObject
* obj4
= 0 ;
23244 char * kwnames
[] = {
23245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23253 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23255 if (!SWIG_IsOK(ecode2
)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23258 arg2
= static_cast< int >(val2
);
23259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23260 if (!SWIG_IsOK(ecode3
)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23263 arg3
= static_cast< int >(val3
);
23264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23265 if (!SWIG_IsOK(ecode4
)) {
23266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23268 arg4
= static_cast< int >(val4
);
23269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23270 if (!SWIG_IsOK(ecode5
)) {
23271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23273 arg5
= static_cast< int >(val5
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= SWIG_Py_Void();
23287 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23294 int arg6
= (int) wxSIZE_AUTO
;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 PyObject
* obj2
= 0 ;
23310 PyObject
* obj3
= 0 ;
23311 PyObject
* obj4
= 0 ;
23312 PyObject
* obj5
= 0 ;
23313 char * kwnames
[] = {
23314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23322 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23324 if (!SWIG_IsOK(ecode2
)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23327 arg2
= static_cast< int >(val2
);
23328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23329 if (!SWIG_IsOK(ecode3
)) {
23330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23332 arg3
= static_cast< int >(val3
);
23333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23334 if (!SWIG_IsOK(ecode4
)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23337 arg4
= static_cast< int >(val4
);
23338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23339 if (!SWIG_IsOK(ecode5
)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23342 arg5
= static_cast< int >(val5
);
23344 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23345 if (!SWIG_IsOK(ecode6
)) {
23346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23348 arg6
= static_cast< int >(val6
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_Py_Void();
23363 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
= 0;
23365 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 PyObject
* obj2
= 0 ;
23377 char * kwnames
[] = {
23378 (char *) "self",(char *) "width",(char *) "height", NULL
23381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23386 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23388 if (!SWIG_IsOK(ecode2
)) {
23389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23391 arg2
= static_cast< int >(val2
);
23392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23393 if (!SWIG_IsOK(ecode3
)) {
23394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23396 arg3
= static_cast< int >(val3
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 (arg1
)->DoSetClientSize(arg2
,arg3
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_Py_Void();
23410 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
= 0;
23412 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 PyObject
* obj2
= 0 ;
23424 char * kwnames
[] = {
23425 (char *) "self",(char *) "x",(char *) "y", NULL
23428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23433 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23435 if (!SWIG_IsOK(ecode2
)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23438 arg2
= static_cast< int >(val2
);
23439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23440 if (!SWIG_IsOK(ecode3
)) {
23441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23443 arg3
= static_cast< int >(val3
);
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_Py_Void();
23457 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23458 PyObject
*resultobj
= 0;
23459 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23460 int *arg2
= (int *) 0 ;
23461 int *arg3
= (int *) 0 ;
23465 int res2
= SWIG_TMPOBJ
;
23467 int res3
= SWIG_TMPOBJ
;
23468 PyObject
*swig_obj
[1] ;
23472 if (!args
) SWIG_fail
;
23473 swig_obj
[0] = args
;
23474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23475 if (!SWIG_IsOK(res1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23478 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 resultobj
= SWIG_Py_Void();
23486 if (SWIG_IsTmpObj(res2
)) {
23487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23489 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23492 if (SWIG_IsTmpObj(res3
)) {
23493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23495 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23504 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23505 PyObject
*resultobj
= 0;
23506 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23507 int *arg2
= (int *) 0 ;
23508 int *arg3
= (int *) 0 ;
23512 int res2
= SWIG_TMPOBJ
;
23514 int res3
= SWIG_TMPOBJ
;
23515 PyObject
*swig_obj
[1] ;
23519 if (!args
) SWIG_fail
;
23520 swig_obj
[0] = args
;
23521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23525 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_Py_Void();
23533 if (SWIG_IsTmpObj(res2
)) {
23534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23536 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23539 if (SWIG_IsTmpObj(res3
)) {
23540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23551 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23552 PyObject
*resultobj
= 0;
23553 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23554 int *arg2
= (int *) 0 ;
23555 int *arg3
= (int *) 0 ;
23559 int res2
= SWIG_TMPOBJ
;
23561 int res3
= SWIG_TMPOBJ
;
23562 PyObject
*swig_obj
[1] ;
23566 if (!args
) SWIG_fail
;
23567 swig_obj
[0] = args
;
23568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23572 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_Py_Void();
23580 if (SWIG_IsTmpObj(res2
)) {
23581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23583 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23586 if (SWIG_IsTmpObj(res3
)) {
23587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23589 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23598 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23599 PyObject
*resultobj
= 0;
23600 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23604 PyObject
*swig_obj
[1] ;
23606 if (!args
) SWIG_fail
;
23607 swig_obj
[0] = args
;
23608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23609 if (!SWIG_IsOK(res1
)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23612 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23626 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23627 PyObject
*resultobj
= 0;
23628 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23632 PyObject
*swig_obj
[1] ;
23634 if (!args
) SWIG_fail
;
23635 swig_obj
[0] = args
;
23636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23637 if (!SWIG_IsOK(res1
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23640 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23654 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23655 PyObject
*resultobj
= 0;
23656 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23657 SwigValueWrapper
<wxVisualAttributes
> result
;
23660 PyObject
*swig_obj
[1] ;
23662 if (!args
) SWIG_fail
;
23663 swig_obj
[0] = args
;
23664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23668 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (arg1
)->GetDefaultAttributes();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23682 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23683 PyObject
*resultobj
= 0;
23684 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23687 PyObject
*swig_obj
[1] ;
23689 if (!args
) SWIG_fail
;
23690 swig_obj
[0] = args
;
23691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23692 if (!SWIG_IsOK(res1
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23695 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 (arg1
)->OnInternalIdle();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_Py_Void();
23709 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23713 return SWIG_Py_Void();
23716 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23717 return SWIG_Python_InitShadowInstance(args
);
23720 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23721 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23726 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23727 PyObject
*pyobj
= 0;
23731 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23733 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23740 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23741 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23746 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23747 PyObject
*pyobj
= 0;
23751 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23753 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23760 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23761 PyObject
*resultobj
= 0;
23762 wxPrintData
*result
= 0 ;
23764 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxPrintData
*)new wxPrintData();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23778 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23779 PyObject
*resultobj
= 0;
23780 wxPrintData
*arg1
= 0 ;
23781 wxPrintData
*result
= 0 ;
23785 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23787 if (!SWIG_IsOK(res1
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23793 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23807 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23811 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23814 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23817 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23821 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23826 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23827 PyObject
*resultobj
= 0;
23828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23831 PyObject
*swig_obj
[1] ;
23833 if (!args
) SWIG_fail
;
23834 swig_obj
[0] = args
;
23835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23839 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_Py_Void();
23854 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23855 PyObject
*resultobj
= 0;
23856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23860 PyObject
*swig_obj
[1] ;
23862 if (!args
) SWIG_fail
;
23863 swig_obj
[0] = args
;
23864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23868 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (int)(arg1
)->GetNoCopies();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_From_int(static_cast< int >(result
));
23882 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23883 PyObject
*resultobj
= 0;
23884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23888 PyObject
*swig_obj
[1] ;
23890 if (!args
) SWIG_fail
;
23891 swig_obj
[0] = args
;
23892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23896 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (bool)(arg1
)->GetCollate();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23912 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23913 PyObject
*resultobj
= 0;
23914 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23918 PyObject
*swig_obj
[1] ;
23920 if (!args
) SWIG_fail
;
23921 swig_obj
[0] = args
;
23922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23923 if (!SWIG_IsOK(res1
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23926 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (int)(arg1
)->GetOrientation();
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= SWIG_From_int(static_cast< int >(result
));
23940 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23941 PyObject
*resultobj
= 0;
23942 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23946 PyObject
*swig_obj
[1] ;
23948 if (!args
) SWIG_fail
;
23949 swig_obj
[0] = args
;
23950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23951 if (!SWIG_IsOK(res1
)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23954 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (bool)(arg1
)->IsOk();
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23970 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23971 PyObject
*resultobj
= 0;
23972 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23973 wxString
*result
= 0 ;
23976 PyObject
*swig_obj
[1] ;
23978 if (!args
) SWIG_fail
;
23979 swig_obj
[0] = args
;
23980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23981 if (!SWIG_IsOK(res1
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23984 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23989 result
= (wxString
*) &_result_ref
;
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23998 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24007 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24008 PyObject
*resultobj
= 0;
24009 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24013 PyObject
*swig_obj
[1] ;
24015 if (!args
) SWIG_fail
;
24016 swig_obj
[0] = args
;
24017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24018 if (!SWIG_IsOK(res1
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24021 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)(arg1
)->GetColour();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24038 PyObject
*resultobj
= 0;
24039 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24040 wxDuplexMode result
;
24043 PyObject
*swig_obj
[1] ;
24045 if (!args
) SWIG_fail
;
24046 swig_obj
[0] = args
;
24047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24051 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= SWIG_From_int(static_cast< int >(result
));
24065 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24066 PyObject
*resultobj
= 0;
24067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24068 wxPaperSize result
;
24071 PyObject
*swig_obj
[1] ;
24073 if (!args
) SWIG_fail
;
24074 swig_obj
[0] = args
;
24075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24076 if (!SWIG_IsOK(res1
)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24079 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_From_int(static_cast< int >(result
));
24093 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 PyObject
*resultobj
= 0;
24095 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24096 wxSize
*result
= 0 ;
24099 PyObject
*swig_obj
[1] ;
24101 if (!args
) SWIG_fail
;
24102 swig_obj
[0] = args
;
24103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24104 if (!SWIG_IsOK(res1
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24107 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24112 result
= (wxSize
*) &_result_ref
;
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24124 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24125 PyObject
*resultobj
= 0;
24126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24130 PyObject
*swig_obj
[1] ;
24132 if (!args
) SWIG_fail
;
24133 swig_obj
[0] = args
;
24134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24135 if (!SWIG_IsOK(res1
)) {
24136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24138 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (int)(arg1
)->GetQuality();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= SWIG_From_int(static_cast< int >(result
));
24152 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24153 PyObject
*resultobj
= 0;
24154 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24158 PyObject
*swig_obj
[1] ;
24160 if (!args
) SWIG_fail
;
24161 swig_obj
[0] = args
;
24162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24166 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (wxPrintBin
)(arg1
)->GetBin();
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_From_int(static_cast< int >(result
));
24180 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 PyObject
*resultobj
= 0;
24182 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24183 wxPrintMode result
;
24186 PyObject
*swig_obj
[1] ;
24188 if (!args
) SWIG_fail
;
24189 swig_obj
[0] = args
;
24190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24194 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= SWIG_From_int(static_cast< int >(result
));
24208 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(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_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24222 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_From_int(static_cast< int >(result
));
24236 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
= 0;
24238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 char * kwnames
[] = {
24247 (char *) "self",(char *) "v", NULL
24250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24252 if (!SWIG_IsOK(res1
)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24255 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24257 if (!SWIG_IsOK(ecode2
)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24260 arg2
= static_cast< int >(val2
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->SetNoCopies(arg2
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_Py_Void();
24274 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char * kwnames
[] = {
24285 (char *) "self",(char *) "flag", NULL
24288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24290 if (!SWIG_IsOK(res1
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24293 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24294 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24295 if (!SWIG_IsOK(ecode2
)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24298 arg2
= static_cast< bool >(val2
);
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 (arg1
)->SetCollate(arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= SWIG_Py_Void();
24312 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
= 0;
24314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 char * kwnames
[] = {
24323 (char *) "self",(char *) "orient", NULL
24326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24331 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24333 if (!SWIG_IsOK(ecode2
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24336 arg2
= static_cast< int >(val2
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->SetOrientation(arg2
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_Py_Void();
24350 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24353 wxString
*arg2
= 0 ;
24356 bool temp2
= false ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char * kwnames
[] = {
24360 (char *) "self",(char *) "name", NULL
24363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24365 if (!SWIG_IsOK(res1
)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24368 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24370 arg2
= wxString_in_helper(obj1
);
24371 if (arg2
== NULL
) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= SWIG_Py_Void();
24395 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
= 0;
24397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char * kwnames
[] = {
24406 (char *) "self",(char *) "colour", NULL
24409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24411 if (!SWIG_IsOK(res1
)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24414 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24415 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24416 if (!SWIG_IsOK(ecode2
)) {
24417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24419 arg2
= static_cast< bool >(val2
);
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 (arg1
)->SetColour(arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_Py_Void();
24433 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
= 0;
24435 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24436 wxDuplexMode arg2
;
24441 PyObject
* obj0
= 0 ;
24442 PyObject
* obj1
= 0 ;
24443 char * kwnames
[] = {
24444 (char *) "self",(char *) "duplex", NULL
24447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24449 if (!SWIG_IsOK(res1
)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24452 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24454 if (!SWIG_IsOK(ecode2
)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24457 arg2
= static_cast< wxDuplexMode
>(val2
);
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 (arg1
)->SetDuplex(arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_Py_Void();
24471 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
= 0;
24473 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char * kwnames
[] = {
24482 (char *) "self",(char *) "sizeId", NULL
24485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24490 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24492 if (!SWIG_IsOK(ecode2
)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24495 arg2
= static_cast< wxPaperSize
>(val2
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->SetPaperId(arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= SWIG_Py_Void();
24509 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24511 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char * kwnames
[] = {
24519 (char *) "self",(char *) "sz", NULL
24522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24527 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_Py_Void();
24545 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
= 0;
24547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 char * kwnames
[] = {
24556 (char *) "self",(char *) "quality", NULL
24559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24561 if (!SWIG_IsOK(res1
)) {
24562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24564 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24566 if (!SWIG_IsOK(ecode2
)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24569 arg2
= static_cast< int >(val2
);
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 (arg1
)->SetQuality(arg2
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= SWIG_Py_Void();
24583 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
= 0;
24585 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 char * kwnames
[] = {
24594 (char *) "self",(char *) "bin", NULL
24597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24599 if (!SWIG_IsOK(res1
)) {
24600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24602 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24604 if (!SWIG_IsOK(ecode2
)) {
24605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24607 arg2
= static_cast< wxPrintBin
>(val2
);
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 (arg1
)->SetBin(arg2
);
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_Py_Void();
24621 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
= 0;
24623 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 char * kwnames
[] = {
24632 (char *) "self",(char *) "printMode", NULL
24635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24637 if (!SWIG_IsOK(res1
)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24640 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24642 if (!SWIG_IsOK(ecode2
)) {
24643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24645 arg2
= static_cast< wxPrintMode
>(val2
);
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetPrintMode(arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_Py_Void();
24659 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
= 0;
24661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 char * kwnames
[] = {
24670 (char *) "self",(char *) "media", NULL
24673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24675 if (!SWIG_IsOK(res1
)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24678 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24680 if (!SWIG_IsOK(ecode2
)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24683 arg2
= static_cast< int >(val2
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 (arg1
)->SetMedia(arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_Py_Void();
24697 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24698 PyObject
*resultobj
= 0;
24699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24703 PyObject
*swig_obj
[1] ;
24705 if (!args
) SWIG_fail
;
24706 swig_obj
[0] = args
;
24707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24711 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24731 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
= 0;
24733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24734 wxString
*arg2
= 0 ;
24737 bool temp2
= false ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "self",(char *) "filename", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24749 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24751 arg2
= wxString_in_helper(obj1
);
24752 if (arg2
== NULL
) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 (arg1
)->SetFilename((wxString
const &)*arg2
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_Py_Void();
24776 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24777 PyObject
*resultobj
= 0;
24778 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24779 PyObject
*result
= 0 ;
24782 PyObject
*swig_obj
[1] ;
24784 if (!args
) SWIG_fail
;
24785 swig_obj
[0] = args
;
24786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24787 if (!SWIG_IsOK(res1
)) {
24788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24790 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= result
;
24804 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= 0;
24806 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24807 PyObject
*arg2
= (PyObject
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char * kwnames
[] = {
24813 (char *) "self",(char *) "data", NULL
24816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24821 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 wxPrintData_SetPrivData(arg1
,arg2
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_Py_Void();
24836 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24839 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24840 return SWIG_Py_Void();
24843 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24844 return SWIG_Python_InitShadowInstance(args
);
24847 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24848 PyObject
*resultobj
= 0;
24849 wxPageSetupDialogData
*result
= 0 ;
24851 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24865 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24866 PyObject
*resultobj
= 0;
24867 wxPageSetupDialogData
*arg1
= 0 ;
24868 wxPageSetupDialogData
*result
= 0 ;
24872 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24874 if (!SWIG_IsOK(res1
)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24880 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24894 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24895 PyObject
*resultobj
= 0;
24896 wxPrintData
*arg1
= 0 ;
24897 wxPageSetupDialogData
*result
= 0 ;
24901 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24909 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24923 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24927 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24930 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24935 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24936 _v
= SWIG_CheckState(res
);
24938 if (!_v
) goto check_2
;
24939 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24944 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24948 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24953 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 PyObject
*resultobj
= 0;
24955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24958 PyObject
*swig_obj
[1] ;
24960 if (!args
) SWIG_fail
;
24961 swig_obj
[0] = args
;
24962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24963 if (!SWIG_IsOK(res1
)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24966 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_Py_Void();
24981 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
= 0;
24983 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 char * kwnames
[] = {
24992 (char *) "self",(char *) "flag", NULL
24995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24997 if (!SWIG_IsOK(res1
)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25000 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25001 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25002 if (!SWIG_IsOK(ecode2
)) {
25003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25005 arg2
= static_cast< bool >(val2
);
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 (arg1
)->EnableHelp(arg2
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= SWIG_Py_Void();
25019 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
= 0;
25021 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25027 PyObject
* obj0
= 0 ;
25028 PyObject
* obj1
= 0 ;
25029 char * kwnames
[] = {
25030 (char *) "self",(char *) "flag", NULL
25033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25038 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25039 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25040 if (!SWIG_IsOK(ecode2
)) {
25041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25043 arg2
= static_cast< bool >(val2
);
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 (arg1
)->EnableMargins(arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_Py_Void();
25057 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
= 0;
25059 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 char * kwnames
[] = {
25068 (char *) "self",(char *) "flag", NULL
25071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25076 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25077 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25078 if (!SWIG_IsOK(ecode2
)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25081 arg2
= static_cast< bool >(val2
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 (arg1
)->EnableOrientation(arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_Py_Void();
25095 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
= 0;
25097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char * kwnames
[] = {
25106 (char *) "self",(char *) "flag", NULL
25109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25114 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25115 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25116 if (!SWIG_IsOK(ecode2
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25119 arg2
= static_cast< bool >(val2
);
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->EnablePaper(arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= SWIG_Py_Void();
25133 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
= 0;
25135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 char * kwnames
[] = {
25144 (char *) "self",(char *) "flag", NULL
25147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25152 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25153 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25154 if (!SWIG_IsOK(ecode2
)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25157 arg2
= static_cast< bool >(val2
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 (arg1
)->EnablePrinter(arg2
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_Py_Void();
25171 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 PyObject
*resultobj
= 0;
25173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25177 PyObject
*swig_obj
[1] ;
25179 if (!args
) SWIG_fail
;
25180 swig_obj
[0] = args
;
25181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25182 if (!SWIG_IsOK(res1
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25185 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (bool)(arg1
)->GetDefaultMinMargins();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25201 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25202 PyObject
*resultobj
= 0;
25203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25207 PyObject
*swig_obj
[1] ;
25209 if (!args
) SWIG_fail
;
25210 swig_obj
[0] = args
;
25211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25212 if (!SWIG_IsOK(res1
)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25215 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (bool)(arg1
)->GetEnableMargins();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25231 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25232 PyObject
*resultobj
= 0;
25233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25237 PyObject
*swig_obj
[1] ;
25239 if (!args
) SWIG_fail
;
25240 swig_obj
[0] = args
;
25241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25242 if (!SWIG_IsOK(res1
)) {
25243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25245 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 result
= (bool)(arg1
)->GetEnableOrientation();
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25261 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25262 PyObject
*resultobj
= 0;
25263 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25267 PyObject
*swig_obj
[1] ;
25269 if (!args
) SWIG_fail
;
25270 swig_obj
[0] = args
;
25271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25272 if (!SWIG_IsOK(res1
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25275 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 result
= (bool)(arg1
)->GetEnablePaper();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25291 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 PyObject
*resultobj
= 0;
25293 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25297 PyObject
*swig_obj
[1] ;
25299 if (!args
) SWIG_fail
;
25300 swig_obj
[0] = args
;
25301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25305 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (bool)(arg1
)->GetEnablePrinter();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25321 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25322 PyObject
*resultobj
= 0;
25323 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25327 PyObject
*swig_obj
[1] ;
25329 if (!args
) SWIG_fail
;
25330 swig_obj
[0] = args
;
25331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25332 if (!SWIG_IsOK(res1
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25335 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= (bool)(arg1
)->GetEnableHelp();
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25351 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25352 PyObject
*resultobj
= 0;
25353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25365 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (bool)(arg1
)->GetDefaultInfo();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25381 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 PyObject
*resultobj
= 0;
25383 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25387 PyObject
*swig_obj
[1] ;
25389 if (!args
) SWIG_fail
;
25390 swig_obj
[0] = args
;
25391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (arg1
)->GetMarginTopLeft();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25409 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25410 PyObject
*resultobj
= 0;
25411 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25415 PyObject
*swig_obj
[1] ;
25417 if (!args
) SWIG_fail
;
25418 swig_obj
[0] = args
;
25419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25423 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (arg1
)->GetMarginBottomRight();
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25437 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25438 PyObject
*resultobj
= 0;
25439 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25443 PyObject
*swig_obj
[1] ;
25445 if (!args
) SWIG_fail
;
25446 swig_obj
[0] = args
;
25447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25448 if (!SWIG_IsOK(res1
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25451 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 result
= (arg1
)->GetMinMarginTopLeft();
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25465 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 PyObject
*resultobj
= 0;
25467 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25471 PyObject
*swig_obj
[1] ;
25473 if (!args
) SWIG_fail
;
25474 swig_obj
[0] = args
;
25475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25476 if (!SWIG_IsOK(res1
)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25479 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (arg1
)->GetMinMarginBottomRight();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25493 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25494 PyObject
*resultobj
= 0;
25495 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25496 wxPaperSize result
;
25499 PyObject
*swig_obj
[1] ;
25501 if (!args
) SWIG_fail
;
25502 swig_obj
[0] = args
;
25503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25504 if (!SWIG_IsOK(res1
)) {
25505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25507 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= SWIG_From_int(static_cast< int >(result
));
25521 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25522 PyObject
*resultobj
= 0;
25523 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25527 PyObject
*swig_obj
[1] ;
25529 if (!args
) SWIG_fail
;
25530 swig_obj
[0] = args
;
25531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25535 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 result
= (arg1
)->GetPaperSize();
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25549 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25550 PyObject
*resultobj
= 0;
25551 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25552 wxPrintData
*result
= 0 ;
25555 PyObject
*swig_obj
[1] ;
25557 if (!args
) SWIG_fail
;
25558 swig_obj
[0] = args
;
25559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25560 if (!SWIG_IsOK(res1
)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25563 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25568 result
= (wxPrintData
*) &_result_ref
;
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25580 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25581 PyObject
*resultobj
= 0;
25582 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25586 PyObject
*swig_obj
[1] ;
25588 if (!args
) SWIG_fail
;
25589 swig_obj
[0] = args
;
25590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25591 if (!SWIG_IsOK(res1
)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25594 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (bool)(arg1
)->IsOk();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25610 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25611 PyObject
*resultobj
= 0;
25612 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 char * kwnames
[] = {
25621 (char *) "self",(char *) "flag", NULL
25624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25629 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25630 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25631 if (!SWIG_IsOK(ecode2
)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25634 arg2
= static_cast< bool >(val2
);
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 (arg1
)->SetDefaultInfo(arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_Py_Void();
25648 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
= 0;
25650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 char * kwnames
[] = {
25659 (char *) "self",(char *) "flag", NULL
25662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25664 if (!SWIG_IsOK(res1
)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25667 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25668 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25669 if (!SWIG_IsOK(ecode2
)) {
25670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25672 arg2
= static_cast< bool >(val2
);
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 (arg1
)->SetDefaultMinMargins(arg2
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= SWIG_Py_Void();
25686 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
= 0;
25688 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25689 wxPoint
*arg2
= 0 ;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 char * kwnames
[] = {
25696 (char *) "self",(char *) "pt", NULL
25699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25701 if (!SWIG_IsOK(res1
)) {
25702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25704 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_Py_Void();
25722 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
= 0;
25724 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25725 wxPoint
*arg2
= 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char * kwnames
[] = {
25732 (char *) "self",(char *) "pt", NULL
25735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25740 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_Py_Void();
25758 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
= 0;
25760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25761 wxPoint
*arg2
= 0 ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 char * kwnames
[] = {
25768 (char *) "self",(char *) "pt", NULL
25771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25776 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_Py_Void();
25794 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
= 0;
25796 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25797 wxPoint
*arg2
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char * kwnames
[] = {
25804 (char *) "self",(char *) "pt", NULL
25807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25809 if (!SWIG_IsOK(res1
)) {
25810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25812 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= SWIG_Py_Void();
25830 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
= 0;
25832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 char * kwnames
[] = {
25841 (char *) "self",(char *) "id", NULL
25844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25849 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25851 if (!SWIG_IsOK(ecode2
)) {
25852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25854 arg2
= static_cast< wxPaperSize
>(val2
);
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 (arg1
)->SetPaperId(arg2
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= SWIG_Py_Void();
25868 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
= 0;
25870 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 char * kwnames
[] = {
25878 (char *) "self",(char *) "size", NULL
25881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25883 if (!SWIG_IsOK(res1
)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25886 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_Py_Void();
25904 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
= 0;
25906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25907 wxPrintData
*arg2
= 0 ;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 char * kwnames
[] = {
25915 (char *) "self",(char *) "printData", NULL
25918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25920 if (!SWIG_IsOK(res1
)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25923 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25925 if (!SWIG_IsOK(res2
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25931 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_Py_Void();
25945 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25946 PyObject
*resultobj
= 0;
25947 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25950 PyObject
*swig_obj
[1] ;
25952 if (!args
) SWIG_fail
;
25953 swig_obj
[0] = args
;
25954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25955 if (!SWIG_IsOK(res1
)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25958 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->CalculateIdFromPaperSize();
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_Py_Void();
25972 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25973 PyObject
*resultobj
= 0;
25974 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25977 PyObject
*swig_obj
[1] ;
25979 if (!args
) SWIG_fail
;
25980 swig_obj
[0] = args
;
25981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25982 if (!SWIG_IsOK(res1
)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25985 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->CalculatePaperSizeFromId();
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_Py_Void();
25999 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26002 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26003 return SWIG_Py_Void();
26006 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26007 return SWIG_Python_InitShadowInstance(args
);
26010 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
= 0;
26012 wxWindow
*arg1
= (wxWindow
*) 0 ;
26013 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26014 wxPageSetupDialog
*result
= 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char * kwnames
[] = {
26022 (char *) "parent",(char *) "data", NULL
26025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26027 if (!SWIG_IsOK(res1
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26033 if (!SWIG_IsOK(res2
)) {
26034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26036 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26039 if (!wxPyCheckForApp()) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26052 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26053 PyObject
*resultobj
= 0;
26054 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26057 PyObject
*swig_obj
[1] ;
26059 if (!args
) SWIG_fail
;
26060 swig_obj
[0] = args
;
26061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26062 if (!SWIG_IsOK(res1
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26065 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_Py_Void();
26080 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26081 PyObject
*resultobj
= 0;
26082 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26083 wxPageSetupDialogData
*result
= 0 ;
26086 PyObject
*swig_obj
[1] ;
26088 if (!args
) SWIG_fail
;
26089 swig_obj
[0] = args
;
26090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26094 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26099 result
= (wxPageSetupDialogData
*) &_result_ref
;
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26111 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26112 PyObject
*resultobj
= 0;
26113 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26114 wxPageSetupDialogData
*result
= 0 ;
26117 PyObject
*swig_obj
[1] ;
26119 if (!args
) SWIG_fail
;
26120 swig_obj
[0] = args
;
26121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26122 if (!SWIG_IsOK(res1
)) {
26123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26125 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26130 result
= (wxPageSetupDialogData
*) &_result_ref
;
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26142 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26143 PyObject
*resultobj
= 0;
26144 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26148 PyObject
*swig_obj
[1] ;
26150 if (!args
) SWIG_fail
;
26151 swig_obj
[0] = args
;
26152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26156 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 result
= (int)(arg1
)->ShowModal();
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= SWIG_From_int(static_cast< int >(result
));
26170 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26174 return SWIG_Py_Void();
26177 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26178 return SWIG_Python_InitShadowInstance(args
);
26181 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26182 PyObject
*resultobj
= 0;
26183 wxPrintDialogData
*result
= 0 ;
26185 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26199 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26200 PyObject
*resultobj
= 0;
26201 wxPrintData
*arg1
= 0 ;
26202 wxPrintDialogData
*result
= 0 ;
26206 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26214 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26228 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26229 PyObject
*resultobj
= 0;
26230 wxPrintDialogData
*arg1
= 0 ;
26231 wxPrintDialogData
*result
= 0 ;
26235 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26237 if (!SWIG_IsOK(res1
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26243 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26257 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26261 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26264 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26269 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26270 _v
= SWIG_CheckState(res
);
26272 if (!_v
) goto check_2
;
26273 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26278 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26282 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26287 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26288 PyObject
*resultobj
= 0;
26289 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26292 PyObject
*swig_obj
[1] ;
26294 if (!args
) SWIG_fail
;
26295 swig_obj
[0] = args
;
26296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26297 if (!SWIG_IsOK(res1
)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26300 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_Py_Void();
26315 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26316 PyObject
*resultobj
= 0;
26317 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26321 PyObject
*swig_obj
[1] ;
26323 if (!args
) SWIG_fail
;
26324 swig_obj
[0] = args
;
26325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26329 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_From_int(static_cast< int >(result
));
26343 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26344 PyObject
*resultobj
= 0;
26345 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26349 PyObject
*swig_obj
[1] ;
26351 if (!args
) SWIG_fail
;
26352 swig_obj
[0] = args
;
26353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26357 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_From_int(static_cast< int >(result
));
26371 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26372 PyObject
*resultobj
= 0;
26373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26377 PyObject
*swig_obj
[1] ;
26379 if (!args
) SWIG_fail
;
26380 swig_obj
[0] = args
;
26381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26385 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= SWIG_From_int(static_cast< int >(result
));
26399 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26400 PyObject
*resultobj
= 0;
26401 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26405 PyObject
*swig_obj
[1] ;
26407 if (!args
) SWIG_fail
;
26408 swig_obj
[0] = args
;
26409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26410 if (!SWIG_IsOK(res1
)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26413 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_From_int(static_cast< int >(result
));
26427 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26428 PyObject
*resultobj
= 0;
26429 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26433 PyObject
*swig_obj
[1] ;
26435 if (!args
) SWIG_fail
;
26436 swig_obj
[0] = args
;
26437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26438 if (!SWIG_IsOK(res1
)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26441 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_From_int(static_cast< int >(result
));
26455 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26456 PyObject
*resultobj
= 0;
26457 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26461 PyObject
*swig_obj
[1] ;
26463 if (!args
) SWIG_fail
;
26464 swig_obj
[0] = args
;
26465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26469 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26485 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26486 PyObject
*resultobj
= 0;
26487 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26491 PyObject
*swig_obj
[1] ;
26493 if (!args
) SWIG_fail
;
26494 swig_obj
[0] = args
;
26495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26496 if (!SWIG_IsOK(res1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26499 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26515 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26516 PyObject
*resultobj
= 0;
26517 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26521 PyObject
*swig_obj
[1] ;
26523 if (!args
) SWIG_fail
;
26524 swig_obj
[0] = args
;
26525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26529 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26545 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26546 PyObject
*resultobj
= 0;
26547 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26551 PyObject
*swig_obj
[1] ;
26553 if (!args
) SWIG_fail
;
26554 swig_obj
[0] = args
;
26555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26556 if (!SWIG_IsOK(res1
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26559 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26575 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= 0;
26577 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char * kwnames
[] = {
26586 (char *) "self",(char *) "v", NULL
26589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26591 if (!SWIG_IsOK(res1
)) {
26592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26594 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26596 if (!SWIG_IsOK(ecode2
)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26599 arg2
= static_cast< int >(val2
);
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 (arg1
)->SetFromPage(arg2
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_Py_Void();
26613 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
= 0;
26615 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 char * kwnames
[] = {
26624 (char *) "self",(char *) "v", NULL
26627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26629 if (!SWIG_IsOK(res1
)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26632 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26634 if (!SWIG_IsOK(ecode2
)) {
26635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26637 arg2
= static_cast< int >(val2
);
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 (arg1
)->SetToPage(arg2
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_Py_Void();
26651 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
= 0;
26653 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 char * kwnames
[] = {
26662 (char *) "self",(char *) "v", NULL
26665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26667 if (!SWIG_IsOK(res1
)) {
26668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26670 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26672 if (!SWIG_IsOK(ecode2
)) {
26673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26675 arg2
= static_cast< int >(val2
);
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 (arg1
)->SetMinPage(arg2
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= SWIG_Py_Void();
26689 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
= 0;
26691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 char * kwnames
[] = {
26700 (char *) "self",(char *) "v", NULL
26703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26708 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26710 if (!SWIG_IsOK(ecode2
)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26713 arg2
= static_cast< int >(val2
);
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 (arg1
)->SetMaxPage(arg2
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= SWIG_Py_Void();
26727 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
= 0;
26729 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 char * kwnames
[] = {
26738 (char *) "self",(char *) "v", NULL
26741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26746 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26748 if (!SWIG_IsOK(ecode2
)) {
26749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26751 arg2
= static_cast< int >(val2
);
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 (arg1
)->SetNoCopies(arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_Py_Void();
26765 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
= 0;
26767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char * kwnames
[] = {
26776 (char *) "self",(char *) "flag", NULL
26779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26781 if (!SWIG_IsOK(res1
)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26784 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26786 if (!SWIG_IsOK(ecode2
)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26789 arg2
= static_cast< bool >(val2
);
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 (arg1
)->SetAllPages(arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_Py_Void();
26803 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= 0;
26805 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 char * kwnames
[] = {
26814 (char *) "self",(char *) "flag", NULL
26817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26819 if (!SWIG_IsOK(res1
)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26822 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26823 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26824 if (!SWIG_IsOK(ecode2
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26827 arg2
= static_cast< bool >(val2
);
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 (arg1
)->SetSelection(arg2
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= SWIG_Py_Void();
26841 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
= 0;
26843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char * kwnames
[] = {
26852 (char *) "self",(char *) "flag", NULL
26855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26860 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26861 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26862 if (!SWIG_IsOK(ecode2
)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26865 arg2
= static_cast< bool >(val2
);
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 (arg1
)->SetCollate(arg2
);
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= SWIG_Py_Void();
26879 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
= 0;
26881 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char * kwnames
[] = {
26890 (char *) "self",(char *) "flag", NULL
26893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26898 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26899 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26900 if (!SWIG_IsOK(ecode2
)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26903 arg2
= static_cast< bool >(val2
);
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 (arg1
)->SetPrintToFile(arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_Py_Void();
26917 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
= 0;
26919 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 char * kwnames
[] = {
26928 (char *) "self",(char *) "flag", NULL
26931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26933 if (!SWIG_IsOK(res1
)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26936 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26938 if (!SWIG_IsOK(ecode2
)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26941 arg2
= static_cast< bool >(val2
);
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 (arg1
)->EnablePrintToFile(arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= SWIG_Py_Void();
26955 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
= 0;
26957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char * kwnames
[] = {
26966 (char *) "self",(char *) "flag", NULL
26969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26971 if (!SWIG_IsOK(res1
)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26974 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26975 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26976 if (!SWIG_IsOK(ecode2
)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26979 arg2
= static_cast< bool >(val2
);
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 (arg1
)->EnableSelection(arg2
);
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= SWIG_Py_Void();
26993 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
= 0;
26995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char * kwnames
[] = {
27004 (char *) "self",(char *) "flag", NULL
27007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27009 if (!SWIG_IsOK(res1
)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27012 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27013 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27014 if (!SWIG_IsOK(ecode2
)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27017 arg2
= static_cast< bool >(val2
);
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 (arg1
)->EnablePageNumbers(arg2
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_Py_Void();
27031 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
= 0;
27033 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char * kwnames
[] = {
27042 (char *) "self",(char *) "flag", NULL
27045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27047 if (!SWIG_IsOK(res1
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27050 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27052 if (!SWIG_IsOK(ecode2
)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27055 arg2
= static_cast< bool >(val2
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 (arg1
)->EnableHelp(arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_Py_Void();
27069 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27070 PyObject
*resultobj
= 0;
27071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27075 PyObject
*swig_obj
[1] ;
27077 if (!args
) SWIG_fail
;
27078 swig_obj
[0] = args
;
27079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27083 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27099 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27100 PyObject
*resultobj
= 0;
27101 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27105 PyObject
*swig_obj
[1] ;
27107 if (!args
) SWIG_fail
;
27108 swig_obj
[0] = args
;
27109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27113 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27129 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27130 PyObject
*resultobj
= 0;
27131 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27135 PyObject
*swig_obj
[1] ;
27137 if (!args
) SWIG_fail
;
27138 swig_obj
[0] = args
;
27139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27140 if (!SWIG_IsOK(res1
)) {
27141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27143 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27159 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27160 PyObject
*resultobj
= 0;
27161 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27165 PyObject
*swig_obj
[1] ;
27167 if (!args
) SWIG_fail
;
27168 swig_obj
[0] = args
;
27169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27170 if (!SWIG_IsOK(res1
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27173 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27189 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27190 PyObject
*resultobj
= 0;
27191 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27195 PyObject
*swig_obj
[1] ;
27197 if (!args
) SWIG_fail
;
27198 swig_obj
[0] = args
;
27199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27203 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27219 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27220 PyObject
*resultobj
= 0;
27221 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27222 wxPrintData
*result
= 0 ;
27225 PyObject
*swig_obj
[1] ;
27227 if (!args
) SWIG_fail
;
27228 swig_obj
[0] = args
;
27229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27230 if (!SWIG_IsOK(res1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27233 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27238 result
= (wxPrintData
*) &_result_ref
;
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27250 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
= 0;
27252 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27253 wxPrintData
*arg2
= 0 ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 char * kwnames
[] = {
27261 (char *) "self",(char *) "printData", NULL
27264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27269 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27271 if (!SWIG_IsOK(res2
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27277 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= SWIG_Py_Void();
27291 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27294 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27295 return SWIG_Py_Void();
27298 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27299 return SWIG_Python_InitShadowInstance(args
);
27302 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
= 0;
27304 wxWindow
*arg1
= (wxWindow
*) 0 ;
27305 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27306 wxPrintDialog
*result
= 0 ;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 char * kwnames
[] = {
27314 (char *) "parent",(char *) "data", NULL
27317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27325 if (!SWIG_IsOK(res2
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27328 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27331 if (!wxPyCheckForApp()) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27344 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27345 PyObject
*resultobj
= 0;
27346 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27349 PyObject
*swig_obj
[1] ;
27351 if (!args
) SWIG_fail
;
27352 swig_obj
[0] = args
;
27353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27354 if (!SWIG_IsOK(res1
)) {
27355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27357 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_Py_Void();
27372 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 PyObject
*resultobj
= 0;
27374 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27378 PyObject
*swig_obj
[1] ;
27380 if (!args
) SWIG_fail
;
27381 swig_obj
[0] = args
;
27382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27383 if (!SWIG_IsOK(res1
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27386 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= (int)(arg1
)->ShowModal();
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= SWIG_From_int(static_cast< int >(result
));
27400 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27401 PyObject
*resultobj
= 0;
27402 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27403 wxPrintDialogData
*result
= 0 ;
27406 PyObject
*swig_obj
[1] ;
27408 if (!args
) SWIG_fail
;
27409 swig_obj
[0] = args
;
27410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27411 if (!SWIG_IsOK(res1
)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27414 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27419 result
= (wxPrintDialogData
*) &_result_ref
;
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27431 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27432 PyObject
*resultobj
= 0;
27433 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27434 wxPrintData
*result
= 0 ;
27437 PyObject
*swig_obj
[1] ;
27439 if (!args
) SWIG_fail
;
27440 swig_obj
[0] = args
;
27441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27445 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27450 result
= (wxPrintData
*) &_result_ref
;
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27462 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27463 PyObject
*resultobj
= 0;
27464 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27468 PyObject
*swig_obj
[1] ;
27470 if (!args
) SWIG_fail
;
27471 swig_obj
[0] = args
;
27472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27473 if (!SWIG_IsOK(res1
)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27476 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (wxDC
*)(arg1
)->GetPrintDC();
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27492 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27496 return SWIG_Py_Void();
27499 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27500 return SWIG_Python_InitShadowInstance(args
);
27503 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
= 0;
27505 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27506 wxPrinter
*result
= 0 ;
27509 PyObject
* obj0
= 0 ;
27510 char * kwnames
[] = {
27511 (char *) "data", NULL
27514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27517 if (!SWIG_IsOK(res1
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27520 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27523 if (!wxPyCheckForApp()) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (wxPrinter
*)new wxPrinter(arg1
);
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27536 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27537 PyObject
*resultobj
= 0;
27538 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27541 PyObject
*swig_obj
[1] ;
27543 if (!args
) SWIG_fail
;
27544 swig_obj
[0] = args
;
27545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27546 if (!SWIG_IsOK(res1
)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27549 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 resultobj
= SWIG_Py_Void();
27564 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
= 0;
27566 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27567 wxWindow
*arg2
= (wxWindow
*) 0 ;
27568 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27569 wxWindow
*result
= 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 PyObject
* obj2
= 0 ;
27579 char * kwnames
[] = {
27580 (char *) "self",(char *) "parent",(char *) "printout", NULL
27583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27588 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27590 if (!SWIG_IsOK(res2
)) {
27591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27594 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27595 if (!SWIG_IsOK(res3
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27598 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= wxPyMake_wxObject(result
, 0);
27614 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
= 0;
27616 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27617 wxWindow
*arg2
= (wxWindow
*) 0 ;
27618 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27619 wxString
*arg4
= 0 ;
27626 bool temp4
= false ;
27627 PyObject
* obj0
= 0 ;
27628 PyObject
* obj1
= 0 ;
27629 PyObject
* obj2
= 0 ;
27630 PyObject
* obj3
= 0 ;
27631 char * kwnames
[] = {
27632 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27640 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27642 if (!SWIG_IsOK(res2
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27645 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27646 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27647 if (!SWIG_IsOK(res3
)) {
27648 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27650 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27652 arg4
= wxString_in_helper(obj3
);
27653 if (arg4
== NULL
) SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 resultobj
= SWIG_Py_Void();
27677 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
= 0;
27679 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27680 wxWindow
*arg2
= (wxWindow
*) 0 ;
27686 PyObject
* obj0
= 0 ;
27687 PyObject
* obj1
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "self",(char *) "parent", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27697 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27698 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27699 if (!SWIG_IsOK(res2
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27702 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 result
= (bool)(arg1
)->Setup(arg2
);
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27718 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
= 0;
27720 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27721 wxWindow
*arg2
= (wxWindow
*) 0 ;
27722 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27723 bool arg4
= (bool) true ;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 PyObject
* obj2
= 0 ;
27736 PyObject
* obj3
= 0 ;
27737 char * kwnames
[] = {
27738 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27743 if (!SWIG_IsOK(res1
)) {
27744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27746 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27748 if (!SWIG_IsOK(res2
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27751 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27752 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27753 if (!SWIG_IsOK(res3
)) {
27754 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27756 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27758 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27759 if (!SWIG_IsOK(ecode4
)) {
27760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27762 arg4
= static_cast< bool >(val4
);
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27779 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
= 0;
27781 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27782 wxWindow
*arg2
= (wxWindow
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 char * kwnames
[] = {
27791 (char *) "self",(char *) "parent", NULL
27794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27799 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27801 if (!SWIG_IsOK(res2
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27804 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27812 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27820 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27821 PyObject
*resultobj
= 0;
27822 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27823 wxPrintDialogData
*result
= 0 ;
27826 PyObject
*swig_obj
[1] ;
27828 if (!args
) SWIG_fail
;
27829 swig_obj
[0] = args
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27834 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27839 result
= (wxPrintDialogData
*) &_result_ref
;
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27851 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27852 PyObject
*resultobj
= 0;
27853 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27857 PyObject
*swig_obj
[1] ;
27859 if (!args
) SWIG_fail
;
27860 swig_obj
[0] = args
;
27861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27862 if (!SWIG_IsOK(res1
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27865 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (bool)(arg1
)->GetAbort();
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27881 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxPrinterError result
;
27885 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 result
= (wxPrinterError
)wxPrinter::GetLastError();
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= SWIG_From_int(static_cast< int >(result
));
27899 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27903 return SWIG_Py_Void();
27906 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27907 return SWIG_Python_InitShadowInstance(args
);
27910 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
= 0;
27912 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27913 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27914 wxPyPrintout
*result
= 0 ;
27915 bool temp1
= false ;
27916 PyObject
* obj0
= 0 ;
27917 char * kwnames
[] = {
27918 (char *) "title", NULL
27921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27924 arg1
= wxString_in_helper(obj0
);
27925 if (arg1
== NULL
) SWIG_fail
;
27930 if (!wxPyCheckForApp()) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27951 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27952 PyObject
*resultobj
= 0;
27953 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27956 PyObject
*swig_obj
[1] ;
27958 if (!args
) SWIG_fail
;
27959 swig_obj
[0] = args
;
27960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27961 if (!SWIG_IsOK(res1
)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27964 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_Py_Void();
27979 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
= 0;
27981 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27982 PyObject
*arg2
= (PyObject
*) 0 ;
27983 PyObject
*arg3
= (PyObject
*) 0 ;
27986 PyObject
* obj0
= 0 ;
27987 PyObject
* obj1
= 0 ;
27988 PyObject
* obj2
= 0 ;
27989 char * kwnames
[] = {
27990 (char *) "self",(char *) "self",(char *) "_class", NULL
27993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27995 if (!SWIG_IsOK(res1
)) {
27996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27998 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 resultobj
= SWIG_Py_Void();
28014 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28015 PyObject
*resultobj
= 0;
28016 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28020 PyObject
*swig_obj
[1] ;
28022 if (!args
) SWIG_fail
;
28023 swig_obj
[0] = args
;
28024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28025 if (!SWIG_IsOK(res1
)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28028 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28048 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 PyObject
*resultobj
= 0;
28050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28054 PyObject
*swig_obj
[1] ;
28056 if (!args
) SWIG_fail
;
28057 swig_obj
[0] = args
;
28058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28059 if (!SWIG_IsOK(res1
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28062 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28065 result
= (wxDC
*)(arg1
)->GetDC();
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28070 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28078 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
= 0;
28080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28081 wxDC
*arg2
= (wxDC
*) 0 ;
28086 PyObject
* obj0
= 0 ;
28087 PyObject
* obj1
= 0 ;
28088 char * kwnames
[] = {
28089 (char *) "self",(char *) "dc", NULL
28092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28094 if (!SWIG_IsOK(res1
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28097 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28099 if (!SWIG_IsOK(res2
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28102 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 (arg1
)->SetDC(arg2
);
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 resultobj
= SWIG_Py_Void();
28116 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28117 PyObject
*resultobj
= 0;
28118 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 PyObject
* obj1
= 0 ;
28125 char * kwnames
[] = {
28126 (char *) "self",(char *) "imageSize", NULL
28129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28131 if (!SWIG_IsOK(res1
)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28134 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 resultobj
= SWIG_Py_Void();
28152 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
= 0;
28154 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28159 PyObject
* obj0
= 0 ;
28160 PyObject
* obj1
= 0 ;
28161 char * kwnames
[] = {
28162 (char *) "self",(char *) "imageSize", NULL
28165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28170 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28173 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= SWIG_Py_Void();
28188 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
= 0;
28190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28192 wxPageSetupDialogData
*arg3
= 0 ;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 PyObject
* obj2
= 0 ;
28201 char * kwnames
[] = {
28202 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28210 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28213 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28215 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28216 if (!SWIG_IsOK(res3
)) {
28217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28222 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_Py_Void();
28236 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28237 PyObject
*resultobj
= 0;
28238 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28241 PyObject
*swig_obj
[1] ;
28243 if (!args
) SWIG_fail
;
28244 swig_obj
[0] = args
;
28245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28246 if (!SWIG_IsOK(res1
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28249 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 (arg1
)->MapScreenSizeToPaper();
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_Py_Void();
28263 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28264 PyObject
*resultobj
= 0;
28265 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28268 PyObject
*swig_obj
[1] ;
28270 if (!args
) SWIG_fail
;
28271 swig_obj
[0] = args
;
28272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28273 if (!SWIG_IsOK(res1
)) {
28274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28276 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->MapScreenSizeToPage();
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= SWIG_Py_Void();
28290 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
= 0;
28292 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28293 wxPageSetupDialogData
*arg2
= 0 ;
28298 PyObject
* obj0
= 0 ;
28299 PyObject
* obj1
= 0 ;
28300 char * kwnames
[] = {
28301 (char *) "self",(char *) "pageSetupData", NULL
28304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28306 if (!SWIG_IsOK(res1
)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28309 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28311 if (!SWIG_IsOK(res2
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28317 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 resultobj
= SWIG_Py_Void();
28331 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28332 PyObject
*resultobj
= 0;
28333 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28336 PyObject
*swig_obj
[1] ;
28338 if (!args
) SWIG_fail
;
28339 swig_obj
[0] = args
;
28340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28344 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->MapScreenSizeToDevice();
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= SWIG_Py_Void();
28358 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28359 PyObject
*resultobj
= 0;
28360 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28364 PyObject
*swig_obj
[1] ;
28366 if (!args
) SWIG_fail
;
28367 swig_obj
[0] = args
;
28368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28369 if (!SWIG_IsOK(res1
)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28372 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28386 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28387 PyObject
*resultobj
= 0;
28388 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28392 PyObject
*swig_obj
[1] ;
28394 if (!args
) SWIG_fail
;
28395 swig_obj
[0] = args
;
28396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28397 if (!SWIG_IsOK(res1
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28400 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28414 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
= 0;
28416 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28417 wxPageSetupDialogData
*arg2
= 0 ;
28423 PyObject
* obj0
= 0 ;
28424 PyObject
* obj1
= 0 ;
28425 char * kwnames
[] = {
28426 (char *) "self",(char *) "pageSetupData", NULL
28429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28431 if (!SWIG_IsOK(res1
)) {
28432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28434 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28436 if (!SWIG_IsOK(res2
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28442 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28456 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
= 0;
28458 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 PyObject
* obj2
= 0 ;
28470 char * kwnames
[] = {
28471 (char *) "self",(char *) "x",(char *) "y", NULL
28474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28476 if (!SWIG_IsOK(res1
)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28479 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28481 if (!SWIG_IsOK(ecode2
)) {
28482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28484 arg2
= static_cast< int >(val2
);
28485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28486 if (!SWIG_IsOK(ecode3
)) {
28487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28489 arg3
= static_cast< int >(val3
);
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= SWIG_Py_Void();
28503 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
= 0;
28505 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 PyObject
* obj2
= 0 ;
28517 char * kwnames
[] = {
28518 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28523 if (!SWIG_IsOK(res1
)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28526 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28528 if (!SWIG_IsOK(ecode2
)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28531 arg2
= static_cast< int >(val2
);
28532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28533 if (!SWIG_IsOK(ecode3
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28536 arg3
= static_cast< int >(val3
);
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_Py_Void();
28550 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
= 0;
28552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 PyObject
* obj2
= 0 ;
28564 char * kwnames
[] = {
28565 (char *) "self",(char *) "w",(char *) "h", NULL
28568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28570 if (!SWIG_IsOK(res1
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28573 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28575 if (!SWIG_IsOK(ecode2
)) {
28576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28578 arg2
= static_cast< int >(val2
);
28579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28580 if (!SWIG_IsOK(ecode3
)) {
28581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28583 arg3
= static_cast< int >(val3
);
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= SWIG_Py_Void();
28597 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28598 PyObject
*resultobj
= 0;
28599 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28600 int *arg2
= (int *) 0 ;
28601 int *arg3
= (int *) 0 ;
28605 int res2
= SWIG_TMPOBJ
;
28607 int res3
= SWIG_TMPOBJ
;
28608 PyObject
*swig_obj
[1] ;
28612 if (!args
) SWIG_fail
;
28613 swig_obj
[0] = args
;
28614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28615 if (!SWIG_IsOK(res1
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28618 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= SWIG_Py_Void();
28626 if (SWIG_IsTmpObj(res2
)) {
28627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28629 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28632 if (SWIG_IsTmpObj(res3
)) {
28633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28635 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28644 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
= 0;
28646 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28655 PyObject
* obj0
= 0 ;
28656 PyObject
* obj1
= 0 ;
28657 PyObject
* obj2
= 0 ;
28658 char * kwnames
[] = {
28659 (char *) "self",(char *) "w",(char *) "h", NULL
28662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28667 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28669 if (!SWIG_IsOK(ecode2
)) {
28670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28672 arg2
= static_cast< int >(val2
);
28673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28674 if (!SWIG_IsOK(ecode3
)) {
28675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28677 arg3
= static_cast< int >(val3
);
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_Py_Void();
28691 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 PyObject
*resultobj
= 0;
28693 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28694 int *arg2
= (int *) 0 ;
28695 int *arg3
= (int *) 0 ;
28699 int res2
= SWIG_TMPOBJ
;
28701 int res3
= SWIG_TMPOBJ
;
28702 PyObject
*swig_obj
[1] ;
28706 if (!args
) SWIG_fail
;
28707 swig_obj
[0] = args
;
28708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28709 if (!SWIG_IsOK(res1
)) {
28710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28712 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_Py_Void();
28720 if (SWIG_IsTmpObj(res2
)) {
28721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28723 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28726 if (SWIG_IsTmpObj(res3
)) {
28727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28729 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28738 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
= 0;
28740 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28749 PyObject
* obj0
= 0 ;
28750 PyObject
* obj1
= 0 ;
28751 PyObject
* obj2
= 0 ;
28752 char * kwnames
[] = {
28753 (char *) "self",(char *) "x",(char *) "y", NULL
28756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28761 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28763 if (!SWIG_IsOK(ecode2
)) {
28764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28766 arg2
= static_cast< int >(val2
);
28767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28768 if (!SWIG_IsOK(ecode3
)) {
28769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28771 arg3
= static_cast< int >(val3
);
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 (arg1
)->SetPPIScreen(arg2
,arg3
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= SWIG_Py_Void();
28785 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28786 PyObject
*resultobj
= 0;
28787 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28788 int *arg2
= (int *) 0 ;
28789 int *arg3
= (int *) 0 ;
28793 int res2
= SWIG_TMPOBJ
;
28795 int res3
= SWIG_TMPOBJ
;
28796 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28806 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->GetPPIScreen(arg2
,arg3
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_Py_Void();
28814 if (SWIG_IsTmpObj(res2
)) {
28815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28817 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28820 if (SWIG_IsTmpObj(res3
)) {
28821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28823 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28832 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
= 0;
28834 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 char * kwnames
[] = {
28847 (char *) "self",(char *) "x",(char *) "y", NULL
28850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28855 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28857 if (!SWIG_IsOK(ecode2
)) {
28858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28860 arg2
= static_cast< int >(val2
);
28861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28862 if (!SWIG_IsOK(ecode3
)) {
28863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28865 arg3
= static_cast< int >(val3
);
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= SWIG_Py_Void();
28879 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28880 PyObject
*resultobj
= 0;
28881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28882 int *arg2
= (int *) 0 ;
28883 int *arg3
= (int *) 0 ;
28887 int res2
= SWIG_TMPOBJ
;
28889 int res3
= SWIG_TMPOBJ
;
28890 PyObject
*swig_obj
[1] ;
28894 if (!args
) SWIG_fail
;
28895 swig_obj
[0] = args
;
28896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28897 if (!SWIG_IsOK(res1
)) {
28898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28900 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_Py_Void();
28908 if (SWIG_IsTmpObj(res2
)) {
28909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28911 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28914 if (SWIG_IsTmpObj(res3
)) {
28915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28917 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28926 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
= 0;
28928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char * kwnames
[] = {
28936 (char *) "self",(char *) "paperRectPixels", NULL
28939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28944 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_Py_Void();
28962 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28963 PyObject
*resultobj
= 0;
28964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28968 PyObject
*swig_obj
[1] ;
28970 if (!args
) SWIG_fail
;
28971 swig_obj
[0] = args
;
28972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28976 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28983 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28990 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28991 PyObject
*resultobj
= 0;
28992 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28996 PyObject
*swig_obj
[1] ;
28998 if (!args
) SWIG_fail
;
28999 swig_obj
[0] = args
;
29000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29001 if (!SWIG_IsOK(res1
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29004 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 result
= (bool)(arg1
)->IsPreview();
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29020 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
= 0;
29022 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29028 PyObject
* obj0
= 0 ;
29029 PyObject
* obj1
= 0 ;
29030 char * kwnames
[] = {
29031 (char *) "self",(char *) "p", NULL
29034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29036 if (!SWIG_IsOK(res1
)) {
29037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29039 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29040 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29041 if (!SWIG_IsOK(ecode2
)) {
29042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29044 arg2
= static_cast< bool >(val2
);
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 (arg1
)->SetIsPreview(arg2
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= SWIG_Py_Void();
29058 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
= 0;
29060 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 char * kwnames
[] = {
29074 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29079 if (!SWIG_IsOK(res1
)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29082 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29084 if (!SWIG_IsOK(ecode2
)) {
29085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29087 arg2
= static_cast< int >(val2
);
29088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29089 if (!SWIG_IsOK(ecode3
)) {
29090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29092 arg3
= static_cast< int >(val3
);
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29108 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29109 PyObject
*resultobj
= 0;
29110 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29113 PyObject
*swig_obj
[1] ;
29115 if (!args
) SWIG_fail
;
29116 swig_obj
[0] = args
;
29117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29118 if (!SWIG_IsOK(res1
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29121 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 (arg1
)->OnEndDocument();
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_Py_Void();
29135 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29136 PyObject
*resultobj
= 0;
29137 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29140 PyObject
*swig_obj
[1] ;
29142 if (!args
) SWIG_fail
;
29143 swig_obj
[0] = args
;
29144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29145 if (!SWIG_IsOK(res1
)) {
29146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29148 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 (arg1
)->OnBeginPrinting();
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= SWIG_Py_Void();
29162 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29163 PyObject
*resultobj
= 0;
29164 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29167 PyObject
*swig_obj
[1] ;
29169 if (!args
) SWIG_fail
;
29170 swig_obj
[0] = args
;
29171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29175 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 (arg1
)->OnEndPrinting();
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_Py_Void();
29189 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29190 PyObject
*resultobj
= 0;
29191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29194 PyObject
*swig_obj
[1] ;
29196 if (!args
) SWIG_fail
;
29197 swig_obj
[0] = args
;
29198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29202 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 (arg1
)->OnPreparePrinting();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_Py_Void();
29216 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
= 0;
29218 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 char * kwnames
[] = {
29228 (char *) "self",(char *) "page", NULL
29231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29233 if (!SWIG_IsOK(res1
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29236 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29238 if (!SWIG_IsOK(ecode2
)) {
29239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29241 arg2
= static_cast< int >(val2
);
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 result
= (bool)(arg1
)->HasPage(arg2
);
29245 wxPyEndAllowThreads(__tstate
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29257 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29258 PyObject
*resultobj
= 0;
29259 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29260 int *arg2
= (int *) 0 ;
29261 int *arg3
= (int *) 0 ;
29262 int *arg4
= (int *) 0 ;
29263 int *arg5
= (int *) 0 ;
29267 int res2
= SWIG_TMPOBJ
;
29269 int res3
= SWIG_TMPOBJ
;
29271 int res4
= SWIG_TMPOBJ
;
29273 int res5
= SWIG_TMPOBJ
;
29274 PyObject
*swig_obj
[1] ;
29280 if (!args
) SWIG_fail
;
29281 swig_obj
[0] = args
;
29282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29283 if (!SWIG_IsOK(res1
)) {
29284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29286 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= SWIG_Py_Void();
29294 if (SWIG_IsTmpObj(res2
)) {
29295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29297 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29300 if (SWIG_IsTmpObj(res3
)) {
29301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29306 if (SWIG_IsTmpObj(res4
)) {
29307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29309 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29312 if (SWIG_IsTmpObj(res5
)) {
29313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29315 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29324 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29327 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29328 return SWIG_Py_Void();
29331 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29332 return SWIG_Python_InitShadowInstance(args
);
29335 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
= 0;
29337 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29338 wxWindow
*arg2
= (wxWindow
*) 0 ;
29339 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29340 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29341 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29342 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29343 long arg5
= (long) 0 ;
29344 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29345 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29346 wxPreviewCanvas
*result
= 0 ;
29355 bool temp6
= false ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 PyObject
* obj2
= 0 ;
29359 PyObject
* obj3
= 0 ;
29360 PyObject
* obj4
= 0 ;
29361 PyObject
* obj5
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29371 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29373 if (!SWIG_IsOK(res2
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29386 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29390 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29391 if (!SWIG_IsOK(ecode5
)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29394 arg5
= static_cast< long >(val5
);
29398 arg6
= wxString_in_helper(obj5
);
29399 if (arg6
== NULL
) SWIG_fail
;
29404 if (!wxPyCheckForApp()) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29425 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29429 return SWIG_Py_Void();
29432 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29433 return SWIG_Python_InitShadowInstance(args
);
29436 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
= 0;
29438 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29439 wxFrame
*arg2
= (wxFrame
*) 0 ;
29440 wxString
*arg3
= 0 ;
29441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29445 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29446 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29448 wxPreviewFrame
*result
= 0 ;
29452 bool temp3
= false ;
29457 bool temp7
= false ;
29458 PyObject
* obj0
= 0 ;
29459 PyObject
* obj1
= 0 ;
29460 PyObject
* obj2
= 0 ;
29461 PyObject
* obj3
= 0 ;
29462 PyObject
* obj4
= 0 ;
29463 PyObject
* obj5
= 0 ;
29464 PyObject
* obj6
= 0 ;
29465 char * kwnames
[] = {
29466 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29470 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29471 if (!SWIG_IsOK(res1
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29475 if (!SWIG_IsOK(res2
)) {
29476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29478 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29480 arg3
= wxString_in_helper(obj2
);
29481 if (arg3
== NULL
) SWIG_fail
;
29487 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29493 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29497 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29498 if (!SWIG_IsOK(ecode6
)) {
29499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29501 arg6
= static_cast< long >(val6
);
29505 arg7
= wxString_in_helper(obj6
);
29506 if (arg7
== NULL
) SWIG_fail
;
29511 if (!wxPyCheckForApp()) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29540 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29541 PyObject
*resultobj
= 0;
29542 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29545 PyObject
*swig_obj
[1] ;
29547 if (!args
) SWIG_fail
;
29548 swig_obj
[0] = args
;
29549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29550 if (!SWIG_IsOK(res1
)) {
29551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29553 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 (arg1
)->Initialize();
29557 wxPyEndAllowThreads(__tstate
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29560 resultobj
= SWIG_Py_Void();
29567 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29568 PyObject
*resultobj
= 0;
29569 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29572 PyObject
*swig_obj
[1] ;
29574 if (!args
) SWIG_fail
;
29575 swig_obj
[0] = args
;
29576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29580 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 (arg1
)->CreateControlBar();
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= SWIG_Py_Void();
29594 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29595 PyObject
*resultobj
= 0;
29596 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29599 PyObject
*swig_obj
[1] ;
29601 if (!args
) SWIG_fail
;
29602 swig_obj
[0] = args
;
29603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29607 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 (arg1
)->CreateCanvas();
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= SWIG_Py_Void();
29621 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29622 PyObject
*resultobj
= 0;
29623 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29624 wxPreviewControlBar
*result
= 0 ;
29627 PyObject
*swig_obj
[1] ;
29629 if (!args
) SWIG_fail
;
29630 swig_obj
[0] = args
;
29631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29632 if (!SWIG_IsOK(res1
)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29635 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29649 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29653 return SWIG_Py_Void();
29656 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29657 return SWIG_Python_InitShadowInstance(args
);
29660 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29664 wxWindow
*arg3
= (wxWindow
*) 0 ;
29665 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29666 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29667 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29668 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29669 long arg6
= (long) wxTAB_TRAVERSAL
;
29670 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29671 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29672 wxPreviewControlBar
*result
= 0 ;
29683 bool temp7
= false ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 PyObject
* obj2
= 0 ;
29687 PyObject
* obj3
= 0 ;
29688 PyObject
* obj4
= 0 ;
29689 PyObject
* obj5
= 0 ;
29690 PyObject
* obj6
= 0 ;
29691 char * kwnames
[] = {
29692 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29697 if (!SWIG_IsOK(res1
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29700 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29701 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29702 if (!SWIG_IsOK(ecode2
)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29705 arg2
= static_cast< long >(val2
);
29706 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29707 if (!SWIG_IsOK(res3
)) {
29708 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29710 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29724 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29725 if (!SWIG_IsOK(ecode6
)) {
29726 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29728 arg6
= static_cast< long >(val6
);
29732 arg7
= wxString_in_helper(obj6
);
29733 if (arg7
== NULL
) SWIG_fail
;
29738 if (!wxPyCheckForApp()) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29759 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29760 PyObject
*resultobj
= 0;
29761 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29765 PyObject
*swig_obj
[1] ;
29767 if (!args
) SWIG_fail
;
29768 swig_obj
[0] = args
;
29769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29773 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (int)(arg1
)->GetZoomControl();
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_From_int(static_cast< int >(result
));
29787 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
= 0;
29789 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29795 PyObject
* obj0
= 0 ;
29796 PyObject
* obj1
= 0 ;
29797 char * kwnames
[] = {
29798 (char *) "self",(char *) "zoom", NULL
29801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29803 if (!SWIG_IsOK(res1
)) {
29804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29806 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29808 if (!SWIG_IsOK(ecode2
)) {
29809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29811 arg2
= static_cast< int >(val2
);
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 (arg1
)->SetZoomControl(arg2
);
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= SWIG_Py_Void();
29825 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29826 PyObject
*resultobj
= 0;
29827 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29828 wxPrintPreview
*result
= 0 ;
29831 PyObject
*swig_obj
[1] ;
29833 if (!args
) SWIG_fail
;
29834 swig_obj
[0] = args
;
29835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29836 if (!SWIG_IsOK(res1
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29839 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29853 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29854 PyObject
*resultobj
= 0;
29855 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29858 PyObject
*swig_obj
[1] ;
29860 if (!args
) SWIG_fail
;
29861 swig_obj
[0] = args
;
29862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29866 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29873 resultobj
= SWIG_Py_Void();
29880 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29881 PyObject
*resultobj
= 0;
29882 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29885 PyObject
*swig_obj
[1] ;
29887 if (!args
) SWIG_fail
;
29888 swig_obj
[0] = args
;
29889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29890 if (!SWIG_IsOK(res1
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29893 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 (arg1
)->OnPrevious();
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= SWIG_Py_Void();
29907 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29908 PyObject
*resultobj
= 0;
29909 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29912 PyObject
*swig_obj
[1] ;
29914 if (!args
) SWIG_fail
;
29915 swig_obj
[0] = args
;
29916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29920 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 resultobj
= SWIG_Py_Void();
29934 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29935 PyObject
*resultobj
= 0;
29936 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29939 PyObject
*swig_obj
[1] ;
29941 if (!args
) SWIG_fail
;
29942 swig_obj
[0] = args
;
29943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29944 if (!SWIG_IsOK(res1
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29947 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_Py_Void();
29961 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29962 PyObject
*resultobj
= 0;
29963 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29966 PyObject
*swig_obj
[1] ;
29968 if (!args
) SWIG_fail
;
29969 swig_obj
[0] = args
;
29970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29971 if (!SWIG_IsOK(res1
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29974 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29981 resultobj
= SWIG_Py_Void();
29988 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29992 return SWIG_Py_Void();
29995 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29996 return SWIG_Python_InitShadowInstance(args
);
29999 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30000 PyObject
*resultobj
= 0;
30001 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30002 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30003 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30004 wxPrintPreview
*result
= 0 ;
30010 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30015 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30016 if (!SWIG_IsOK(res2
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30020 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30021 if (!SWIG_IsOK(res3
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30024 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30027 if (!wxPyCheckForApp()) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30040 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30041 PyObject
*resultobj
= 0;
30042 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30043 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30044 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30045 wxPrintPreview
*result
= 0 ;
30051 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30052 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30056 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30057 if (!SWIG_IsOK(res2
)) {
30058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30060 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30061 if (!SWIG_IsOK(res3
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30064 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30066 if (!wxPyCheckForApp()) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30079 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30083 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30085 if ((argc
>= 2) && (argc
<= 3)) {
30090 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30091 _v
= SWIG_CheckState(res
);
30093 if (!_v
) goto check_1
;
30095 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30100 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30104 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30109 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30110 PyObject
*resultobj
= 0;
30111 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30114 PyObject
*swig_obj
[1] ;
30116 if (!args
) SWIG_fail
;
30117 swig_obj
[0] = args
;
30118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30119 if (!SWIG_IsOK(res1
)) {
30120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30122 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30130 resultobj
= SWIG_Py_Void();
30137 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
= 0;
30139 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 char * kwnames
[] = {
30149 (char *) "self",(char *) "pageNum", NULL
30152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30157 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30159 if (!SWIG_IsOK(ecode2
)) {
30160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30162 arg2
= static_cast< int >(val2
);
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30178 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30179 PyObject
*resultobj
= 0;
30180 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30184 PyObject
*swig_obj
[1] ;
30186 if (!args
) SWIG_fail
;
30187 swig_obj
[0] = args
;
30188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30189 if (!SWIG_IsOK(res1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30192 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (int)(arg1
)->GetCurrentPage();
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 resultobj
= SWIG_From_int(static_cast< int >(result
));
30206 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
= 0;
30208 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30209 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 char * kwnames
[] = {
30216 (char *) "self",(char *) "printout", NULL
30219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30224 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30225 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30226 if (!SWIG_IsOK(res2
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 (arg1
)->SetPrintout(arg2
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= SWIG_Py_Void();
30242 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30243 PyObject
*resultobj
= 0;
30244 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30245 wxPyPrintout
*result
= 0 ;
30248 PyObject
*swig_obj
[1] ;
30250 if (!args
) SWIG_fail
;
30251 swig_obj
[0] = args
;
30252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30253 if (!SWIG_IsOK(res1
)) {
30254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30256 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30264 resultobj
= wxPyMake_wxObject(result
, 0);
30272 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30273 PyObject
*resultobj
= 0;
30274 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30275 wxPyPrintout
*result
= 0 ;
30278 PyObject
*swig_obj
[1] ;
30280 if (!args
) SWIG_fail
;
30281 swig_obj
[0] = args
;
30282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30283 if (!SWIG_IsOK(res1
)) {
30284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30286 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30289 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30290 wxPyEndAllowThreads(__tstate
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30294 resultobj
= wxPyMake_wxObject(result
, 0);
30302 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
= 0;
30304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30305 wxFrame
*arg2
= (wxFrame
*) 0 ;
30310 PyObject
* obj0
= 0 ;
30311 PyObject
* obj1
= 0 ;
30312 char * kwnames
[] = {
30313 (char *) "self",(char *) "frame", NULL
30316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30321 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30323 if (!SWIG_IsOK(res2
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30326 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 (arg1
)->SetFrame(arg2
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_Py_Void();
30340 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
= 0;
30342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30343 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 char * kwnames
[] = {
30351 (char *) "self",(char *) "canvas", NULL
30354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30356 if (!SWIG_IsOK(res1
)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30359 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30361 if (!SWIG_IsOK(res2
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30364 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 (arg1
)->SetCanvas(arg2
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= SWIG_Py_Void();
30378 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30379 PyObject
*resultobj
= 0;
30380 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30381 wxFrame
*result
= 0 ;
30384 PyObject
*swig_obj
[1] ;
30386 if (!args
) SWIG_fail
;
30387 swig_obj
[0] = args
;
30388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30392 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 result
= (wxFrame
*)(arg1
)->GetFrame();
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= wxPyMake_wxObject(result
, 0);
30408 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30409 PyObject
*resultobj
= 0;
30410 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30411 wxPreviewCanvas
*result
= 0 ;
30414 PyObject
*swig_obj
[1] ;
30416 if (!args
) SWIG_fail
;
30417 swig_obj
[0] = args
;
30418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30419 if (!SWIG_IsOK(res1
)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30422 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30436 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
= 0;
30438 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30439 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30448 PyObject
* obj0
= 0 ;
30449 PyObject
* obj1
= 0 ;
30450 PyObject
* obj2
= 0 ;
30451 char * kwnames
[] = {
30452 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30457 if (!SWIG_IsOK(res1
)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30460 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30462 if (!SWIG_IsOK(res2
)) {
30463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30465 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30466 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30467 if (!SWIG_IsOK(res3
)) {
30468 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30473 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30489 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
= 0;
30491 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30492 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30501 PyObject
* obj0
= 0 ;
30502 PyObject
* obj1
= 0 ;
30503 PyObject
* obj2
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30513 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30515 if (!SWIG_IsOK(res2
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30518 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30519 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30520 if (!SWIG_IsOK(res3
)) {
30521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30526 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30542 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
= 0;
30544 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char * kwnames
[] = {
30554 (char *) "self",(char *) "pageNum", NULL
30557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30562 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30564 if (!SWIG_IsOK(ecode2
)) {
30565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30567 arg2
= static_cast< int >(val2
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= (bool)(arg1
)->RenderPage(arg2
);
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30583 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= 0;
30585 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30586 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 char * kwnames
[] = {
30594 (char *) "self",(char *) "canvas", NULL
30597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30599 if (!SWIG_IsOK(res1
)) {
30600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30602 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30604 if (!SWIG_IsOK(res2
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30607 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 (arg1
)->AdjustScrollbars(arg2
);
30611 wxPyEndAllowThreads(__tstate
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30614 resultobj
= SWIG_Py_Void();
30621 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30622 PyObject
*resultobj
= 0;
30623 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30624 wxPrintDialogData
*result
= 0 ;
30627 PyObject
*swig_obj
[1] ;
30629 if (!args
) SWIG_fail
;
30630 swig_obj
[0] = args
;
30631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30632 if (!SWIG_IsOK(res1
)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30635 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30640 result
= (wxPrintDialogData
*) &_result_ref
;
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30652 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
= 0;
30654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 char * kwnames
[] = {
30663 (char *) "self",(char *) "percent", NULL
30666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30671 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30673 if (!SWIG_IsOK(ecode2
)) {
30674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30676 arg2
= static_cast< int >(val2
);
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 (arg1
)->SetZoom(arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= SWIG_Py_Void();
30690 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30691 PyObject
*resultobj
= 0;
30692 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30696 PyObject
*swig_obj
[1] ;
30698 if (!args
) SWIG_fail
;
30699 swig_obj
[0] = args
;
30700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30704 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= (int)(arg1
)->GetZoom();
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_From_int(static_cast< int >(result
));
30718 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30719 PyObject
*resultobj
= 0;
30720 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30724 PyObject
*swig_obj
[1] ;
30726 if (!args
) SWIG_fail
;
30727 swig_obj
[0] = args
;
30728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30729 if (!SWIG_IsOK(res1
)) {
30730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30732 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 result
= (int)(arg1
)->GetMaxPage();
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= SWIG_From_int(static_cast< int >(result
));
30746 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30747 PyObject
*resultobj
= 0;
30748 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30752 PyObject
*swig_obj
[1] ;
30754 if (!args
) SWIG_fail
;
30755 swig_obj
[0] = args
;
30756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30757 if (!SWIG_IsOK(res1
)) {
30758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30760 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 result
= (int)(arg1
)->GetMinPage();
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_From_int(static_cast< int >(result
));
30774 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30775 PyObject
*resultobj
= 0;
30776 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30780 PyObject
*swig_obj
[1] ;
30782 if (!args
) SWIG_fail
;
30783 swig_obj
[0] = args
;
30784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30785 if (!SWIG_IsOK(res1
)) {
30786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30788 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 result
= (bool)(arg1
)->IsOk();
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30804 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
= 0;
30806 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 PyObject
* obj1
= 0 ;
30814 char * kwnames
[] = {
30815 (char *) "self",(char *) "ok", NULL
30818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30820 if (!SWIG_IsOK(res1
)) {
30821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30823 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30824 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30825 if (!SWIG_IsOK(ecode2
)) {
30826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30828 arg2
= static_cast< bool >(val2
);
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 (arg1
)->SetOk(arg2
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= SWIG_Py_Void();
30842 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
= 0;
30844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 char * kwnames
[] = {
30854 (char *) "self",(char *) "interactive", NULL
30857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30859 if (!SWIG_IsOK(res1
)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30862 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30864 if (!SWIG_IsOK(ecode2
)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30867 arg2
= static_cast< bool >(val2
);
30869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30870 result
= (bool)(arg1
)->Print(arg2
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30883 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30884 PyObject
*resultobj
= 0;
30885 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30888 PyObject
*swig_obj
[1] ;
30890 if (!args
) SWIG_fail
;
30891 swig_obj
[0] = args
;
30892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30893 if (!SWIG_IsOK(res1
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30896 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 (arg1
)->DetermineScaling();
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 resultobj
= SWIG_Py_Void();
30910 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30913 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30914 return SWIG_Py_Void();
30917 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30918 return SWIG_Python_InitShadowInstance(args
);
30921 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30922 PyObject
*resultobj
= 0;
30923 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30924 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30925 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30926 wxPyPrintPreview
*result
= 0 ;
30932 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30933 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30934 if (!SWIG_IsOK(res1
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30937 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30938 if (!SWIG_IsOK(res2
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30942 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30943 if (!SWIG_IsOK(res3
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30946 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30949 if (!wxPyCheckForApp()) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30962 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30963 PyObject
*resultobj
= 0;
30964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30965 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30966 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30967 wxPyPrintPreview
*result
= 0 ;
30973 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30974 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30975 if (!SWIG_IsOK(res1
)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30978 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30979 if (!SWIG_IsOK(res2
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30982 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30983 if (!SWIG_IsOK(res3
)) {
30984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30986 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30988 if (!wxPyCheckForApp()) SWIG_fail
;
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31001 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31005 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31007 if ((argc
>= 2) && (argc
<= 3)) {
31012 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31013 _v
= SWIG_CheckState(res
);
31015 if (!_v
) goto check_1
;
31017 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31022 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31026 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31031 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
= 0;
31033 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31034 PyObject
*arg2
= (PyObject
*) 0 ;
31035 PyObject
*arg3
= (PyObject
*) 0 ;
31038 PyObject
* obj0
= 0 ;
31039 PyObject
* obj1
= 0 ;
31040 PyObject
* obj2
= 0 ;
31041 char * kwnames
[] = {
31042 (char *) "self",(char *) "self",(char *) "_class", NULL
31045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31050 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_Py_Void();
31066 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31069 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31070 return SWIG_Py_Void();
31073 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31074 return SWIG_Python_InitShadowInstance(args
);
31077 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
= 0;
31079 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31080 wxFrame
*arg2
= (wxFrame
*) 0 ;
31081 wxString
*arg3
= 0 ;
31082 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31083 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31084 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31085 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31086 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31087 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31088 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31089 wxPyPreviewFrame
*result
= 0 ;
31094 bool temp3
= false ;
31099 bool temp7
= false ;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 PyObject
* obj2
= 0 ;
31103 PyObject
* obj3
= 0 ;
31104 PyObject
* obj4
= 0 ;
31105 PyObject
* obj5
= 0 ;
31106 PyObject
* obj6
= 0 ;
31107 char * kwnames
[] = {
31108 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31116 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31118 if (!SWIG_IsOK(res2
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31121 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31123 arg3
= wxString_in_helper(obj2
);
31124 if (arg3
== NULL
) SWIG_fail
;
31130 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31136 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31140 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31141 if (!SWIG_IsOK(ecode6
)) {
31142 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31144 arg6
= static_cast< long >(val6
);
31148 arg7
= wxString_in_helper(obj6
);
31149 if (arg7
== NULL
) SWIG_fail
;
31154 if (!wxPyCheckForApp()) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31183 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
= 0;
31185 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31186 PyObject
*arg2
= (PyObject
*) 0 ;
31187 PyObject
*arg3
= (PyObject
*) 0 ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 char * kwnames
[] = {
31194 (char *) "self",(char *) "self",(char *) "_class", NULL
31197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31199 if (!SWIG_IsOK(res1
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31202 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= SWIG_Py_Void();
31218 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
= 0;
31220 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31221 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 char * kwnames
[] = {
31229 (char *) "self",(char *) "canvas", NULL
31232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31234 if (!SWIG_IsOK(res1
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31237 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31239 if (!SWIG_IsOK(res2
)) {
31240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31242 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31245 (arg1
)->SetPreviewCanvas(arg2
);
31246 wxPyEndAllowThreads(__tstate
);
31247 if (PyErr_Occurred()) SWIG_fail
;
31249 resultobj
= SWIG_Py_Void();
31256 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
= 0;
31258 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31259 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31264 PyObject
* obj0
= 0 ;
31265 PyObject
* obj1
= 0 ;
31266 char * kwnames
[] = {
31267 (char *) "self",(char *) "bar", NULL
31270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31272 if (!SWIG_IsOK(res1
)) {
31273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31275 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31277 if (!SWIG_IsOK(res2
)) {
31278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31280 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 (arg1
)->SetControlBar(arg2
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 resultobj
= SWIG_Py_Void();
31294 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31295 PyObject
*resultobj
= 0;
31296 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31299 PyObject
*swig_obj
[1] ;
31301 if (!args
) SWIG_fail
;
31302 swig_obj
[0] = args
;
31303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31304 if (!SWIG_IsOK(res1
)) {
31305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31307 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 (arg1
)->Initialize();
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= SWIG_Py_Void();
31321 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31322 PyObject
*resultobj
= 0;
31323 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31326 PyObject
*swig_obj
[1] ;
31328 if (!args
) SWIG_fail
;
31329 swig_obj
[0] = args
;
31330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31331 if (!SWIG_IsOK(res1
)) {
31332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31334 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 (arg1
)->CreateCanvas();
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= SWIG_Py_Void();
31348 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31349 PyObject
*resultobj
= 0;
31350 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31353 PyObject
*swig_obj
[1] ;
31355 if (!args
) SWIG_fail
;
31356 swig_obj
[0] = args
;
31357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31358 if (!SWIG_IsOK(res1
)) {
31359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31361 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 (arg1
)->CreateControlBar();
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31368 resultobj
= SWIG_Py_Void();
31375 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31379 return SWIG_Py_Void();
31382 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31383 return SWIG_Python_InitShadowInstance(args
);
31386 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
= 0;
31388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31390 wxWindow
*arg3
= (wxWindow
*) 0 ;
31391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31395 long arg6
= (long) 0 ;
31396 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31397 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31398 wxPyPreviewControlBar
*result
= 0 ;
31409 bool temp7
= false ;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 PyObject
* obj2
= 0 ;
31413 PyObject
* obj3
= 0 ;
31414 PyObject
* obj4
= 0 ;
31415 PyObject
* obj5
= 0 ;
31416 PyObject
* obj6
= 0 ;
31417 char * kwnames
[] = {
31418 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31423 if (!SWIG_IsOK(res1
)) {
31424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31426 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31427 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31428 if (!SWIG_IsOK(ecode2
)) {
31429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31431 arg2
= static_cast< long >(val2
);
31432 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31433 if (!SWIG_IsOK(res3
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31436 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31450 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31451 if (!SWIG_IsOK(ecode6
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31454 arg6
= static_cast< long >(val6
);
31458 arg7
= wxString_in_helper(obj6
);
31459 if (arg7
== NULL
) SWIG_fail
;
31464 if (!wxPyCheckForApp()) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31467 wxPyEndAllowThreads(__tstate
);
31468 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31485 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
= 0;
31487 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31488 PyObject
*arg2
= (PyObject
*) 0 ;
31489 PyObject
*arg3
= (PyObject
*) 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 PyObject
* obj2
= 0 ;
31495 char * kwnames
[] = {
31496 (char *) "self",(char *) "self",(char *) "_class", NULL
31499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31501 if (!SWIG_IsOK(res1
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31504 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_Py_Void();
31520 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
= 0;
31522 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31523 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 char * kwnames
[] = {
31531 (char *) "self",(char *) "preview", NULL
31534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31536 if (!SWIG_IsOK(res1
)) {
31537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31539 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31541 if (!SWIG_IsOK(res2
)) {
31542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31544 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31547 (arg1
)->SetPrintPreview(arg2
);
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 resultobj
= SWIG_Py_Void();
31558 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31559 PyObject
*resultobj
= 0;
31560 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31563 PyObject
*swig_obj
[1] ;
31565 if (!args
) SWIG_fail
;
31566 swig_obj
[0] = args
;
31567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31568 if (!SWIG_IsOK(res1
)) {
31569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31571 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 (arg1
)->CreateButtons();
31575 wxPyEndAllowThreads(__tstate
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 resultobj
= SWIG_Py_Void();
31585 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
= 0;
31587 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31593 PyObject
* obj0
= 0 ;
31594 PyObject
* obj1
= 0 ;
31595 char * kwnames
[] = {
31596 (char *) "self",(char *) "zoom", NULL
31599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31601 if (!SWIG_IsOK(res1
)) {
31602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31604 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31606 if (!SWIG_IsOK(ecode2
)) {
31607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31609 arg2
= static_cast< int >(val2
);
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 (arg1
)->SetZoomControl(arg2
);
31613 wxPyEndAllowThreads(__tstate
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31616 resultobj
= SWIG_Py_Void();
31623 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31627 return SWIG_Py_Void();
31630 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31631 return SWIG_Python_InitShadowInstance(args
);
31634 static PyMethodDef SwigMethods
[] = {
31635 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31637 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31639 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31641 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31642 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31644 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31651 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31653 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31655 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31656 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31657 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31658 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31659 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31662 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31664 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31667 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31668 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31670 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31672 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31673 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31674 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31675 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31679 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31681 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31685 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31687 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31689 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31692 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31693 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31695 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31697 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31699 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31702 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31709 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31711 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31716 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31717 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31719 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31722 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31724 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31726 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31731 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31732 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31735 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31736 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31738 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31740 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31741 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31744 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31745 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31746 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31748 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31749 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31750 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31751 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31752 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31754 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31757 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31766 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31767 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31769 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31770 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31772 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31774 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31775 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31777 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31783 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31784 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31787 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31788 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31790 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31792 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31794 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31796 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31798 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31800 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31801 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31804 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31805 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31806 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31807 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31808 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31809 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31811 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31819 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31821 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31824 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31825 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31828 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31829 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31831 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31832 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31833 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31836 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31838 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31840 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31842 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31845 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31847 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31849 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31851 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31853 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31854 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31855 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31858 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31860 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31861 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31862 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31864 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31866 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31867 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31871 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31872 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31873 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31874 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31878 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31879 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31881 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31884 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31885 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31887 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31890 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31891 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31892 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31895 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31896 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31897 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31899 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31908 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31909 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31910 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31911 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31913 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31914 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31917 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31918 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31920 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31923 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31924 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31925 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31928 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31929 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31931 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31932 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31934 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31939 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31940 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31946 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31947 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31949 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31953 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31955 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31956 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31957 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31958 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31960 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31961 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31962 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31964 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31966 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31967 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31969 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31970 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31971 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31972 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31973 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31974 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31979 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31980 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31982 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31983 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31984 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31987 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31988 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31991 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31992 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32000 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32001 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32002 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32003 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32004 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32005 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32006 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32007 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32008 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32009 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32012 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32013 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32014 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32016 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32017 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32019 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32020 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32022 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32024 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32025 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32027 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32028 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32030 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32031 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32032 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32033 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32034 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32036 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32037 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32038 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32039 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32040 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32041 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32049 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32051 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32052 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32053 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32056 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32057 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32061 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32062 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32063 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32065 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32066 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32067 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32068 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32072 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32073 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32075 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32076 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32077 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32078 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32082 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32083 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32085 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32087 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32090 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32092 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32094 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32095 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32096 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32097 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32098 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32099 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
32100 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32103 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32104 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32106 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32108 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32109 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32110 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32112 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32114 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32115 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32117 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32125 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32126 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32127 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32128 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32129 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32130 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32131 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32132 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32133 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32135 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32143 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32144 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32145 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32146 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32147 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32148 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32149 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32150 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32151 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32153 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32161 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32162 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32163 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32164 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32165 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32166 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32167 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32168 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32169 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32170 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32171 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32172 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32173 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32174 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32175 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32176 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32177 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32178 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32179 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32180 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32181 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32182 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32183 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32184 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32197 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32199 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32201 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32202 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32203 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32204 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32210 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32211 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32212 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32213 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32214 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32215 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32216 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32217 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32218 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32219 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32220 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32221 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32222 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32223 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32224 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32234 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32235 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32236 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32237 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32239 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32240 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32241 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32242 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32243 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32244 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32245 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32246 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32247 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32248 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32249 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32250 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32251 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32252 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32253 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32254 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32255 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32269 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32270 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32271 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32272 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32273 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32274 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32276 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32277 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32279 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32280 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32281 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32282 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32283 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32284 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32285 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32287 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32293 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32294 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32295 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32296 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32297 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32299 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32301 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32302 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32307 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32308 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32310 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32311 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32312 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32317 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32319 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32321 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32323 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32325 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32326 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32329 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32330 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32331 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32332 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32334 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32335 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32336 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32338 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32339 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32341 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32342 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32343 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32344 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32345 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32346 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32348 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32350 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32351 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32352 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32353 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32354 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32355 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32356 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32357 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32358 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32359 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32361 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32363 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32364 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32367 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32368 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32373 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32375 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32376 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32377 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32378 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32381 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32382 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32383 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32384 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32386 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32387 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32392 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32393 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32394 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32395 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32396 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32400 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32402 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32403 { NULL
, NULL
, 0, NULL
}
32407 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32409 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32410 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32412 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32413 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32415 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32416 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32418 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32419 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32421 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32422 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32424 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32425 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32427 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32428 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32430 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32431 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32433 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32434 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32436 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32439 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32440 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32442 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32445 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32446 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32448 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32449 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32451 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32452 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32454 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32455 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32457 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32460 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32461 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32463 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32464 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32466 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32467 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32469 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32470 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32472 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32473 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32475 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32476 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32478 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32479 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32481 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32482 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32484 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32485 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32487 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32490 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32493 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32494 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32496 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32497 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32499 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32500 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32502 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32503 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32505 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32506 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32508 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32509 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32511 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32512 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32514 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32517 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32518 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32520 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32521 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32523 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32524 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32526 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32527 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32529 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32532 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32533 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32535 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32536 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32538 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32539 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32541 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32542 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32544 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32545 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32547 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32548 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32550 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32553 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32556 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32559 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32560 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32562 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32563 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32565 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32566 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32568 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32569 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32571 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32574 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32577 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32580 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32583 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32586 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32589 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32592 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32595 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32598 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32599 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32601 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32602 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32604 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32607 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32610 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32613 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32614 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32616 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32619 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32620 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32622 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32623 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32625 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32626 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32628 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32629 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32631 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32634 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32637 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32638 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32640 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32643 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32644 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32646 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32649 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32652 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32655 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32656 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32658 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32661 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32662 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32664 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32667 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32670 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32673 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32676 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32679 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32680 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32682 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32685 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32688 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32691 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32694 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32697 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32700 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32701 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32703 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32704 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32706 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32707 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32709 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32710 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32712 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32713 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32715 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32716 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32718 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32719 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32721 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32722 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32724 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32727 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32730 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32733 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32736 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32739 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32742 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32745 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32748 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32751 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32754 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) ((wxSizer
*) x
));
32757 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32760 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32763 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32766 static void *_p_wxEventTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) ((wxEvent
*) x
));
32769 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) ((wxFontData
*) x
));
32772 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32775 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32778 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32781 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32784 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32787 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32790 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32793 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32796 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32799 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32802 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32805 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32808 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32811 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32814 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32817 static void *_p_wxControlTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32820 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32823 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32826 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32829 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32832 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32835 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32838 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) ((wxColourData
*) x
));
32841 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32844 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32847 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32850 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32853 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32856 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32859 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32862 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32865 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32868 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32871 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32874 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32877 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32880 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32883 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32886 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32889 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32892 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32895 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32898 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32899 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32901 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32902 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32904 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32905 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32907 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32908 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32910 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32911 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32913 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32914 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32916 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32919 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32922 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32925 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32928 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32931 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32934 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32937 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32940 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32943 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32946 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32949 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32952 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32955 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32958 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32961 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32964 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32967 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32970 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32973 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32976 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32979 static void *_p_wxImageTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) ((wxImage
*) x
));
32982 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32985 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32988 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32991 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32994 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32997 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33000 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33003 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33006 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33009 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33012 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33015 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33018 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33021 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33024 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33027 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33030 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33033 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33036 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33039 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33042 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33045 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33048 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33051 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33054 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33057 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33060 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33063 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33066 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33069 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33072 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33075 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33078 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33081 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33084 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33087 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33090 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33093 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33096 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33099 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33102 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33105 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33108 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33111 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33114 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33117 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33120 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33123 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33126 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33129 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33132 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33135 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33138 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33141 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33142 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33144 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33145 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33147 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33148 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33150 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33151 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33153 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33154 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33156 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33157 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33159 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33160 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33162 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33163 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33165 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33166 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33168 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33169 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33171 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33172 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33174 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33175 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33177 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33178 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33180 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33181 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33183 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33184 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33186 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33187 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33189 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33190 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33192 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33193 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33195 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33196 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33198 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33199 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33201 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33202 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33204 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33205 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33207 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33208 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33210 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33211 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33213 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33214 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33216 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33217 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33219 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33222 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33223 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33225 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33226 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33228 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33229 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33231 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33232 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33234 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33235 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33237 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33240 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33241 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33243 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33244 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33246 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33249 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33252 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33255 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33258 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33259 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33261 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33262 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33264 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33265 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33267 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33268 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33270 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33271 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33273 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33274 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33276 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33277 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33279 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33280 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33282 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33283 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33285 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33286 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33288 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33289 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33291 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33292 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33294 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33295 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33297 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33298 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33300 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33301 return (void *)((wxWindow
*) ((wxControl
*) x
));
33303 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33306 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33309 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33310 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33312 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33313 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33315 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33316 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33318 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33319 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33321 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33322 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33324 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33325 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33327 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33328 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33330 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33331 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33333 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33334 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33336 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33337 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33339 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33340 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33342 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33343 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33345 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33346 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33348 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33349 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33351 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33352 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33354 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33355 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33357 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33358 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33360 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33361 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33363 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33364 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33366 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33367 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33369 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33370 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33372 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33373 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33375 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33376 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33378 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33379 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33381 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33382 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33384 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33385 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33387 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33388 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33390 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33391 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33393 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33394 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33396 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33397 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33399 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33400 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33402 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33403 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33405 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33406 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33408 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33409 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33411 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33412 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33414 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33415 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33417 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33418 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33420 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33421 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33423 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33424 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33426 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33427 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33429 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33430 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33432 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33433 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33435 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33436 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33438 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33439 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33441 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33442 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33444 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33445 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33447 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33448 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33450 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33451 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33453 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33454 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33456 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33457 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33459 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33460 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33462 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33463 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33464 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};
33465 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33477 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33478 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33479 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33480 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33481 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33482 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33483 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33484 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33485 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33486 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33487 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33488 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33489 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33490 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33491 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33492 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33493 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33494 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33495 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33496 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33497 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33498 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33499 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33500 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33501 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33502 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33503 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33504 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33505 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33506 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33507 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33508 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33509 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33510 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33511 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33512 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33513 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33514 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33515 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33516 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33517 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33518 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33519 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33520 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33521 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33522 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33523 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33524 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33525 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33526 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33527 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33528 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33529 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33530 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33531 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33533 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33534 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33547 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33548 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33549 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33550 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33551 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33552 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33553 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33554 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33555 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33556 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33557 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33558 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33559 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33560 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33561 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33562 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33563 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33564 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33565 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33566 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33567 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33568 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33569 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33570 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33571 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33572 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33573 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33574 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33575 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33576 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33577 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33578 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33579 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33580 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33581 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33582 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33583 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33584 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33585 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33586 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33587 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33588 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33589 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33590 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33591 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33592 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33593 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33594 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33595 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33596 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33597 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33598 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33599 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33600 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33601 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33602 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33603 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33604 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33605 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33606 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33607 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33608 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33609 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33610 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33611 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33612 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33613 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33614 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33615 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33616 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33617 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33618 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33619 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33620 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33621 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33622 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33623 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33624 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33625 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33626 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33628 static swig_type_info
*swig_type_initial
[] = {
33631 &_swigt__p_form_ops_t
,
33633 &_swigt__p_unsigned_char
,
33634 &_swigt__p_unsigned_int
,
33635 &_swigt__p_unsigned_long
,
33636 &_swigt__p_wxANIHandler
,
33637 &_swigt__p_wxAcceleratorTable
,
33638 &_swigt__p_wxActivateEvent
,
33639 &_swigt__p_wxArrayInt
,
33640 &_swigt__p_wxBMPHandler
,
33641 &_swigt__p_wxBitmap
,
33642 &_swigt__p_wxBoxSizer
,
33643 &_swigt__p_wxCURHandler
,
33644 &_swigt__p_wxCalculateLayoutEvent
,
33645 &_swigt__p_wxChildFocusEvent
,
33646 &_swigt__p_wxClipboardTextEvent
,
33647 &_swigt__p_wxCloseEvent
,
33648 &_swigt__p_wxColour
,
33649 &_swigt__p_wxColourData
,
33650 &_swigt__p_wxColourDialog
,
33651 &_swigt__p_wxCommandEvent
,
33652 &_swigt__p_wxContextMenuEvent
,
33653 &_swigt__p_wxControl
,
33654 &_swigt__p_wxControlWithItems
,
33656 &_swigt__p_wxDateEvent
,
33657 &_swigt__p_wxDialog
,
33658 &_swigt__p_wxDirDialog
,
33659 &_swigt__p_wxDisplayChangedEvent
,
33660 &_swigt__p_wxDropFilesEvent
,
33661 &_swigt__p_wxDuplexMode
,
33662 &_swigt__p_wxEraseEvent
,
33663 &_swigt__p_wxEvent
,
33664 &_swigt__p_wxEvtHandler
,
33665 &_swigt__p_wxFSFile
,
33666 &_swigt__p_wxFileDialog
,
33667 &_swigt__p_wxFileSystem
,
33668 &_swigt__p_wxFindDialogEvent
,
33669 &_swigt__p_wxFindReplaceData
,
33670 &_swigt__p_wxFindReplaceDialog
,
33671 &_swigt__p_wxFlexGridSizer
,
33672 &_swigt__p_wxFocusEvent
,
33674 &_swigt__p_wxFontData
,
33675 &_swigt__p_wxFontDialog
,
33676 &_swigt__p_wxFrame
,
33677 &_swigt__p_wxGBSizerItem
,
33678 &_swigt__p_wxGIFHandler
,
33679 &_swigt__p_wxGridBagSizer
,
33680 &_swigt__p_wxGridSizer
,
33681 &_swigt__p_wxHtmlLinkInfo
,
33682 &_swigt__p_wxICOHandler
,
33684 &_swigt__p_wxIconBundle
,
33685 &_swigt__p_wxIconizeEvent
,
33686 &_swigt__p_wxIdleEvent
,
33687 &_swigt__p_wxImage
,
33688 &_swigt__p_wxImageHandler
,
33689 &_swigt__p_wxIndividualLayoutConstraint
,
33690 &_swigt__p_wxInitDialogEvent
,
33691 &_swigt__p_wxJPEGHandler
,
33692 &_swigt__p_wxKeyEvent
,
33693 &_swigt__p_wxLayoutAlgorithm
,
33694 &_swigt__p_wxLayoutConstraints
,
33695 &_swigt__p_wxMDIChildFrame
,
33696 &_swigt__p_wxMDIClientWindow
,
33697 &_swigt__p_wxMDIParentFrame
,
33698 &_swigt__p_wxMaximizeEvent
,
33700 &_swigt__p_wxMenuBar
,
33701 &_swigt__p_wxMenuEvent
,
33702 &_swigt__p_wxMenuItem
,
33703 &_swigt__p_wxMessageDialog
,
33704 &_swigt__p_wxMiniFrame
,
33705 &_swigt__p_wxMouseCaptureChangedEvent
,
33706 &_swigt__p_wxMouseCaptureLostEvent
,
33707 &_swigt__p_wxMouseEvent
,
33708 &_swigt__p_wxMoveEvent
,
33709 &_swigt__p_wxMultiChoiceDialog
,
33710 &_swigt__p_wxNavigationKeyEvent
,
33711 &_swigt__p_wxNcPaintEvent
,
33712 &_swigt__p_wxNotifyEvent
,
33713 &_swigt__p_wxNumberEntryDialog
,
33714 &_swigt__p_wxObject
,
33715 &_swigt__p_wxPCXHandler
,
33716 &_swigt__p_wxPNGHandler
,
33717 &_swigt__p_wxPNMHandler
,
33718 &_swigt__p_wxPageSetupDialog
,
33719 &_swigt__p_wxPageSetupDialogData
,
33720 &_swigt__p_wxPaintEvent
,
33721 &_swigt__p_wxPaletteChangedEvent
,
33722 &_swigt__p_wxPanel
,
33723 &_swigt__p_wxPaperSize
,
33724 &_swigt__p_wxPasswordEntryDialog
,
33725 &_swigt__p_wxPoint
,
33726 &_swigt__p_wxPopupWindow
,
33727 &_swigt__p_wxPreviewCanvas
,
33728 &_swigt__p_wxPreviewControlBar
,
33729 &_swigt__p_wxPreviewFrame
,
33730 &_swigt__p_wxPrintData
,
33731 &_swigt__p_wxPrintDialog
,
33732 &_swigt__p_wxPrintDialogData
,
33733 &_swigt__p_wxPrintPreview
,
33734 &_swigt__p_wxPrinter
,
33735 &_swigt__p_wxProgressDialog
,
33736 &_swigt__p_wxPyApp
,
33737 &_swigt__p_wxPyCommandEvent
,
33738 &_swigt__p_wxPyEvent
,
33739 &_swigt__p_wxPyHtmlListBox
,
33740 &_swigt__p_wxPyImageHandler
,
33741 &_swigt__p_wxPyPanel
,
33742 &_swigt__p_wxPyPopupTransientWindow
,
33743 &_swigt__p_wxPyPreviewControlBar
,
33744 &_swigt__p_wxPyPreviewFrame
,
33745 &_swigt__p_wxPyPrintPreview
,
33746 &_swigt__p_wxPyPrintout
,
33747 &_swigt__p_wxPyScrolledWindow
,
33748 &_swigt__p_wxPySizer
,
33749 &_swigt__p_wxPyTaskBarIcon
,
33750 &_swigt__p_wxPyVListBox
,
33751 &_swigt__p_wxPyVScrolledWindow
,
33752 &_swigt__p_wxPyValidator
,
33753 &_swigt__p_wxPyWindow
,
33754 &_swigt__p_wxQueryLayoutInfoEvent
,
33755 &_swigt__p_wxQueryNewPaletteEvent
,
33757 &_swigt__p_wxRegion
,
33758 &_swigt__p_wxSashEvent
,
33759 &_swigt__p_wxSashLayoutWindow
,
33760 &_swigt__p_wxSashWindow
,
33761 &_swigt__p_wxScrollEvent
,
33762 &_swigt__p_wxScrollWinEvent
,
33763 &_swigt__p_wxScrolledWindow
,
33764 &_swigt__p_wxSetCursorEvent
,
33765 &_swigt__p_wxShowEvent
,
33766 &_swigt__p_wxSingleChoiceDialog
,
33768 &_swigt__p_wxSizeEvent
,
33769 &_swigt__p_wxSizer
,
33770 &_swigt__p_wxSizerItem
,
33771 &_swigt__p_wxSplashScreen
,
33772 &_swigt__p_wxSplashScreenWindow
,
33773 &_swigt__p_wxSplitterEvent
,
33774 &_swigt__p_wxSplitterWindow
,
33775 &_swigt__p_wxStaticBoxSizer
,
33776 &_swigt__p_wxStatusBar
,
33777 &_swigt__p_wxStdDialogButtonSizer
,
33778 &_swigt__p_wxString
,
33779 &_swigt__p_wxSysColourChangedEvent
,
33780 &_swigt__p_wxTIFFHandler
,
33781 &_swigt__p_wxTaskBarIcon
,
33782 &_swigt__p_wxTaskBarIconEvent
,
33783 &_swigt__p_wxTextEntryDialog
,
33784 &_swigt__p_wxTipWindow
,
33785 &_swigt__p_wxToolBar
,
33786 &_swigt__p_wxTopLevelWindow
,
33787 &_swigt__p_wxUpdateUIEvent
,
33788 &_swigt__p_wxValidator
,
33789 &_swigt__p_wxVisualAttributes
,
33790 &_swigt__p_wxWindow
,
33791 &_swigt__p_wxWindowCreateEvent
,
33792 &_swigt__p_wxWindowDestroyEvent
,
33793 &_swigt__p_wxXPMHandler
,
33796 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33797 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33798 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33799 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33803 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33804 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33805 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33806 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33807 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33808 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33809 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33810 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33811 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33812 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33813 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33814 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33815 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33818 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}};
33819 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33820 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}};
33821 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33826 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33827 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33828 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33834 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33835 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33836 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33837 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33840 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33841 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33842 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33843 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33846 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33847 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33848 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33849 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}};
33850 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33851 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33852 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33853 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33854 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33855 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33856 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33857 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33858 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33859 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33860 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33861 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33862 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33863 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33864 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}};
33865 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33866 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33867 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33868 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33869 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33870 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33871 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33872 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33873 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33874 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33875 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33876 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33877 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}};
33878 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33887 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33888 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33890 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33891 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33893 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33894 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33895 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33896 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33897 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33898 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33899 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33900 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33901 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33902 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33903 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33904 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33905 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33906 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33907 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33908 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33909 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33910 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
33911 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33912 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33913 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33914 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}};
33915 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33916 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}};
33917 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}};
33918 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33919 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33920 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33921 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}};
33922 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33923 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33924 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33925 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33926 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}};
33927 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33928 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33929 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33930 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33931 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33932 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33933 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
33934 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
33935 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33936 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33937 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33938 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33939 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33940 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33941 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}};
33942 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33943 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}};
33944 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33945 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33946 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33947 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33948 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33949 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33950 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33951 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33952 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33954 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33955 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}};
33956 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33958 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}};
33959 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
33962 static swig_cast_info
*swig_cast_initial
[] = {
33965 _swigc__p_form_ops_t
,
33967 _swigc__p_unsigned_char
,
33968 _swigc__p_unsigned_int
,
33969 _swigc__p_unsigned_long
,
33970 _swigc__p_wxANIHandler
,
33971 _swigc__p_wxAcceleratorTable
,
33972 _swigc__p_wxActivateEvent
,
33973 _swigc__p_wxArrayInt
,
33974 _swigc__p_wxBMPHandler
,
33975 _swigc__p_wxBitmap
,
33976 _swigc__p_wxBoxSizer
,
33977 _swigc__p_wxCURHandler
,
33978 _swigc__p_wxCalculateLayoutEvent
,
33979 _swigc__p_wxChildFocusEvent
,
33980 _swigc__p_wxClipboardTextEvent
,
33981 _swigc__p_wxCloseEvent
,
33982 _swigc__p_wxColour
,
33983 _swigc__p_wxColourData
,
33984 _swigc__p_wxColourDialog
,
33985 _swigc__p_wxCommandEvent
,
33986 _swigc__p_wxContextMenuEvent
,
33987 _swigc__p_wxControl
,
33988 _swigc__p_wxControlWithItems
,
33990 _swigc__p_wxDateEvent
,
33991 _swigc__p_wxDialog
,
33992 _swigc__p_wxDirDialog
,
33993 _swigc__p_wxDisplayChangedEvent
,
33994 _swigc__p_wxDropFilesEvent
,
33995 _swigc__p_wxDuplexMode
,
33996 _swigc__p_wxEraseEvent
,
33998 _swigc__p_wxEvtHandler
,
33999 _swigc__p_wxFSFile
,
34000 _swigc__p_wxFileDialog
,
34001 _swigc__p_wxFileSystem
,
34002 _swigc__p_wxFindDialogEvent
,
34003 _swigc__p_wxFindReplaceData
,
34004 _swigc__p_wxFindReplaceDialog
,
34005 _swigc__p_wxFlexGridSizer
,
34006 _swigc__p_wxFocusEvent
,
34008 _swigc__p_wxFontData
,
34009 _swigc__p_wxFontDialog
,
34011 _swigc__p_wxGBSizerItem
,
34012 _swigc__p_wxGIFHandler
,
34013 _swigc__p_wxGridBagSizer
,
34014 _swigc__p_wxGridSizer
,
34015 _swigc__p_wxHtmlLinkInfo
,
34016 _swigc__p_wxICOHandler
,
34018 _swigc__p_wxIconBundle
,
34019 _swigc__p_wxIconizeEvent
,
34020 _swigc__p_wxIdleEvent
,
34022 _swigc__p_wxImageHandler
,
34023 _swigc__p_wxIndividualLayoutConstraint
,
34024 _swigc__p_wxInitDialogEvent
,
34025 _swigc__p_wxJPEGHandler
,
34026 _swigc__p_wxKeyEvent
,
34027 _swigc__p_wxLayoutAlgorithm
,
34028 _swigc__p_wxLayoutConstraints
,
34029 _swigc__p_wxMDIChildFrame
,
34030 _swigc__p_wxMDIClientWindow
,
34031 _swigc__p_wxMDIParentFrame
,
34032 _swigc__p_wxMaximizeEvent
,
34034 _swigc__p_wxMenuBar
,
34035 _swigc__p_wxMenuEvent
,
34036 _swigc__p_wxMenuItem
,
34037 _swigc__p_wxMessageDialog
,
34038 _swigc__p_wxMiniFrame
,
34039 _swigc__p_wxMouseCaptureChangedEvent
,
34040 _swigc__p_wxMouseCaptureLostEvent
,
34041 _swigc__p_wxMouseEvent
,
34042 _swigc__p_wxMoveEvent
,
34043 _swigc__p_wxMultiChoiceDialog
,
34044 _swigc__p_wxNavigationKeyEvent
,
34045 _swigc__p_wxNcPaintEvent
,
34046 _swigc__p_wxNotifyEvent
,
34047 _swigc__p_wxNumberEntryDialog
,
34048 _swigc__p_wxObject
,
34049 _swigc__p_wxPCXHandler
,
34050 _swigc__p_wxPNGHandler
,
34051 _swigc__p_wxPNMHandler
,
34052 _swigc__p_wxPageSetupDialog
,
34053 _swigc__p_wxPageSetupDialogData
,
34054 _swigc__p_wxPaintEvent
,
34055 _swigc__p_wxPaletteChangedEvent
,
34057 _swigc__p_wxPaperSize
,
34058 _swigc__p_wxPasswordEntryDialog
,
34060 _swigc__p_wxPopupWindow
,
34061 _swigc__p_wxPreviewCanvas
,
34062 _swigc__p_wxPreviewControlBar
,
34063 _swigc__p_wxPreviewFrame
,
34064 _swigc__p_wxPrintData
,
34065 _swigc__p_wxPrintDialog
,
34066 _swigc__p_wxPrintDialogData
,
34067 _swigc__p_wxPrintPreview
,
34068 _swigc__p_wxPrinter
,
34069 _swigc__p_wxProgressDialog
,
34071 _swigc__p_wxPyCommandEvent
,
34072 _swigc__p_wxPyEvent
,
34073 _swigc__p_wxPyHtmlListBox
,
34074 _swigc__p_wxPyImageHandler
,
34075 _swigc__p_wxPyPanel
,
34076 _swigc__p_wxPyPopupTransientWindow
,
34077 _swigc__p_wxPyPreviewControlBar
,
34078 _swigc__p_wxPyPreviewFrame
,
34079 _swigc__p_wxPyPrintPreview
,
34080 _swigc__p_wxPyPrintout
,
34081 _swigc__p_wxPyScrolledWindow
,
34082 _swigc__p_wxPySizer
,
34083 _swigc__p_wxPyTaskBarIcon
,
34084 _swigc__p_wxPyVListBox
,
34085 _swigc__p_wxPyVScrolledWindow
,
34086 _swigc__p_wxPyValidator
,
34087 _swigc__p_wxPyWindow
,
34088 _swigc__p_wxQueryLayoutInfoEvent
,
34089 _swigc__p_wxQueryNewPaletteEvent
,
34091 _swigc__p_wxRegion
,
34092 _swigc__p_wxSashEvent
,
34093 _swigc__p_wxSashLayoutWindow
,
34094 _swigc__p_wxSashWindow
,
34095 _swigc__p_wxScrollEvent
,
34096 _swigc__p_wxScrollWinEvent
,
34097 _swigc__p_wxScrolledWindow
,
34098 _swigc__p_wxSetCursorEvent
,
34099 _swigc__p_wxShowEvent
,
34100 _swigc__p_wxSingleChoiceDialog
,
34102 _swigc__p_wxSizeEvent
,
34104 _swigc__p_wxSizerItem
,
34105 _swigc__p_wxSplashScreen
,
34106 _swigc__p_wxSplashScreenWindow
,
34107 _swigc__p_wxSplitterEvent
,
34108 _swigc__p_wxSplitterWindow
,
34109 _swigc__p_wxStaticBoxSizer
,
34110 _swigc__p_wxStatusBar
,
34111 _swigc__p_wxStdDialogButtonSizer
,
34112 _swigc__p_wxString
,
34113 _swigc__p_wxSysColourChangedEvent
,
34114 _swigc__p_wxTIFFHandler
,
34115 _swigc__p_wxTaskBarIcon
,
34116 _swigc__p_wxTaskBarIconEvent
,
34117 _swigc__p_wxTextEntryDialog
,
34118 _swigc__p_wxTipWindow
,
34119 _swigc__p_wxToolBar
,
34120 _swigc__p_wxTopLevelWindow
,
34121 _swigc__p_wxUpdateUIEvent
,
34122 _swigc__p_wxValidator
,
34123 _swigc__p_wxVisualAttributes
,
34124 _swigc__p_wxWindow
,
34125 _swigc__p_wxWindowCreateEvent
,
34126 _swigc__p_wxWindowDestroyEvent
,
34127 _swigc__p_wxXPMHandler
,
34131 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34133 static swig_const_info swig_const_table
[] = {
34134 {0, 0, 0, 0.0, 0, 0}};
34139 /* -----------------------------------------------------------------------------
34140 * Type initialization:
34141 * This problem is tough by the requirement that no dynamic
34142 * memory is used. Also, since swig_type_info structures store pointers to
34143 * swig_cast_info structures and swig_cast_info structures store pointers back
34144 * to swig_type_info structures, we need some lookup code at initialization.
34145 * The idea is that swig generates all the structures that are needed.
34146 * The runtime then collects these partially filled structures.
34147 * The SWIG_InitializeModule function takes these initial arrays out of
34148 * swig_module, and does all the lookup, filling in the swig_module.types
34149 * array with the correct data and linking the correct swig_cast_info
34150 * structures together.
34152 * The generated swig_type_info structures are assigned staticly to an initial
34153 * array. We just loop though that array, and handle each type individually.
34154 * First we lookup if this type has been already loaded, and if so, use the
34155 * loaded structure instead of the generated one. Then we have to fill in the
34156 * cast linked list. The cast data is initially stored in something like a
34157 * two-dimensional array. Each row corresponds to a type (there are the same
34158 * number of rows as there are in the swig_type_initial array). Each entry in
34159 * a column is one of the swig_cast_info structures for that type.
34160 * The cast_initial array is actually an array of arrays, because each row has
34161 * a variable number of columns. So to actually build the cast linked list,
34162 * we find the array of casts associated with the type, and loop through it
34163 * adding the casts to the list. The one last trick we need to do is making
34164 * sure the type pointer in the swig_cast_info struct is correct.
34166 * First off, we lookup the cast->type name to see if it is already loaded.
34167 * There are three cases to handle:
34168 * 1) If the cast->type has already been loaded AND the type we are adding
34169 * casting info to has not been loaded (it is in this module), THEN we
34170 * replace the cast->type pointer with the type pointer that has already
34172 * 2) If BOTH types (the one we are adding casting info to, and the
34173 * cast->type) are loaded, THEN the cast info has already been loaded by
34174 * the previous module so we just ignore it.
34175 * 3) Finally, if cast->type has not already been loaded, then we add that
34176 * swig_cast_info to the linked list (because the cast->type) pointer will
34178 * ----------------------------------------------------------------------------- */
34188 #define SWIGRUNTIME_DEBUG
34192 SWIG_InitializeModule(void *clientdata
) {
34194 swig_module_info
*module_head
;
34195 static int init_run
= 0;
34197 clientdata
= clientdata
;
34199 if (init_run
) return;
34202 /* Initialize the swig_module */
34203 swig_module
.type_initial
= swig_type_initial
;
34204 swig_module
.cast_initial
= swig_cast_initial
;
34206 /* Try and load any already created modules */
34207 module_head
= SWIG_GetModule(clientdata
);
34209 swig_module
.next
= module_head
->next
;
34210 module_head
->next
= &swig_module
;
34212 /* This is the first module loaded */
34213 swig_module
.next
= &swig_module
;
34214 SWIG_SetModule(clientdata
, &swig_module
);
34217 /* Now work on filling in swig_module.types */
34218 #ifdef SWIGRUNTIME_DEBUG
34219 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34221 for (i
= 0; i
< swig_module
.size
; ++i
) {
34222 swig_type_info
*type
= 0;
34223 swig_type_info
*ret
;
34224 swig_cast_info
*cast
;
34226 #ifdef SWIGRUNTIME_DEBUG
34227 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34230 /* if there is another module already loaded */
34231 if (swig_module
.next
!= &swig_module
) {
34232 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34235 /* Overwrite clientdata field */
34236 #ifdef SWIGRUNTIME_DEBUG
34237 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34239 if (swig_module
.type_initial
[i
]->clientdata
) {
34240 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34241 #ifdef SWIGRUNTIME_DEBUG
34242 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34246 type
= swig_module
.type_initial
[i
];
34249 /* Insert casting types */
34250 cast
= swig_module
.cast_initial
[i
];
34251 while (cast
->type
) {
34252 /* Don't need to add information already in the list */
34254 #ifdef SWIGRUNTIME_DEBUG
34255 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34257 if (swig_module
.next
!= &swig_module
) {
34258 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34259 #ifdef SWIGRUNTIME_DEBUG
34260 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34264 if (type
== swig_module
.type_initial
[i
]) {
34265 #ifdef SWIGRUNTIME_DEBUG
34266 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34271 /* Check for casting already in the list */
34272 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34273 #ifdef SWIGRUNTIME_DEBUG
34274 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34276 if (!ocast
) ret
= 0;
34281 #ifdef SWIGRUNTIME_DEBUG
34282 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34285 type
->cast
->prev
= cast
;
34286 cast
->next
= type
->cast
;
34292 /* Set entry in modules->types array equal to the type */
34293 swig_module
.types
[i
] = type
;
34295 swig_module
.types
[i
] = 0;
34297 #ifdef SWIGRUNTIME_DEBUG
34298 printf("**** SWIG_InitializeModule: Cast List ******\n");
34299 for (i
= 0; i
< swig_module
.size
; ++i
) {
34301 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34302 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34303 while (cast
->type
) {
34304 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34308 printf("---- Total casts: %d\n",j
);
34310 printf("**** SWIG_InitializeModule: Cast List ******\n");
34314 /* This function will propagate the clientdata field of type to
34315 * any new swig_type_info structures that have been added into the list
34316 * of equivalent types. It is like calling
34317 * SWIG_TypeClientData(type, clientdata) a second time.
34320 SWIG_PropagateClientData(void) {
34322 swig_cast_info
*equiv
;
34323 static int init_run
= 0;
34325 if (init_run
) return;
34328 for (i
= 0; i
< swig_module
.size
; i
++) {
34329 if (swig_module
.types
[i
]->clientdata
) {
34330 equiv
= swig_module
.types
[i
]->cast
;
34332 if (!equiv
->converter
) {
34333 if (equiv
->type
&& !equiv
->type
->clientdata
)
34334 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34336 equiv
= equiv
->next
;
34356 /* Python-specific SWIG API */
34357 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34358 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34359 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34361 /* -----------------------------------------------------------------------------
34362 * global variable support code.
34363 * ----------------------------------------------------------------------------- */
34365 typedef struct swig_globalvar
{
34366 char *name
; /* Name of global variable */
34367 PyObject
*(*get_attr
)(void); /* Return the current value */
34368 int (*set_attr
)(PyObject
*); /* Set the value */
34369 struct swig_globalvar
*next
;
34372 typedef struct swig_varlinkobject
{
34374 swig_globalvar
*vars
;
34375 } swig_varlinkobject
;
34377 SWIGINTERN PyObject
*
34378 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34379 return PyString_FromString("<Swig global variables>");
34382 SWIGINTERN PyObject
*
34383 swig_varlink_str(swig_varlinkobject
*v
) {
34384 PyObject
*str
= PyString_FromString("(");
34385 swig_globalvar
*var
;
34386 for (var
= v
->vars
; var
; var
=var
->next
) {
34387 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34388 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34390 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34395 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34396 PyObject
*str
= swig_varlink_str(v
);
34397 fprintf(fp
,"Swig global variables ");
34398 fprintf(fp
,"%s\n", PyString_AsString(str
));
34404 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34405 swig_globalvar
*var
= v
->vars
;
34407 swig_globalvar
*n
= var
->next
;
34414 SWIGINTERN PyObject
*
34415 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34416 PyObject
*res
= NULL
;
34417 swig_globalvar
*var
= v
->vars
;
34419 if (strcmp(var
->name
,n
) == 0) {
34420 res
= (*var
->get_attr
)();
34425 if (res
== NULL
&& !PyErr_Occurred()) {
34426 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34432 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34434 swig_globalvar
*var
= v
->vars
;
34436 if (strcmp(var
->name
,n
) == 0) {
34437 res
= (*var
->set_attr
)(p
);
34442 if (res
== 1 && !PyErr_Occurred()) {
34443 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34448 SWIGINTERN PyTypeObject
*
34449 swig_varlink_type(void) {
34450 static char varlink__doc__
[] = "Swig var link object";
34451 static PyTypeObject varlink_type
;
34452 static int type_init
= 0;
34454 const PyTypeObject tmp
34456 PyObject_HEAD_INIT(NULL
)
34457 0, /* Number of items in variable part (ob_size) */
34458 (char *)"swigvarlink", /* Type name (tp_name) */
34459 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34460 0, /* Itemsize (tp_itemsize) */
34461 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34462 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34463 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34464 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34465 0, /* tp_compare */
34466 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34467 0, /* tp_as_number */
34468 0, /* tp_as_sequence */
34469 0, /* tp_as_mapping */
34472 (reprfunc
)swig_varlink_str
, /* tp_str */
34473 0, /* tp_getattro */
34474 0, /* tp_setattro */
34475 0, /* tp_as_buffer */
34477 varlink__doc__
, /* tp_doc */
34478 0, /* tp_traverse */
34480 0, /* tp_richcompare */
34481 0, /* tp_weaklistoffset */
34482 #if PY_VERSION_HEX >= 0x02020000
34483 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34485 #if PY_VERSION_HEX >= 0x02030000
34488 #ifdef COUNT_ALLOCS
34489 0,0,0,0 /* tp_alloc -> tp_next */
34492 varlink_type
= tmp
;
34493 varlink_type
.ob_type
= &PyType_Type
;
34496 return &varlink_type
;
34499 /* Create a variable linking object for use later */
34500 SWIGINTERN PyObject
*
34501 SWIG_Python_newvarlink(void) {
34502 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34506 return ((PyObject
*) result
);
34510 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34511 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34512 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34514 size_t size
= strlen(name
)+1;
34515 gv
->name
= (char *)malloc(size
);
34517 strncpy(gv
->name
,name
,size
);
34518 gv
->get_attr
= get_attr
;
34519 gv
->set_attr
= set_attr
;
34520 gv
->next
= v
->vars
;
34526 SWIGINTERN PyObject
*
34528 static PyObject
*_SWIG_globals
= 0;
34529 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34530 return _SWIG_globals
;
34533 /* -----------------------------------------------------------------------------
34534 * constants/methods manipulation
34535 * ----------------------------------------------------------------------------- */
34537 /* Install Constants */
34539 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34542 for (i
= 0; constants
[i
].type
; ++i
) {
34543 switch(constants
[i
].type
) {
34544 case SWIG_PY_POINTER
:
34545 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34547 case SWIG_PY_BINARY
:
34548 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34555 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34561 /* -----------------------------------------------------------------------------*/
34562 /* Fix SwigMethods to carry the callback ptrs when needed */
34563 /* -----------------------------------------------------------------------------*/
34566 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34567 swig_const_info
*const_table
,
34568 swig_type_info
**types
,
34569 swig_type_info
**types_initial
) {
34571 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34572 const char *c
= methods
[i
].ml_doc
;
34573 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34575 swig_const_info
*ci
= 0;
34576 const char *name
= c
+ 10;
34577 for (j
= 0; const_table
[j
].type
; ++j
) {
34578 if (strncmp(const_table
[j
].name
, name
,
34579 strlen(const_table
[j
].name
)) == 0) {
34580 ci
= &(const_table
[j
]);
34585 size_t shift
= (ci
->ptype
) - types
;
34586 swig_type_info
*ty
= types_initial
[shift
];
34587 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34588 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34589 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34592 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34594 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34596 strncpy(buff
, "swig_ptr: ", 10);
34598 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34599 methods
[i
].ml_doc
= ndoc
;
34611 /* -----------------------------------------------------------------------------*
34612 * Partial Init method
34613 * -----------------------------------------------------------------------------*/
34618 SWIGEXPORT
void SWIG_init(void) {
34621 /* Fix SwigMethods to carry the callback ptrs when needed */
34622 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34624 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34625 d
= PyModule_GetDict(m
);
34627 SWIG_InitializeModule(0);
34628 SWIG_InstallConstants(d
,swig_const_table
);
34631 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34632 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34633 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34634 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34635 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34636 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34637 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34638 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34639 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34640 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34641 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34642 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34643 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34644 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34645 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34646 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34647 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34648 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34649 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34650 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34651 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34652 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34653 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34654 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34655 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34656 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34657 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34658 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34659 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34660 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34661 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34662 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34663 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34664 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34665 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34666 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34667 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34668 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34669 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34670 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34671 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34672 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34673 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34674 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34675 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34676 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34677 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34678 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34679 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34680 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34681 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34682 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34683 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34684 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34685 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34686 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34687 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34688 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34689 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34690 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34691 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34692 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34693 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34694 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34695 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34696 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34697 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34698 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34699 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34700 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34701 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34702 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34703 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34704 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34705 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34706 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34707 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34708 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34709 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34710 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34711 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34712 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34713 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34714 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34715 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34716 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34717 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34718 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34719 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34720 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34721 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34722 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34723 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34724 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34725 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34726 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34727 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34728 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34729 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34730 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34731 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34732 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34733 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34734 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34735 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34737 // Map renamed classes back to their common name for OOR
34738 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34739 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34740 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34742 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34743 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34744 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34745 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34746 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34747 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34748 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34749 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34750 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34751 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34752 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34753 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34754 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34755 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34756 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34757 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34758 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34759 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34760 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34761 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34762 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34763 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34764 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34765 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34766 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34767 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34768 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34769 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34770 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34771 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34772 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34773 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34774 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34775 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34776 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34777 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34778 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34779 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34780 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34781 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34782 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34783 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34784 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34785 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34786 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34787 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34788 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34789 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34790 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34791 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34792 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34793 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34794 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34795 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34796 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34797 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34798 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34799 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34800 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34801 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34802 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34803 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34804 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34805 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34806 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34807 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34808 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34809 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34810 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34811 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34812 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34813 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34814 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34815 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34816 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34817 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34818 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34819 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34820 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34821 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34822 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34823 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34824 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34825 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34826 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34827 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34828 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34829 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34830 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34831 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34832 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34833 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34834 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34835 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34836 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34837 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34838 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34839 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34840 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34841 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34842 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34843 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34844 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34845 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34847 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");